Open tbeu opened 9 years ago
May be it is not the same, but in MSL 3.2.1 are also some parameter dependent annotations such as in Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort:
parameter Boolean useHeatPort = false; parameter Modelica.SIunits.Temperature T=293.15 annotation(Dialog(enable=not useHeatPort));
I do not see the functional problem, because the parameters must be constant during simulation, so they can theoretically set also the annotations for setting of Modelica environment before, during and after simulation.
However in this case, the visibility of volume in results can be pernament, it is not the key feature for user. ;)
OK, it may be a tool issue. Will check it.
We could not conclude if this is legal or not. At least it is currently not supported in SimulationX. See https://trac.modelica.org/Modelica/ticket/1672 for my question to the Modelica community.
I guess it is not legal to set parameter dependent annotation values like Physiolibrary.Chemical.Interfaces.ConditionalVolume.useNormalizedVolume.