Export NeurEco Discrete Dynamic model python#

By default, NeurEco saves Discrete Dynamic models in its binary format .ernn.
A NeurEco embed license allows to export models to the FMU format. The Functional Mock-up Interface (or FMI) defines a standardized interface to be used in computer simulations to develop complex cyber-physical systems. More details are available at these pages: https://fmi-standard.org/, and https://en.wikipedia.org/wiki/Functional_Mock-up_Interface

build a Discrete Dynamic model (Build NeurEco Discrete Dynamic model with the Python API) or load an already saved one.

To export the model to the FMU format:

model.export_fmu(fmu_path)

exports a NeurEco model to FMU (Functional Mock-up Interface).

fmu_path

string, required, path where to save the fmu file.

return

int, export_status: 0 if export is successful, other value if not