-
Notifications
You must be signed in to change notification settings - Fork 159
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
Nominal values for mixing volume #629
Comments
It could be interesting to run also I think the overhead for normalising |
The nominal value is used for scaling when the state is close to zero. Below are CPU time comparisons for 4 large test problems: Performance is slightly better, except for DualFanDualDuct where the solver runs at one point into numerical issues. These were eventually resolved and I believe could as well have happened with the @Mathadon I think we should use this change and will propose it for the The test cases were run with the following script: |
On the master (commit e74f3a1), in Modelica.SIunits.Mass[Medium.nXi] mXi(nominal=1E-6)
"Masses of independent components in the fluid"; then
works in Dymola 2017 FD01. However, without a nominal value set, which is what is on the |
I will close this as state selection and scaling will be addressed through ibpsa/modelica-ibpsa#1412 |
Branch was |
Setting proper nominal values for the states in the mixing volume is difficult because the volume is a non-literal parameter for some models. This issue is to look into scaling the state variables (
U
,m
,mXi
andmC
) so that they are around unity, regardless of the size of the volume. Once they are unity, a possible reason (bad scaling of states) can be ruled out when looking at simulation performance issues.@Mathadon : This is FYI. I will look into it for
Buildings
because I like to have larger test problems before moving it into the Annex 60 library.The text was updated successfully, but these errors were encountered: