Skip to content

Commit

Permalink
reduce simulation number
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Aug 3, 2021
1 parent f5fef76 commit 2d0f716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solve_problem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function PSI.write_problem_results!(
model = problem.ext["mod"]
sim_dir = dirname(PSI.get_output_dir(problem))
sims =
SDDP.simulate(model, 2_500, [:pg, :rsv_up, :rsv_dn, :ACE⁺, :ACE⁻])
SDDP.simulate(model, 1_000, [:pg, :rsv_up, :rsv_dn, :ACE⁺, :ACE⁻])

path = joinpath(sim_dir, "results")
open(joinpath(path, "sddp_sol_$(step).json"), "w") do io
Expand Down

0 comments on commit 2d0f716

Please sign in to comment.