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
Errors in homotopy implementations in MSL 3.2.1 #974
Comments
Modified by otter on 27 Jan 2013 19:16 UTC |
Comment by dietmarw on 28 Jan 2013 09:46 UTC |
Comment by dietmarw on 28 Jan 2013 09:46 UTC |
Comment by eth on 30 Jan 2013 21:32 UTC |
Comment by dietmarw on 30 Jan 2013 21:46 UTC
|
Comment by rfranke on 31 Jan 2013 18:06 UTC |
Modified by dietmarw on 31 Jan 2013 18:07 UTC |
Modified by dietmarw on 23 Feb 2013 12:57 UTC |
Comment by fcasella on 5 Mar 2013 22:38 UTC |
Modified by dietmarw on 28 Jan 2013 09:46 UTC
It seems that there are errors in homotopy implementations in MSL 3.2.1:
The second expression should be something like: simplified=dp_nominal*m_flow/m_flow_nominal
The second expression should be something like: simplified=dp_nominal*m_flow/m_flow_nominal
Best regards,
Eric Thomas
Reported by Eric Thomas on 27 Jan 2013 19:13 UTC
It seems that there are errors in homotopy implementations in MSL 3.2.1:
1/ in Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.BaseModel:
if from_dp then
m_flow = homotopy(...,
m_flow_nominal*dp_fg/dp_nominal);
else
dp_fg = homotopy(...,
m_flow_nominal*dp_fg/dp_nominal);
end if;
The second expression should be something like: simplified=dp_nominal*m_flow/m_flow_nominal
2/ in Modelica.Fluid.Fittings.SimpleGenericOrifice:
if from_dp then
m_flow = homotopy(...,
m_flow_nominal*dp_fg/dp_nominal);
else
dp_fg = homotopy(...,
m_flow_nominal*dp_fg/dp_nominal);
end if;
The second expression should be something like: simplified=dp_nominal*m_flow/m_flow_nominal
3/ MSL 3.3Dev is built completely differently, and doesn't contain these models.
Best regards,
Eric Thomas
Migrated-From: https://trac.modelica.org/Modelica/ticket/974
The text was updated successfully, but these errors were encountered: