#3951 closed defect (fixed)
Availability of displayUnits in the Component Parameter windows
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | OMEdit | Version: | v1.10.0-dev-nightly |
Keywords: | Cc: | Adrian Pop |
Description
Not for all units are the displayUnits with dimension avaiable.
E.g. in the model 'Modelica.Electrical.Analog.Examples.HeatingResistor' is for "Amplitude of sine wave" only "V" as unit avaiable.
type ElectricPotential = Real (final quantity="ElectricPotential", final unit="V");
An explicit definition of the displayUnit e.g. to "kV" does not change the available Unit in the Parameter window.
Furthermore the available displayUnits in the Component Parameter windows are not quantity sensitve. For example displayUnit "Bq" is show also for the following type:
type Frequency = Real (final quantity="Frequency", final unit="Hz");
In addition if the unit is unknown by the system and has the dimension [1] also [rad] and [sr] are available. E.g. in the example 'PowerSystems.Examples.Spot.AC3ph.Line' the
type Voltage = Real (final quantity="Voltage", unit="V/V");
Change History (4)
comment:1 by , 8 years ago
Priority: | high → critical |
---|
comment:2 by , 8 years ago
Cc: | added |
---|
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I believe this is already fixed now.
See #4031.