File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
pypesto/objective/roadrunner Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -205,10 +205,17 @@ def simulate_per_condition(
205205 parameter_mapping_per_condition ,
206206 preeq = True ,
207207 )
208+ roadrunner_instance .setSteadyStateSolver ("newton" )
208209 # allow simulation to reach steady state
209210 roadrunner_instance .getSteadyStateSolver ().setValue (
210211 "allow_presimulation" , True
211212 )
213+ roadrunner_instance .getSteadyStateSolver ().setValue (
214+ "presimulation_maximum_steps" , 1000
215+ )
216+ roadrunner_instance .getSteadyStateSolver ().setValue (
217+ "presimulation_time" , 1000
218+ )
212219 # steady state output = observables + state variables
213220 steady_state_selections = observables_ids + state_variables
214221 roadrunner_instance .steadyStateSelections = steady_state_selections
You can’t perform that action at this time.
0 commit comments