Skip to content

Commit

Permalink
Merge pull request #13 from lrennels/mcs
Browse files Browse the repository at this point in the history
Update run_sim sim kywargs
  • Loading branch information
davidanthoff authored Mar 28, 2019
2 parents cc94749 + 51d5224 commit 838f656
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/montecarlo/run_fund_mcs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function run_fund_mcs(trials = 10000; ntimesteps = MimiFUND.default_nsteps + 1,

# Run monte carlo trials
set_models!(mcs, getfund())
run_sim(mcs, trials; ntimesteps = ntimesteps, output_dir = "$output_dir/results")
run_sim(mcs; ntimesteps = ntimesteps, output_dir = "$output_dir/results")

return nothing
end
3 changes: 2 additions & 1 deletion src/montecarlo/run_fund_scc_mcs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ function run_fund_scc_mcs(trials = 10000; years = [2020], rates = [0.03], ntimes
end

# Run monte carlo trials
run_sim(mcs, trials, 2;
run_sim(mcs;
models_to_run = 2,
ntimesteps = ntimesteps,
output_dir = "$output_dir/results",
scenario_args = scenario_args,
Expand Down

0 comments on commit 838f656

Please sign in to comment.