-
Notifications
You must be signed in to change notification settings - Fork 176
Introduce zero absolute temperature offset for relative/absolute conversions #4137
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3611,7 +3611,7 @@ no mass or energy is stored in the pipe. | |||||
| V=0.1) annotation (Placement(transformation(extent={{-40,0},{-20,20}}))); | ||||||
| FixedMassFlowRate fixedMassFlowRate( | ||||||
| redeclare package Medium = Medium, | ||||||
| T_ambient=1.2*T_start, | ||||||
| T_ambient=Modelica.Constants.T_zero_K + 1.2*T_start, | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change clearly makes things worse; computing a temperature as 1.2 times another is a bit odd (but is ok for a test). But in the new equation we
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right. This is the reason behind keeping this PR in Draft state. A proper way to write the modification would be: …
Suggested change
|
||||||
| h_ambient=1.2*h_start, | ||||||
| m_flow=1, | ||||||
| X_ambient=0.5*X_start) annotation (Placement(transformation(extent={{ | ||||||
|
|
@@ -3659,7 +3659,7 @@ no mass or energy is stored in the pipe. | |||||
| V=0.1) annotation (Placement(transformation(extent={{-60,0},{-40,20}}))); | ||||||
| FixedMassFlowRate fixedMassFlowRate( | ||||||
| redeclare package Medium = Medium, | ||||||
| T_ambient=1.2*T_start, | ||||||
| T_ambient=Modelica.Constants.T_zero_K + 1.2*T_start, | ||||||
| h_ambient=1.2*h_start, | ||||||
| m_flow=1, | ||||||
| X_ambient=0.5*X_start) annotation (Placement(transformation(extent={{ | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.