You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
outputReal MagRel(final quantity="Relative magnetization", final unit="1", start=0, min=-1, max=1)
A more suitable name would be "RelativeMagnetization".
Ideally, the quantity should also be defined in a place like Modelica.Units.SI, where others can find it, to avoid ending up with multiple strings for the same quantity.
The text was updated successfully, but these errors were encountered:
I suppose one could also define quantities on the sub-library level if they are considered too narrow for Modelica.Units, similar to Fluid, for example:
In addition to "RelativeMagnetization", also "MagneticFluxDensitySlope" should be defined in a central location to avoid ending up with many strings for the same quantity.
This
quantity
does not follow the MSL convention of using upper camel case names:ModelicaStandardLibrary/Modelica/Magnetic/FluxTubes/BaseClasses/GenericHysteresis.mo
Line 19 in 7051091
A more suitable name would be
"RelativeMagnetization"
.Ideally, the quantity should also be defined in a place like
Modelica.Units.SI
, where others can find it, to avoid ending up with multiple strings for the same quantity.The text was updated successfully, but these errors were encountered: