- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-07-22 10:29:09+12:00
- Desc:
- Add more simulation results
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/8af/rawfile/21ad33544ac0fae88d08bdff06d9489ffe1b8c98/Simulation/src/runSim.ps1
## Run OpenCOR simulation using Python shell in PowerShell:
# If this script cannot be loaded, type "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process" in the PowerShell terminal
# The OpenCOR installation folder path
$dpath= 'C:/Users/wai484/Documents/OpenCOR'
# The simulation Python script directory where the script is present
$mpath='C:/Users/wai484/Documents/ECC_MSK_Rios_1993/Simulation/src'
# The simulation Python script
$mfile='simFig4.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile
# The simulation Python script
$mfile='simFig9.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile
# The simulation Python script
$mfile='simFig11_827.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile
# The simulation Python script
$mfile='simFig11_906.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile
# The simulation Python script
$mfile='simFig11_907.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile
# The simulation Python script
$mfile='simFig11_908.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile
# The simulation Python script
$mfile='simFig13.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile
# The simulation Python script
$mfile='simFig14.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile