]> gerrit.simantics Code Review - simantics/sysdyn.git/blob
8bfd516fcd913680afcbea05928ae739e93f18eb
[simantics/sysdyn.git] /
1 >import "File"\r
2 >import "Simantics/Misc"\r
3 >import "Simantics/Testing"\r
4 >import "Simantics/Sysdyn"\r
5 >m = importModel $ (getSystemProperty "scl.test.path")  + "/../../../../../../../org.simantics.sysdyn.feature/rootFiles/sampleModels/Tourists Environments And Hotel Facilities.sysdyn"\r
6 >exp = fromJust $ possibleResourceChild m "Experiment"\r
7 >id = activateExperiment exp\r
8 >run id\r
9 >withinEpsilon (lastValue exp id "/Tourists") 2674.532 0.001\r
10 True