setSmoothStateReturn thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b |
x |
Type: Real Description: m_flow or dp |
---|---|
state_a |
Type: ThermodynamicState Description: Thermodynamic state if x > 0 |
state_b |
Type: ThermodynamicState Description: Thermodynamic state if x < 0 |
x_small |
Type: Real Description: Smooth transition in the region -x_small < x < x_small |
state |
Type: ThermodynamicState Description: Smooth thermodynamic state for all x (continuous and differentiable) |
---|