-
Notifications
You must be signed in to change notification settings - Fork 161
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
Check models that fail as actuator model has been updated #4002
Comments
@AntoineGautier : Could you please have a look into why these models fail with the new actuator model. These are from the HP template and the hydronic configurations. I believe the hydronic configuration have a pump that works against a fully closed valve. |
Models that fail to simulate with the change- model_name: Buildings.DHC.Plants.Combined.Validation.AllElectricCWStorage
optimica:
comment: "Simulation times out"
simulate: false
- model_name: Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve
openmodelica:
comment: 'Singular system of equations when both load valves are fully closed but pump is running'
simulate: false
- model_name: Buildings.Templates.Plants.HeatPumps.Components.Validation.ValvesIsolation
optimica:
comment: Possible chattering detected at t = 3.120112e+03 in state event
simulate: false Simulating these models with Dymola also yields NL solver failures, but the solver can recover from them and the simulation ultimately succeeds. We can already notice that all these models include one or more instances of
|
@AntoineGautier The model "DHC.Plants.Combined.Validation.AllElectricCWStorage" works on my installation. I would think 1 is the most promising option, followed by 2. I don't see why 3 should be favorable to what we have. Another option would be to make the regularization near 0 less abrupt. @justnielsen: Are you using the check valve of Buildings in conjunction with the actuator that has linear travel time, or do you have an alternate implementation of the check valve with which you have good numerical performance? |
@mwetter we have just recently updated our valve and pump models to reflect the actuator changes in Buildings Library. For the majority of the many models we tested, the conversion went without problems. But a few of our very large models (100–200,000 equations) needed some tweaking. During this we did not consider looking at the check valves but generally solved the problems (failing to converge/initialize + slow simulation) by adding/removing dynamics in T-junctions ( Regarding our check valve model it is an unmodified extension of ( However, we often experience nonlinear system convergence errors in Dymola but unfortunately, our analyses of the numerical behaviour of these models have never been near as qualified and rigorous as the one you present in this thread. |
@mwetter I realized that even after substituting the call to If you agree, I can submit a PR to incorporate this reformulation into the IBPSA library. |
@AntoineGautier : Using a spline is probably better here. Perhaps the solver extrapolated on the polynomial while trying to find a solution, and polynomials can rapidly have huge slopes when used outside their intended range. Please do the PR. |
The new actuator model (#4000) causes some models to fail to simulate, see
conf.yml
inhttps://github.com/lbl-srg/modelica-buildings/pull/4000/files#diff-27f3a54beb1453b97cf6c7dfd9fa86b042c9c7e332cd38ca55ea859c936120a8
This issue is to see if there is something that need to be improved in these models.
The text was updated successfully, but these errors were encountered: