This sections describes the main functions and functionalities to translate models to Python and run them. If you need more detailed description about the translation and building process, please see the Structure of the PySD library section.
The model loading information can be found in Model loading and consists of the following functions:
Translates a Vensim file to Python and returns a
Translates a Xmile file to Python and returns a
Loads a translated Python file and returns a
The Model and Macro classes information ad public methods and attributes can be found in Python model class.
Implements functionalities to load a translated model and interact with it. The
Implements functionalities to load a translated macro and interact with it. Most of its core methods are also use by
Provided functions and stateful classes to integrate python models are described in Python functions and stateful objects.