-
Notifications
You must be signed in to change notification settings - Fork 160
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
Reference file for model Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve does not match with Dymola 2024 #3881
Comments
Is that temperature well-defined, in physical terms? Otherwise, the result would depend on numerical implementation details. |
@mwetter this is a completely general problem: if you add these signals to the reference signals for regression testing, you're always going to get in trouble when doing cross-tool validation If there are no flow reversals through the sensor (as it seems from the simulation results), the other solution is to disallow flow reversal on the sensor, so it always gets the upstream enthalpy via inStream. Maybe that's the best solution in this case. What do you think? If you agree with that (I think it's already been done in a previous ticket), I guess @AndreaBartolini can collect all these cases and you can fix them in one shot throughout the whole library. |
I'll check it ASAP |
@AndreaBartolini please check with the declarative debugger how the sensor output is computed and report. |
@casella let me know if you need more detailed investigation. |
the reference file used by the OpenModelica CI to check the temperature
bui.disFloCoo.senTSup.T
of the modelBuildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve
has the following trend:The same model simulated by using Dymola Version 2024x, 2023-10-06 on Windows 11 pro - 64 bit generates the following trend for the same temperature:
By the way, the trend generated by Dymola 2024x on Win 11 matches the same generated by OpenModelica v1.24.0-dev-121-gd21af17721 (64-bit), as shown below:
Can you please check if your official reference file is according to the one generated by Dymola 2024x?
Thanks in advance.
Keep @casella in the loop
The text was updated successfully, but these errors were encountered: