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

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-07-13 14:51:02+12:00
Desc:
Add stimulation protocol
Permanent Source URI:
https://staging.physiomeproject.org/workspace/8af/rawfile/e27c5fa70019b9fa1373d903d28dd3f504d8b182/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