|
|
@@ -192,7 +192,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 6,
|
|
|
+ "execution_count": 13,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
|
@@ -293,21 +293,29 @@
|
|
|
"metadata": {},
|
|
|
"source": [
|
|
|
"## Enact process\n",
|
|
|
- "Finally we enact the process, thereby generating the *~/results* model, which we subsequently plot."
|
|
|
+ "Finally we enact the process, thereby generating the *~/results* model."
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 8,
|
|
|
+ "execution_count": 14,
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
|
"process_execute(\"~/models/PM/to_DEVS\", {\"PM\": \"~/models/PM/example_PM\", \"DEVS library\": \"~/models/DEVS/PM_library\", \"Experiment\": \"~/models/Experiment/example_experiment\", \"result\": \"~/result\"}, {})"
|
|
|
]
|
|
|
},
|
|
|
+ {
|
|
|
+ "cell_type": "markdown",
|
|
|
+ "metadata": {},
|
|
|
+ "source": [
|
|
|
+ "Finally plot the simulation results, by reading out the value of the string model.\n",
|
|
|
+ "Using this information, we split it up and then forward it to matplotlib for plotting as a boxplot."
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 9,
|
|
|
+ "execution_count": 15,
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
|
@@ -328,20 +336,6 @@
|
|
|
"data = [[float(j) for j in i[1:]] for i in data]\n",
|
|
|
"plt.boxplot(data);"
|
|
|
]
|
|
|
- },
|
|
|
- {
|
|
|
- "cell_type": "code",
|
|
|
- "execution_count": null,
|
|
|
- "metadata": {},
|
|
|
- "outputs": [],
|
|
|
- "source": []
|
|
|
- },
|
|
|
- {
|
|
|
- "cell_type": "code",
|
|
|
- "execution_count": null,
|
|
|
- "metadata": {},
|
|
|
- "outputs": [],
|
|
|
- "source": []
|
|
|
}
|
|
|
],
|
|
|
"metadata": {
|