EventSim/Usage Guide
< EventSim
- Run Eclipse (see above for installation instructions)
- Optionally create a Palladio example model
- Choose File -> New -> Project... -> Palladio Modeling -> New Palladio Project
- Enter a project name, press Next
- Choose Minimum Example Template, press Finish
- Establish connection to R via Rserve
- Run R (no Administrator prvileges required, opposed to the installation)
- In R, type
library(Rserve)
- In R, type
Rserve()
- In R, type
- Back in Eclipse, switch to the Palladio perspective (Window -> Perspective -> Open Perspective -> Other...)
- Open the tab Rserve Connection, which is located next to the Properties tab
- Press Connect
- Run R (no Administrator prvileges required, opposed to the installation)
- Run EventSim simulation
- Choose Run -> Run Configurations... and double click on SimuBench
- In the Architecture Model(s) tab, select your allocation and usage file, usually from Workspace...
- In the Simulation tab, select EventSim as simulator implementation
- In the Simulation tab, choose Rserve as Persistence Framework
- In the Rserve tab below, choose whether to export simulation results to an RDS file (otherwise results will only be available programmatically until Eclipse is closed)
- Remark: EventSim does not support EDP2 or SensorFramework but writes all simulation results directly into R.
- Press Run. Simulation results are stored into a RDS file
If EventSim has not been installed via Option 1 ("regular users"), perform the following step after Step 1 above ("Run Eclipse"):
- Start a new ("inner") Eclipse instance from your running ("outer") Eclipse. Provide the following VM arguments:
-Xmx768m
- Choose Run -> Run Configurations... and double click on Eclipse Application
- In the Main tab, make sure Java 8 is selected as Execution environment
- In the Arguments tab, make sure under VM arguments there is an argument
-Xmx768m
(or larger) - Press Run to launch the "inner" Eclipse. This compiles and deploys EventSim into the inner Eclipse.