Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added documentation strings to real and imaginary parts of complex units #2444

Merged
merged 2 commits into from Jan 25, 2018
Merged

Added documentation strings to real and imaginary parts of complex units #2444

merged 2 commits into from Jan 25, 2018

Conversation

christiankral
Copy link
Contributor

see #2443

Complex(redeclare Modelica.SIunits.MagnetomotiveForce re,
redeclare Modelica.SIunits.MagnetomotiveForce im)
Complex(redeclare Modelica.SIunits.MagnetomotiveForce re "Real part of complex magnetomotive force",
redeclare Modelica.SIunits.MagnetomotiveForce im "Imaginary part of complex magnetomotive force")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling: magneto motive or magnetomotive?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm.... either way I guess, see https://www.collinsdictionary.com/dictionary/english/magnetomotive-force and https://en.wikipedia.org/wiki/Magnetomotive_force. Since we spelled it MagnetomotiveForce, not MagnetoMotiveForce, in this context, I suppose that "magnetomotive force" is OK. I am, however, sure, that we have a couple different spellings in the MSL. So this issue is comparable to the multiphase/multi phase/multi-phase/poly phase discussion.

For now, I would go for magnetomotive force, and create a ticket, in case you want to initiate a discussion on the unification of the spelling of this term.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see your point. The term "magnetomotive" is more often used than "magneto motive" in publications of http://ieeexplore.ieee.org. I propose: let's switch to "magnetomotive" on the long run and start change the naming. Would you mind to switch the doc string of the model "magnetomotive" before/after approving the pull request? Thanx.

@beutlich beutlich added enhancement New feature or enhancement L: SIunits Issue addresses Modelica.SIunits labels Jan 24, 2018
@beutlich beutlich added this to the MSL3.2.3 milestone Jan 24, 2018
@christiankral christiankral merged commit 68baa5b into modelica:master Jan 25, 2018
@christiankral christiankral deleted the re_im branch January 25, 2018 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement L: SIunits Issue addresses Modelica.SIunits
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants