#! python3 import mhrc.automation # Launch PSCAD pscad = mhrc.automation.launch_pscad() # Load the tutorial workspace pscad.load(r"C:\Users\Public\Documents\PSCAD\4.6.3\Examples x64\tutorial\Tutorial.pswx") # Run all the simulation sets in the workspace pscad.run_all_simulation_sets() # Exit PSCAD pscad.quit()