Opened 4 years ago
Last modified 3 years ago
#6401 new defect
buildFMU with min, max values of variable
Reported by: | Owned by: | Lennart Ochel | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | FMI | Version: | 1.16.2 |
Keywords: | fmu | Cc: |
Description
I want to build an fmu with openmodelica, when i do that i run the buildModelFMU/translateModelFMU function. The problem is, that additional information of the model-variable are not included. For example:
parameter Real F_min = 0; parameter Real F_max = 1; parameter Real F(min=F_min, max=F_max);
If I look into the model_description.xml file the min/max-values are not included for the variable F. Is it possible to do that?
I want to load the fmu with the pyfmi package (from Python) and read out the bounds of every variable with the pyfmi function (get_variable_min/max).
best regards,
Lukas
Change History (3)
comment:1 by , 4 years ago
Milestone: | NeedsInput → 1.18.0 |
---|
comment:2 by , 4 years ago
Note:
See TracTickets
for help on using tickets.
Thank you for the implementation! It is working for the following case:
But it is not working for:
Is it possible to integrate parameter dependent bounds?
best regards,
Lukas