| | 5990 | |
| | 5991 | redeclare function extends pressure "Return pressure" |
| | 5992 | |
| | 5993 | annotation(Documentation(info="<html></html>")); |
| | 5994 | algorithm |
| | 5995 | p := state.p; |
| | 5996 | end pressure; |
| | 5997 | |
| | 5998 | redeclare function extends temperature "Return temperature" |
| | 5999 | |
| | 6000 | annotation(Documentation(info="<html></html>")); |
| | 6001 | algorithm |
| | 6002 | T := state.T; |
| | 6003 | end temperature; |
| | 6004 | |
| | 6005 | redeclare function extends density "Return density" |
| | 6006 | |
| | 6007 | annotation(Documentation(info="<html></html>")); |
| | 6008 | algorithm |
| | 6009 | d := d_const; |
| | 6010 | end density; |
| | 6011 | |
| | 6012 | redeclare function extends specificEnthalpy "Return specific enthalpy" |
| | 6013 | |
| | 6014 | annotation(Documentation(info="<html></html>")); |
| | 6015 | algorithm |
| | 6016 | h := cp_const*(state.T-T0); |
| | 6017 | end specificEnthalpy; |