View source: R/SimplaceWrapper.R
setSimulationValues | R Documentation |
Sets values of arbitrary SimVariables in a simplace simulation. Useful if you want to couple simplace with another simulation and interchange values daily.
setSimulationValues(simplace, parameterList = NULL, simulationNumber = 1)
simplace |
handle to the SimplaceWrapper object returned by |
parameterList |
a list with the parameter name as key and parametervalue as value |
simulationNumber |
number of simulation in the queue whose parameters should be set (default first simulation) |
No return value, called for the side effect of changing parameters in the current simulation
## Not run:
for(i in 1:365)
{
param <- list(vBaseLUE=3.0 + i/2000)
setSimulationValues(simplace,param)
stepSimulation(simplace)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.