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

Rename sensor outputs #3351

Merged
merged 28 commits into from
Jan 21, 2020
Merged

Conversation

christiankral
Copy link
Contributor

This PR resolves #3022. The following changes are applied both in QuasiStatic.SinglePhase and QuasiStatic.Polyphase:

  • Rename all sensor outputs to match their physical quantity (e.g., i for current sensor)
  • Introduce new partial models TwoPinElementary with connectors but without declaration of voltage and current
  • Introduce new partial model RelativeSensorElementary to be used with voltage and current sensor(s only)
  • Move obsolete partial models RelativeSensor to ObsoleteModelica4.mo as these models have only been used for voltage and current sensors; so there is no need to keep them
  • Update models of MSL on which the changed sensor outputs have an impact
  • Create conversion script
  • Create test models in ModelicaTestConversion4.mo

@christiankral christiankral added the L: Electrical.QuasiStatic Issue addresses Modelica.Electrical.QuasiStatic label Jan 20, 2020
@christiankral christiankral added this to the MSL4.0.0 milestone Jan 20, 2020
@beutlich
Copy link
Member

I see potential merge conflicts: Renaming sensor outputs will likely require to update the comparisonSignals.txt files as part of #3348, too. Thus, whichever PR gets merged first ...

ObsoleteModelica4.mo Outdated Show resolved Hide resolved
@beutlich beutlich merged commit 46aed64 into modelica:master Jan 21, 2020
beutlich added a commit that referenced this pull request Jan 21, 2020
christiankral added a commit to christiankral/ModelicaStandardLibrary that referenced this pull request Mar 10, 2020
beutlich pushed a commit to beutlich/ModelicaStandardLibrary that referenced this pull request Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: Electrical.QuasiStatic Issue addresses Modelica.Electrical.QuasiStatic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unify names of sensor signal outputs
3 participants