Skip to content

Commit

Permalink
Fixed Drum so it works with all media
Browse files Browse the repository at this point in the history
  • Loading branch information
casella authored Jul 5, 2022
1 parent ac39a91 commit c2018f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ThermoPower/Water.mo
Original file line number Diff line number Diff line change
Expand Up @@ -3880,8 +3880,7 @@ The gas is supposed to flow in at constant temperature (parameter <tt>Tgin</tt>)
vapourState = Medium.setState_phX(p, hv);
Tv = Medium.temperature(vapourState);
rhov = Medium.density(vapourState);
sat.psat = p;
sat.Tsat = Medium.saturationTemperature(p);
sat = Medium.setSat_p(p);
hls = Medium.bubbleEnthalpy(sat);
hvs = Medium.dewEnthalpy(sat);
Ts = sat.Tsat;
Expand Down

0 comments on commit c2018f4

Please sign in to comment.