simplace: simplace: Interface to use the modelling framework 'SIMPLACE'

simplaceR Documentation

simplace: Interface to use the modelling framework 'SIMPLACE'

Description

Interface to interact with the modelling framework 'SIMPLACE' and to parse the results of simulations

Details

Package needs a Java Runtime Environment as well as an installation of 'SIMPLACE'. See www.simplace.net for more information about 'SIMPLACE'.

Author(s)

Gunther Krauss

References

www.simplace.net

See Also

Useful links:

Examples

  ## Not run: 
    SimplaceInstallationDir <- "D:/java/simplace/"
    
    SimplaceWorkDir <- "D:/java/simplace/simplace_run/simulation/"
    SimplaceOutputDir <-  "D:/java/simplace/simplace_run/output/"
    
    Solution <- "D:/java/simplace/simplace_run/simulation/gk/solution/complete/Complete.sol.xml"
    
    simplace <- initSimplace(SimplaceInstallationDir,SimplaceWorkDir,SimplaceOutputDir)
    
    openProject(simplace, Solution)
    
    parameter <- list()
    parameter$vTempLimit <- 32
    
    simid <- createSimulation(simplace,parameter)
    runSimulations(simplace)
    
    result <- getResult(simplace,"DIAGRAM_OUT", simid);
    
    closeProject(simplace)
    
    resultlist <- resultToList(result)
    resultframe <- resultToDataframe(result)
  
## End(Not run)


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