reload_model {pysd2r}R Documentation

Reloads the model from original mdl file

Description

reload_model() Reloads the model

Usage

reload_model(o)

Arguments

o

is the ipysd S3 object

Value

ipysd object

Examples

## 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)
py<-reload_model(py)

## End(Not run)

[Package pysd2r version 0.1.0 Index]