Skip to content

Give the impedances and resistances in Electrical parameters a unit - #4819

Open
henrikt-ma wants to merge 1 commit into
modelica:masterfrom
henrikt-ma:units-of-machine-parameters
Open

henrikt-ma wants to merge 1 commit into
modelica:masterfrom
henrikt-ma:units-of-machine-parameters

Conversation

@henrikt-ma

Copy link
Copy Markdown
Contributor

Similar unit inconsistency fixes as in #4817, but for problems in Electrical which are not exposed only because pi carries a unit.

…ters a unit

Inductances in the machine parameter records and several examples were
computed as a number divided by 2*pi*f, where the number is a reactance in ohm,
and some resistances were given as a number divided by a squared turns ratio.
These numbers are now unitful literals in ohm, such as
0.3'Ohm'/(2*pi*fsNominal) and 0.04'Ohm'/turnsRatio^2, and the locked-rotor
voltage of slip-ring machines is 100'V'*(...), so that the parameters have the
units they are declared with.  The values are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@henrikt-ma henrikt-ma added L: Electrical.Analog Issue addresses Modelica.Electrical.Analog L: Electrical.Machines Issue addresses Modelica.Electrical.Machines L: Electrical.Polyphase Issue addresses Modelica.Electrical.Polyhase L: Electrical.QuasiStatic Issue addresses Modelica.Electrical.QuasiStatic requires Modelica 3.7 Issue that requires Modelica Language Specification 3.7 labels Oct 5, 2026
@henrikt-ma
henrikt-ma requested a review from AHaumer October 5, 2026 07:59

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L: Electrical.Analog Issue addresses Modelica.Electrical.Analog L: Electrical.Machines Issue addresses Modelica.Electrical.Machines L: Electrical.Polyphase Issue addresses Modelica.Electrical.Polyhase L: Electrical.QuasiStatic Issue addresses Modelica.Electrical.QuasiStatic requires Modelica 3.7 Issue that requires Modelica Language Specification 3.7

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant