Initializing a MIKE SHE model
The MShePy module resides in the MIKE installation´s bin/x64 folder. This needs to be in your search path for python modules, e.g. by calling sys.path.append([MIKE installation]/bin/x64). Import the MShePy module by using the command import MShePy.
In order to initialize the MIKE SHE model, use the MShePy.wm.initialize(r”*.she”) function. The function argument is the path to the MIKE SHE model file. While a MIKE SHE model is initialized from a Python script, the model can be opened, but not run in MIKE ZERO.