modelCheckPartialDerivativesMedium
Parameters
| Type | Name | Default | Description |
| Medium.AbsolutePressure | p | 1e5 | |
| Medium.SpecificEnthalpy | HMIN | 250e3 | |
| Medium.SpecificEnthalpy | HMAX | 350e3 | |
Components
| Type | Name | Default | Description |
| Modelica.Blocks.Sources.Sine | h_sine | | |
| Medium.SpecificEnthalpy | h | h_sine.y | |
| Medium.ThermodynamicState | state | Medium.setState_ph(p, h) | |
| Medium.Density | d | Medium.density_ph(p, h) | |
| Real | dt | der(d) | |
| Real | ht | der(h) | |
| Real | ddhp1 | dt/ht | |
| Real | ddhp2 | Medium.density_derh_p(state) | |
| Real | absdev | ddhp1 - ddhp2 | |
Contents
| Name | Description |
Medium | |