-
Notifications
You must be signed in to change notification settings - Fork 164
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
Rename Machines Controllers #3058
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no clue if it is advisable to rename VoltageController to an existing model CurrentController which also gets renamed. In case you run the conversion twice you'll get DQToThreePhase then. (I know, conversion is guarded by the uses annotation, but who knows?)
We could rename the "new" |
@beutlich good point ... followd @christiankral 's advice. |
After merging #3059 this is now conflicting. |
@beutlich conflicts should be resolved. Should be done now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There still is some issue, since the block SinCosEvaluation occurs twice in the library.
@beutlich sorry don't know how this could happen, resolved. |
Might be off-topic: Why are Modelica.Electrical.Machines.Utilities.SynchronousMachineData and Modelica.Electrical.Machines.Utilities.TransformerData not in Modelica.Electrical.Machines.Utilities.ParameterRecords? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One conversion was missing in ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.
Naming of controllers is misleading, has to be clarified:
Electrical.Machines.Utilities.CurrentController -> DQToThreePhase
Electrical.Machines.Utilities.CurrentController.{id_rms, iq_rms} -> DQToThreePhase.{d, q}
Electrical.Machines.Utilities.VoltageController -> CurrentController
Electrical.Machines.Utilities.VoltageController,{id_rms, iq_rms} -> CurrentController,{id, iq}
Renaming and conversion script done, test cases follow.