-
Notifications
You must be signed in to change notification settings - Fork 16
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
Remaining issues with HelmholtzMedia in OpenModelica #39
Comments
Number 3 Isopentane is now also simulating, started to work with |
Division by zero check: OpenModelica/OpenModelica#7023 |
mostly zeros, some constants see #39 and OpenModelica/OpenModelica#7023
OM master switched to newInst on 2020-12-14: master Library report, Library coverage, last 7 runs newInst Library report, Library coverage, last 7 runs |
With the fix for #48, we are now at 36/41 models simulating: https://libraries.openmodelica.org/branches/master/HelmholtzMedia/HelmholtzMedia.html A fresh case not yet mentioned is Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine , which tells about setSat_p not converging. |
Some of the problems stem from density being prescribed to go below its lower limit (Modelica.Constants.small). I guess something like
could help with that at least. |
I have change the stop time of that example in 224effc |
to avoid that it runs into numerical noise failures in CI
also see #40 for the convergence criterion |
It would be interesting to see where this NaN during initialization is coming from: |
Funny, when I simulate that model locally with current HH master, OM 1.18, MSL 3.2.3, Win10, I get another error:
Possibly connected? Sadly, I did not manage to trace where this error comes from, either. |
newInst Library report, Library coverage, last 7 runs
This is a follow-up ticket for #34, to track the few issues that are left after the release of OpenModelica 1.16.
There is a corresponding ticket in OM Trac: https://trac.openmodelica.org/OpenModelica/ticket/6088
Examples.ConvergenceTest.Ancillary_Saturation
This goes into a branch of an if-else that I thought is unreachable (
this should also not happen
)??? After updating the assert message, it is seen thath=nan
Examples.ConvergenceTest.setSat
An iteration written by me does not converge, close to the critical point, but it works in Dymola. There is a warning about abs value being negative.
Examples.MediaTestModels.IsopentaneTestModel (during initialization)
Failing assert
Examples.Validation.Derivatives_SaturationBoundary (during initialization)
fails during initialization, with liq.s and vap.s having same value
Examples.Validation.idealGasLimit
this should converge to a certain value, but starts to oscillate because of numerical noise, also with other tools, but at a later point. Might be solved by changing some tolerance or other setting?
The text was updated successfully, but these errors were encountered: