Termination and postprocessing
The function MShePy.wm.terminate() can be used to terminate the simulation. The user should provide as function input False if an error occurred during the simulation or True if no error occurred.
Postprocessing and the visualization of the results can be done in MIKE ZERO and MIKE VIEW. Results can also be exported using Python and handled in an external software.