Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
The component m is declared multiple times in Modelica.Electrical.QuasiStatic.Polyphase.Sources.FrequencySweepVoltageSource, but they are not identical.
Locally:
parameter Integer m=3 "Number of phases" annotation(Evaluate=true);
Inherited from Modelica.Electrical.QuasiStatic.Polyphase.Interfaces.TwoPlug which inherits it from Modelica.Electrical.QuasiStatic.Polyphase.Interfaces.TwoPlugElementary:
parameter Integer m(min=1) = 3 "Number of phases" annotation(Evaluate=true);
The specification requires that duplicate components are identical (MLS 3.4,, 5.6.1.4).
Thanks @filip-stenstrom for ponting this out.
The same issue can be found in Modelica.Electrical.QuasiStatic.Polyphase.Sources.FrequencySweepCurrentSource.
Both fixed with PR #4022
The component
m
is declared multiple times inModelica.Electrical.QuasiStatic.Polyphase.Sources.FrequencySweepVoltageSource
, but they are not identical.Locally:
Inherited from
Modelica.Electrical.QuasiStatic.Polyphase.Interfaces.TwoPlug
which inherits it fromModelica.Electrical.QuasiStatic.Polyphase.Interfaces.TwoPlugElementary
:The specification requires that duplicate components are identical (MLS 3.4,, 5.6.1.4).