Opened 9 years ago

Closed 8 years ago

Last modified 7 years ago

#3951 closed defect (fixed)

Availability of displayUnits in the Component Parameter windows

Reported by: dennis.hu@… 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 Francesco Casella, 8 years ago

Priority: highcritical

comment:2 by Adeel Asghar, 8 years ago

Cc: Adrian Pop added

comment:3 by Adeel Asghar, 8 years ago

Resolution: fixed
Status: newclosed

I believe this is already fixed now.
See #4031.

comment:4 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.