Skip to content

Commit

Permalink
Use one copy in parallel testing Notebook.
Browse files Browse the repository at this point in the history
Signed-off-by: pipeacosta <pipeacosta@gmail.com>
  • Loading branch information
pipeacosta committed Oct 8, 2024
1 parent 9c4ad3a commit df4c646
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions examples/Notebooks/Performance/WSCC_9bus_parallel.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"TOP=${TOP:-$(git rev-parse --show-toplevel)}\n",
"PATH=${TOP}/build/dpsim/examples/cxx\n",
"\n",
"WSCC_9bus_mult_coupled ${TOP}/examples/CIM/WSCC-09_RX/*.xml"
"echo ${TOP}\n",
"\n",
"WSCC_9bus_mult_coupled ${TOP}/examples/cxx/CIM/WSCC-09_RX/*.xml -o copies=1"
]
},
{
Expand All @@ -30,7 +32,7 @@
"TOP=${TOP:-$(git rev-parse --show-toplevel)}\n",
"PATH=${TOP}/build/dpsim/examples/cxx\n",
"\n",
"WSCC_9bus_mult_decoupled ${TOP}/examples/CIM/WSCC-09_RX/*.xml"
"WSCC_9bus_mult_decoupled ${TOP}/examples/CIM/WSCC-09_RX/*.xml -o copies=1"
]
},
{
Expand All @@ -43,7 +45,7 @@
"TOP=${TOP:-$(git rev-parse --show-toplevel)}\n",
"PATH=${TOP}/build/dpsim/examples/cxx\n",
"\n",
"WSCC_9bus_mult_diakoptics ${TOP}/examples/CIM/WSCC-09_RX/*.xml"
"WSCC_9bus_mult_diakoptics ${TOP}/examples/CIM/WSCC-09_RX/*.xml -o copies=1"
]
},
{
Expand Down Expand Up @@ -72,8 +74,8 @@
"metadata": {},
"outputs": [],
"source": [
"path = 'logs/WSCC_9bus_coupled/'\n",
"logName = 'WSCC_9bus_coupled'\n",
"path = 'logs/WSCC_9bus_coupled_1_0_0/'\n",
"logName = 'WSCC_9bus_coupled_1_0_0'\n",
"logFilename = path + logName + '.csv'\n",
"print(logFilename)\n",
"\n",
Expand All @@ -87,8 +89,8 @@
"metadata": {},
"outputs": [],
"source": [
"path = 'logs/WSCC_9bus_decoupled/'\n",
"logName = 'WSCC_9bus_decoupled'\n",
"path = 'logs/WSCC_9bus_decoupled_1_0_0/'\n",
"logName = 'WSCC_9bus_decoupled_1_0_0'\n",
"logFilename = path + logName + '.csv'\n",
"print(logFilename)\n",
"\n",
Expand All @@ -102,8 +104,8 @@
"metadata": {},
"outputs": [],
"source": [
"path = 'logs/WSCC_9bus_diakoptics/'\n",
"logName = 'WSCC_9bus_diakoptics'\n",
"path = 'logs/WSCC_9bus_diakoptics_1_0_0_0/'\n",
"logName = 'WSCC_9bus_diakoptics_1_0_0_0'\n",
"logFilename = path + logName + '.csv'\n",
"print(logFilename)\n",
"\n",
Expand Down Expand Up @@ -517,7 +519,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.5"
"version": "3.10.11"
},
"tests": {
"skip": true
Expand Down

0 comments on commit df4c646

Please sign in to comment.