stepSimulation {simplace}R Documentation

Run simulation stepwise

Description

Performs count steps of the simulation and returns the values from the actual variable map. Can be called consecutively.

Usage

stepSimulation(
  simplace,
  count = 1,
  filter = NULL,
  parameterList = NULL,
  simulationNumber = 1
)

Arguments

simplace

handle to the SimplaceWrapper object returned by initSimplace

count

number of steps to be performed

filter

vector of the variable names to be included in the result. If not set, all variables are returned

parameterList

list of parameter values indexed by parameter name

simulationNumber

number of simulation in the queue that should be run stepwise (default first simulation)

Value

handle to the data container which has to be processed afterwards

Examples

## Not run: 
simplace <- initSimplace(SimplaceInstallationDir,SimplaceWorkDir,SimplaceOutputDir)
openProject(simplace, Solution)
createSimulation(simplace)
vm <- stepSimulation(simplace,count=22)
vm_s <- stepSimulation(simplace,filter=c("CURRENT.DATE","LintulBiomass.sWSO"),count=18)
closeProject(simplace)   
## End(Not run)


[Package simplace version 5.0.13 Index]