-
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
Renaming of functions CubicInterpolation_DP and CubicInterpolation_MFLOW #2780
Conversation
Note, this only can be merged to master branch (targeting the next major release), once MSL v3.2.3 is released. |
@wischhusen Can you please provide a unit test (say |
Added the conversion scirpt to Modelica/Resources/Scripts/Dymola and a Tester (Issue2780) to ModelicaTest.Fluid.Dissipation.ConversionTest. I'm a bit puzzled about the correct version numbers for the change. It should be 3.2.4, right? |
The next version is 4.0.0 |
Ok, so the Dymola conversion script should be named |
Exactly. 👍 |
Done |
Please do not push branches to the MSL repository but use your own fork for that. Also the last correction is not present in the PR here. So you might have pushed to the wrong place. |
There should be a branch issue2780. Anyhow, if that cannot be merged I will proceed with the fork. |
Yes best to make a new PR based on a branch from your fork and also make sure that there is a test model in ModelicaTest that would trigger that conversion. |
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 was wondering if the location Scripts/Dymola is still the appropriate one since the conversion script is standardised for MLS 3.4 so in MSL 4.0.0 the standard script should probably be placed directly under Scripts?
@beutlich ?
See #2819 for the corresponding PR. |
Sorry for using this PR as guinea pig for the conversion. We will care for the proper location of the conversion script and the conversion tester. |
… CubicInterpolation_MFLOW
Co-Authored-By: wischhusen <wischhusen@xrg-simulation.de>
… support conversion scripts
This is an important PR since it adds ConvertModelica_from_3.2.3_to_4.0.0.mos and ModelicaTestConversion4.mo, which all other issues requiring conversion depend on. @hubertus65 Can you please run the merge. |
Friendly reminder. |
I have been traveling quite a bit. I'll try to find some block time for this. Any other tasks for me I missed? |
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.
Looks good.
I noticed one minor issue - but it isn't really part of this PR so I believe that should be a separate PR.
The minor issue is that conversion from MSL 2 could specify to="3.2.3"; so that the libraries using MSL 2 could be converted to MSL 4. (Which is super-rare and those conversions weren't changed anyway.)
|
close #2006