Export NeurEco Parametric Frequency Sweep model python#

By default, NeurEco saves Parametric Frequency Sweep models in its binary format .efnn.
A NeurEco neureco_embed_pfs 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 Parametric Frequency Sweep model (Build NeurEco Parametric Frequency Sweep 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