Location: Modeling the Recruitment and Synchronization of SMCs (Koenigsberger et al. 2004) @ eb9b6ae06871 / Simulation / src / runSim.ps1

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-06-15 11:08:09+12:00
Desc:
Include simFig3
Permanent Source URI:
https://models.cellml.org/workspace/874/rawfile/eb9b6ae068716f451953bd5900bcfdaa5761b0cf/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/RecruitmentSynchronization_SMCs/Simulation/src'
# The simulation Python script
$mfile='simFig3.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile
# The simulation Python script
$mfile='simFig2.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile
# The simulation Python script
$mfile='simFig2_1.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile
# The simulation Python script
$mfile='simFig2_2.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile
# The simulation Python script
$mfile='simFig2_3.py'
# Run the simulation script using Python shell
.$dpath/pythonshell.bat $mpath/$mfile