powered by
set_time_valuesl() sets the simulation times and DT
set_time_valuesl()
set_time_values(o, init, final, DT)
is the ipysd S3 object
is the initial time
is the final time
is the time step
# NOT RUN { target <- system.file("models/vensim", "Population.mdl", package = "pysd2r") py <- pysd_connect() py <- read_vensim(py, target) set_time_values(py,0,10,0.5) # }
Run the code above in your browser using DataLab