Skip to content

Missing 'each' in Modelica.Electrical.QuasiStatic.Polyphase.Blocks.FromSymmetricalComponents #4684

@casella

Description

@casella

The Modelica.Electrical.QuasiStatic.Polyphase.Blocks.FromSymmetricalComponents contains two illegal displayUnit modifiers, missing the each prefix:

output SI.Angle arg_u[m](displayUnit="deg") = arg(u)
"Argument of input";
output Real abs_y[m] = abs(y) "Absolute of output";
output SI.Angle arg_y[m](displayUnit="deg") = arg(y)
"Argument of output";

This somehow escaped our testing, probably because the model was never used in an actual test model, otherwise OpenModelica would have caught it.

We should fix this on master and on 4.1.1.

Metadata

Metadata

Assignees

Labels

L: Electrical.QuasiStaticIssue addresses Modelica.Electrical.QuasiStaticbugCritical/severe issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions