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

Examples

## Not run: 
for(i in 1:365)
{
  params <- list()
  params[[1]] <- list(iRain=0.0)
  params[[2]] <- list(iRain=2.0)
  setAllSimulationValue(simplace,params)
  stepAll(simplace)
}

## End(Not run)


[Package simplace version 4.3.1 Index]