You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to allow a record constructor for SaturationProperties like in the example below it needs to be redeclared in the medium package Water.WaterIF97_base first.
Modelica.Units.SI.SpecificEnthalpy h_dew=Medium.dewEnthalpy(Medium.SaturationProperties(Tsat=Medium.saturationTemperature(state.p), psat=Medium.pressure(state)));
See R134a.R134a_ph for example.
redeclare record extends SaturationProperties
end SaturationProperties;
The text was updated successfully, but these errors were encountered:
In order to allow a record constructor for SaturationProperties like in the example below it needs to be redeclared in the medium package Water.WaterIF97_base first.
Modelica.Units.SI.SpecificEnthalpy h_dew=Medium.dewEnthalpy(Medium.SaturationProperties(Tsat=Medium.saturationTemperature(state.p), psat=Medium.pressure(state)));
See R134a.R134a_ph for example.
redeclare record extends SaturationProperties
end SaturationProperties;
The text was updated successfully, but these errors were encountered: