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

Bug fix for default phase angles of quasi stationary multi phase sources #1099

Closed
modelica-trac-importer opened this issue Jan 14, 2017 · 2 comments
Assignees
Labels
bug Critical/severe issue L: Electrical.QuasiStationary Issue addresses Modelica.Electrical.QuasiStationary
Milestone

Comments

@modelica-trac-importer
Copy link

Reported by christiankral on 14 May 2013 13:19 UTC
The default phase angles of time transient multi phase voltage and currents sources

  • Modelica.Electrical.MultiPhase.Sources.SineVoltage
  • Modelica.Electrical.MultiPhase.Sources.CosineVoltage
  • Modelica.Electrical.MultiPhase.Sources.SineCurrent
  • Modelica.Electrical.MultiPhase.Sources.CosineCurrent

are determined by

phase=-Modelica.Electrical.MultiPhase.Functions.symmetricOrientation(m)

The default phase angles of the quasi stationary multi phase voltage and currents source

  • Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VoltageSource
  • Modelica.Electrical.QuasiStationary.MultiPhase.Sources.CurrentSource

are currently determined by

phase={0 - (j - 1)*2*pi/m for j in 1:m}

The quasi stationary implementation is inconsistent. This is a bug and shall be fixed in MSL 3.2.1 and MSL 3.2.


Migrated-From: https://trac.modelica.org/Modelica/ticket/1099

@modelica-trac-importer modelica-trac-importer added this to the MSL3.2.1 milestone Jan 14, 2017
@modelica-trac-importer modelica-trac-importer added bug Critical/severe issue L: Electrical.QuasiStationary Issue addresses Modelica.Electrical.QuasiStationary labels Jan 14, 2017
@modelica-trac-importer
Copy link
Author

Comment by christiankral on 14 May 2013 13:51 UTC
Two comments:

  1. The problem in particular affects even number of phases only. For odd number of phases the original implementation and function symmetricOrientation lead to equal results.
  2. Bug fix will be applied to MSL 3.2.1 only, since multi phase systems with even number of phase became relevant with the multi phase machine models for m>3 -- which are introduced in MSL 3.2.1 (not 3.2)

@modelica-trac-importer
Copy link
Author

Comment by christiankral on 14 May 2013 13:54 UTC
Fixed bug according to d41c9f4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Critical/severe issue L: Electrical.QuasiStationary Issue addresses Modelica.Electrical.QuasiStationary
Projects
None yet
Development

No branches or pull requests

2 participants