Learn R Programming

pysd2r (version 0.1.0)

set_time_values: Sets the initial time, final time, and timestep

Description

set_time_valuesl() sets the simulation times and DT

Usage

set_time_values(o, init, final, DT)

Arguments

o

is the ipysd S3 object

init

is the initial time

final

is the final time

DT

is the time step

Examples

Run this code
# 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