NREL / SOEP-QSS-Test

0 stars 1 forks source link

Retrieve declared type of a variable from FMU/PyFMI is not working #5

Open DeadParrot opened 3 years ago

DeadParrot commented 3 years ago

The option of variable type and unit header lines in QSS signal outputs and PyFMI outputs generated from our run_PyFMI.py script is being developed (for plot labeling) and the PyFMI API for getting the declared type of variables isn't working: Python calls like fmu.get_variable_declared_type(var) return that the variable has no declared type.

DeadParrot commented 3 years ago

Versions

The issue was observed with these component versions (may occur with others):

Component Version Date
OCT OCT-r23206_JM-r14295 2021/05

Build

Build the FMU with bld from the OCT directory as described in the Status page.

Run

Run the models with PyFMI from a console configured as described in the Status page.

PyFMI: Use run under the model OCT directories to generate the CVode simulation.

DeadParrot commented 2 years ago

As this is non-critical I am putting it into the Future Milestone.