- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-07-28 12:05:55+12:00
- Desc:
- Fixed the link
- Permanent Source URI:
- https://models.cellml.org/workspace/8af/rawfile/1b1a07491a4d102536a3f7e25957ca2810d6ed76/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