Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ThermofluidStream/Media/myMedia/Interfaces.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2523,7 +2523,7 @@ quantities are assumed to be constant.
output ThermodynamicState state "Thermodynamic state record";
algorithm
state := ThermodynamicState(p=p, T=Modelica.Math.exp(s/cp_const +
Modelica.Math.log(reference_T) + R_gas*Modelica.Math.log(p/reference_p)));
Modelica.Math.log(reference_T) + R_gas/cp_const*Modelica.Math.log(p/reference_p)));
end setState_psX;

redeclare function setState_dTX
Expand Down