-
Notifications
You must be signed in to change notification settings - Fork 83
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
Compare computing time between IDEAS and Annex 60 for boiler with pump #15
Comments
Moved all models to branch |
For Annex60 and dassl, I run
Next, I run IDEAS as
IDEAS was 10% faster. Next, I tried the radau solver with tolerance 1e-6. For IDEAS, I get
For Annex60, I get
IDEAS was 25% faster. The warning comes from Next, I looked at the number of states:
Annex 60 has the following states:
There, is 1 versus 5 states. The additional states are from the pump, which uses by default I disabled the states in the pump in Annex60 by setting
Then, the computing time is 2.2 seconds, about 5% faster than IDEAS (or for practical reasons, Annex60 still has the following states:
The states from the expansion vessel could be avoided by using Hence, it looks like the difference in computing time was because of the differential equation for the pump, which have been removed. |
Note that in
uses |
The use of |
Overall good to know that the difference is due to the pump model. I came to a similar conclusion on thursday seeing the results and it's comparison of Damien, as i noticed that the results of the simulation where not the same and could be subscribed to the inertia equations of the pump. |
We might have been a bit too ambitious in trying to reduce events at some point :-o |
If you want to use a variable for reporting only, then a "trick" is to make it a conditional variable, which you can enable by default. See for example (Looking at this model, we can actually remove the homotopy function as the |
Nice overview. Just to be sure: did you compare the trajectories for one or more variables in order to be sure that all solvers find the same (correct) solution? |
I checked the boiler outlet temperature and the results are very simular. No other solution is found but the accuracy is different. |
The folder
IDEAS_a60
contains a comparison between a simplified boiler model from IDEAS and from Annex60.The output of both models are similar (but not exactly the same, mainly due to the difference in the pump (IDEAS has no inertia) ).
The text was updated successfully, but these errors were encountered: