## 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='simFig7.py' # Run the simulation script using Python shell .$dpath/pythonshell.bat $mpath/$mfile # The simulation Python script $mfile='simFig7_1.py' # Run the simulation script using Python shell .$dpath/pythonshell.bat $mpath/$mfile # The simulation Python script $mfile='simFig7_2.py' # Run the simulation script using Python shell .$dpath/pythonshell.bat $mpath/$mfile # The simulation Python script $mfile='simFig7_3.py' # Run the simulation script using Python shell .$dpath/pythonshell.bat $mpath/$mfile # The simulation Python script $mfile='simFig7E.py' # Run the simulation script using Python shell .$dpath/pythonshell.bat $mpath/$mfile # The simulation Python script $mfile='simFig7E_1.py' # Run the simulation script using Python shell .$dpath/pythonshell.bat $mpath/$mfile # The simulation Python script $mfile='simFig7E_2.py' # Run the simulation script using Python shell .$dpath/pythonshell.bat $mpath/$mfile # The simulation Python script $mfile='simFig7E_3.py' # Run the simulation script using Python shell .$dpath/pythonshell.bat $mpath/$mfile