powered by
get_timestep uses pysd to fetch the time step from the model
get_timestep
get_final_time(o)
is the ipysd S3 object
The finaltime
As it's a generic function, this call is dispatched to set_component.isdpy
# NOT RUN { target <- system.file("models/vensim", "Population.mdl", package = "pysd2r") py <- pysd_connect() py <- read_vensim(py, target) final_time <- get_final_time(py) # }
Run the code above in your browser using DataLab