setAllSimulationValues {simplace}R Documentation

Changes values of the all simulations in queue

Description

Sets values of arbitrary SimVariables in a simplace simulation. Useful if you want to couple simplace with another simulation and interchange values daily.

Usage

setAllSimulationValues(simplace, parameterLists = NULL)

Arguments

simplace

handle to the SimplaceWrapper object returned by initSimplace

parameterLists

a list of parameter lists for each simulation

Value

No return value, called for the side effect of changing parameters in all simulations

Examples

## Not run: 
for(i in 1:365)
{
  params <- list()
  params[[1]] <- list(vBaseLUE=3.0 + i/2000)
  params[[2]] <- list(vBaseLUE=3.0 - i/2000)
  setAllSimulationValues(simplace,params)
  stepAllSimulations(simplace)
}

## End(Not run)


[Package simplace version 5.0.13 Index]