Learn R Programming

simplace (version 5.1.2)

runSimulations: Run the created simulations

Description

Run the created simulations from the queue. If the queue is empty, the last created simulation will be run.

Usage

runSimulations(simplace, selectsimulation = FALSE)

Value

No return value, called for the side effect of running the simulation

Arguments

simplace

handle to the SimplaceWrapper object returned by initSimplace

selectsimulation

if true keeps a selected simulation

See Also

createSimulation, resetSimulationQueue

Examples

Run this code
if (FALSE) {
simplace <- initSimplace(SimplaceInstallationDir,SimplaceWorkDir,SimplaceOutputDir)
openProject(simplace, Solution)
parameters <- list()
parameters$vBaseLUE <- 3.0
s1 <- createSimulation(simplace, parameters,queue=TRUE)
parameters$vBaseLUE <- 3.2
s2 <- createSimulation(simplace, parameters,queue=TRUE)
runSimulations(simplace)
parameters$vBaseLUE <- 2.8
s3 <- createSimulation(simplace, parameters,queue=TRUE)
runSimulations(simplace)

closeProject(simplace)   }

Run the code above in your browser using DataLab