- de
- en

- SEARCH:

# Palladio Simulation

Companioning paper written by Frank Brüseke, Steffen Becker, Gregor Engels

## Licenses and Copyright

- The scripts and models on this website are made available under the regulations of the GNU Lesser General Public License LGPL
- The data sets, the resulting diagrams and tables, and also this website are made available under the regulations
  of the Creative Commons Attribution-ShareAlike 3.0 Unported License

## Prerequisites

- Install Palladio 3.2: http://sdqweb.ipd.kit.edu/wiki/PCM_3.2
- Start Palladio 3.2
- Create a Workspace-Directory "<WS-dir>"
- Download the Palladio-Models for the Palladio 3.2 workbench: [Zip]
- Unpack the Palladio-Models in <WS-dir>
- Be sure you know the path to your dedicated folder "<dataPath>", where you keep all example data and scripts

## Steps

### Run simulation

1. Import the project into your workspace:

- In the menu choose "File" => "Import ..."
- In the popup window choose "General" => "Existing Projects into Workspace" and click "Next"
- Select <WS-dir> in the field "Select root directory" and choose the project named "CoCoME3.2" in Projects field. Then click "Finish".

2. Start the simulation:

1. In the menu choose "Run" => "Run Configurations ..."
2. Add a new "SimuBench" entry
3. Specify the allocation model file from the workspace, use "/CoCoME3.2/CoCoME.allocation"
4. Specify the usage model file from the workspace, use "/CoCoME3.2/UC8_product_exchange.usagemodel"
5. Go to "SimuCom" tab of the run configuration
6. Set "Maximum simulation time" to 15000, and set "Maximum measurement count" to 1000
7. Select a Data source ("Browse button in picture"), either create a file data source (file-based storage in a sub-folder) for persistent measurement storage or use the memory data source.
8. Save your settings with the "Apply"-Button and hit "Run" to start the simulation

### Browse simulation results

1. Open the "PCM Results" perspective:

- In the menu click "Window" => "Open Perspective" => "Other ..."
- In the popup window choose "PCM Results" and click "OK"

2. Open the data source that you used for simulation, open the experiment with name "MyRun" (unless you changed the name above), open "Experiment Runs", finally pick the experiment you just started and open that too.
3. You will see a big list of sensor. Most of these do not contain any data these sensors are marked with the word "EMPTY". Scroll down until you find sensors that have data in them.
4. Double click on a sensor to display diagrams showing the measured values. (Note: R visualization will not work as you need to couple R with Palladio for that)
5. As a last step export the response time data series for all the non-empty sensors. For each sensor right-click on them and choose "Save as CSV". Then select a sub-folder of <dataPath> to save the data series. In the result analysis part we will reference the sub-folder as "<dataPath>/<palladioData>"

[top] [back]

Impressum | Webmaster | Geändert am / changed: 27.08.2014