modelica / ModelicaStandardLibrary

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.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
452 stars 165 forks source link

mBasic in functions in Modelica.Electrical.Polyphase.Functions #4402

Closed HansOlsson closed 16 hours ago

HansOlsson commented 2 months ago

The functions Modelica.Electrical.Polyphase.Functions.factorY2D and Modelica.Electrical.Polyphase.Functions.factorY2DC contain the line:

parameter Integer mBasic=integer(m/numberOfSymmetricBaseSystems(m));

why is it declared as parameter?

(Well, realized that I already made the PR; but might as well link them instead of just closing this.)