runSimulations: Run the created simulations

View source: R/SimplaceWrapper.R

runSimulationsR Documentation

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)

Arguments

simplace

handle to the SimplaceWrapper object returned by initSimplace

selectsimulation

if true keeps a selected simulation

Value

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

See Also

createSimulation, resetSimulationQueue

Examples

## Not run: 
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)   
## End(Not run)

simplace documentation built on Aug. 24, 2023, 3:03 p.m.