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

MSL 4.1.0 Regressions - Electrical and ComplexBlocks #4333

Open
10 tasks
GallLeo opened this issue Feb 27, 2024 · 2 comments
Open
10 tasks

MSL 4.1.0 Regressions - Electrical and ComplexBlocks #4333

GallLeo opened this issue Feb 27, 2024 · 2 comments
Assignees
Labels
example Issue only addresses example(s) L: Complex* Issue addresses Complex, Modelica.ComplexBlocks or Modelica.ComplexMath L: Electrical.Machines Issue addresses Modelica.Electrical.Machines L: Electrical.PowerConverters Issue addresses Modelica.Electrical.PowerConverters L: Electrical.Spice3 Issue addresses Modelica.Electrical.Spice3 L: ModelicaTest Issue addresses ModelicaTest, ModelicaTestConversion4 or ModelicaTestOverdetermined V: 4.1.0-dev Issue originates in MSL v4.1.0-dev (and is not present in earlier releases)
Milestone

Comments

@GallLeo
Copy link
Contributor

GallLeo commented Feb 27, 2024

The following models fail in result comparison.
Tested revision: f9bddf8 (2024-02-16)

Changed models, need reference update after library officer check:

  • Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM
    - Reason: Erroneous initialization of armatureInverter.iDCFilter has been fixed.
    @GallLeo pls. create new reference results.
    - Updated reference files?
  • Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM
    - Reason: Erroneous initialization of armatureInverter.iDCFilter has been fixed.
    @GallLeo pls. create new reference results.
    - Updated reference files?
  • Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM
    - Reason: Erroneous initialization of armatureInverter.iDCFilter has been fixed.
    @GallLeo pls. create new reference results.
    - Updated reference files?
  • Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM
    - Reason: Bugfix in Modelica.Electrical.PowerConverters.DCAC.Control.SVPWM
    @GallLeo pls. create new reference results.
    - Updated reference files?
  • Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R
    - Note: does not fail in csv-compare, but in integral check for inverter.ac.v
    - Reason: Changed formulation of comparison in Modelica.Electrical.PowerConverters.DCDC.Control.SignalPWM
    @GallLeo pls. create new reference results.
    - Updated reference files?
  • Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R
    - Reason: Changed formulation of comparison in Modelica.Electrical.PowerConverters.DCDC.Control.SignalPWM
    @GallLeo pls. create new reference results.
    - Updated reference files?
  • Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder
    - Reason: Model has not been touched for ages, differences are neglectible.
    @GallLeo pls. create new reference results.
    - Updated reference files?
  • Modelica.ComplexBlocks.Examples.ShowTransferFunction
    - Reason: Changed the parameters of the example to get more eye-catching results.
    @GallLeo pls. create new reference results.
    - Updated reference files?

Not classified yet, needs library officer check:

  • Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive
    - Reason: Bugfix in Modelica.Electrical.PowerConverters.DCAC.Control.SVPWM
    @GallLeo pls. create new reference results.
    - Updated reference files?

@GallLeo please note: We have improved the comparisonSignals.txt in PR #4353 of Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.{HBridge_R, HBridge_RL, HBridge_DC_Drive}, also back-ported to maint/4.1.x in #4372.
Please create new reference results for all three examples.

  • Release notes check: Are all classes mentioned which could lead to result changes in user models?

Useful Links

Current comparison report:
https://www.ltx.de/download/MA/Compare_MSL_v4.1.0/comparison_report_overview.html
-> Reference result test -> Comparison

Comparison signal definitions:
https://github.com/modelica/ModelicaStandardLibrary/tree/master/Modelica/Resources/Reference/Modelica
https://github.com/modelica/ModelicaStandardLibrary/tree/master/ModelicaTest/Resources/Reference/ModelicaTest

Reference results:
https://github.com/modelica/MAP-LIB_ReferenceResults

@GallLeo GallLeo added L: Complex* Issue addresses Complex, Modelica.ComplexBlocks or Modelica.ComplexMath L: Electrical.Machines Issue addresses Modelica.Electrical.Machines L: Electrical.PowerConverters Issue addresses Modelica.Electrical.PowerConverters L: Electrical.Spice3 Issue addresses Modelica.Electrical.Spice3 L: ModelicaTest Issue addresses ModelicaTest, ModelicaTestConversion4 or ModelicaTestOverdetermined example Issue only addresses example(s) V: 4.1.0-dev Issue originates in MSL v4.1.0-dev (and is not present in earlier releases) labels Feb 27, 2024
@GallLeo GallLeo added this to the MSL4.1.0 milestone Feb 27, 2024
@maltelenz maltelenz changed the title MSL 4.1.0 Regressions - Electrical MSL 4.1.0 Regressions - Electrical and ComplexBlocks Feb 28, 2024
@maltelenz
Copy link
Contributor

@GallLeo please note: We have improved the comparisonSignals.txt in PR #4353 of Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.{HBridge_R, HBridge_RL, HBridge_DC_Drive}
Please create new reference results for all three examples.

@AHaumer The LTX run actually shows a correctness failure in Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive for the variable meanCurrent.y, so that should be checked specifically before resetting the baseline to get the new variables.

@AHaumer
Copy link
Contributor

AHaumer commented Jun 6, 2024

@maltelenz @GallLeo
The only difference I see is at the beginning of the trajectory of meanCurrent,y.
This is caused from improvements in the block SignalPWM.
Yes the new signal is correct, and please take the new signal as reference for the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example Issue only addresses example(s) L: Complex* Issue addresses Complex, Modelica.ComplexBlocks or Modelica.ComplexMath L: Electrical.Machines Issue addresses Modelica.Electrical.Machines L: Electrical.PowerConverters Issue addresses Modelica.Electrical.PowerConverters L: Electrical.Spice3 Issue addresses Modelica.Electrical.Spice3 L: ModelicaTest Issue addresses ModelicaTest, ModelicaTestConversion4 or ModelicaTestOverdetermined V: 4.1.0-dev Issue originates in MSL v4.1.0-dev (and is not present in earlier releases)
Projects
None yet
Development

No branches or pull requests

4 participants