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

V4.1.0 #8

Closed
wants to merge 10 commits into from
Closed

Conversation

MatthiasBSchaefer
Copy link
Contributor

Update of reference files for MSL4.1.0:

modelica/ModelicaStandardLibrary#4340:
updated reference files:

  • Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake
  • Modelica.Mechanics.Translational.Examples.EddyCurrentBrake

modelica/ModelicaStandardLibrary#4337
removed imc.stator.zeroInductor.i0 from comparison_signals.txt and then updated reference files:

  • Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD
  • Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer
  • Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize
  • Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor

modelica/ModelicaStandardLibrary#4341
updated reference files:

  • ModelicaTest.MultiBody.Sensors.AbsoluteSensor

modelica/ModelicaStandardLibrary#4333
updated comparison signals according to PR #4353 and then updated reference files:

  • Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R
  • Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HHBridge_RL
  • Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HHBridge_DC_Drive
    updated reference files:
  • Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM
  • Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM
  • Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM
  • Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM
  • Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R
  • Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder
  • Modelica.ComplexBlocks.Examples.ShowTransferFunction
  • Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive

@MatthiasBSchaefer MatthiasBSchaefer marked this pull request as draft March 19, 2024 15:46
Tolerance=1e-06 // used default, because no tolerance annotation in model
StartTime = 0.0 // set by user
StopTime = 1.0 // from model. experiment annotation or dymola default
Interval = 2000 // from model. experiment annotation or dymola default
Copy link

@maltelenz maltelenz Mar 20, 2024

Choose a reason for hiding this comment

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

This is incorrect (and similar for other updated results).

The model experiment annotation has Interval=0.001. This seems more like a "number of steps", rather than Interval.

The older creation.txt also had different comments that described how the settings were decided, while this sounds like it has the same comment regardless of how it was decided?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for your feedback.

The pullrequest was reset to the draft-status, because of these inconsistencies in the NumberOfIntervals\ OutputInterval.

The creation.txt and so also the comments are generated automatically. So we don't know the intension behind the settings. With the comment we only mark that the simulation setting correspond with the experiment annotation or not.

Choose a reason for hiding this comment

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

With the comment we only mark that the simulation setting correspond with the experiment annotation or not.

But with the current comment I cannot tell if it came from the experiment annotation or from the dymola default?

Copy link
Member

@beutlich beutlich left a comment

Choose a reason for hiding this comment

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

If it is targeting v4.1.0 the simulation result must not be created from commit modelica/ModelicaStandardLibrary@677bec0 of master branch. Instead it needs to be created from https://github.com/modelica/ModelicaStandardLibrary/tree/maint/4.1.0 branch.

@MatthiasBSchaefer MatthiasBSchaefer marked this pull request as ready for review April 4, 2024 13:10

Choose a reason for hiding this comment

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

It doesn't seem right that simulation with timeouts are used as references, like this file.

…amentalWave/Examples/BasicMachines/InductionMachines/IMC_YD
Copy link

@maltelenz maltelenz left a comment

Choose a reason for hiding this comment

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

  • The rename of the csv file for Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder seems wrong, it no longer matches the name of the model.
  • There are still files changed in Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD/ even though this PR no longer seeks to change the reference results for this model.

I used these new reference results for our testing with Wolfram System Modeler, and our results match to the degree that we usually expect from this kind of cross-tool testing.

@MatthiasBSchaefer MatthiasBSchaefer marked this pull request as draft May 13, 2024 12:17
@MatthiasBSchaefer MatthiasBSchaefer deleted the v4.1.0 branch May 13, 2024 12:17
@beutlich beutlich removed their request for review May 13, 2024 16:04
@MatthiasBSchaefer MatthiasBSchaefer restored the v4.1.0 branch May 14, 2024 12:12
@MatthiasBSchaefer
Copy link
Contributor Author

I can't see any differences in Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD when comparing to the right reference (before any changes done in this PR)...

@maltelenz
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants