Location: ECC_MSK (Rios et al. 1993) @ 0ce9b52f6ee1 / Simulation / src / runSim.ps1

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-07-13 15:31:24+12:00
Desc:
edit doc
Permanent Source URI:
https://staging.physiomeproject.org/workspace/8af/rawfile/0ce9b52f6ee1da6a7a998a2e1472074cae82f0b1/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.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile
# The simulation Python script
$mfile='simFig11_1.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