This model has an inlet and an outlet, representing a single fluid stream, as well as a flange to exchange mechanical work, an optional heatport to dump heat that the fluid cannot take on, and an optional output for a measureable quantity.
The component does the following:
- Compute the pressure differential and the moment on the flange, that would result in static operation from characteristic curves (static moment). These curves differ for different components.
- Regularize dh for low mass-flows. If the fluid is receiving energy, the heat that cannot be given to the fluid, is given to an accessible heatport. If the fluid is giving away energy, the static moment is reduced until dh is small enough within the regularization.
- Compute mechanics of system if omega is not direct input of the system. The ifference between the static moment and the moment at the flange leeds to angular acceleration against the inertia of the system.
An output can be enabled that measures one of multiple selectable quantities. Different initial conditions and state selections for the component can be selected.
Useful hints:
- The optional output might be useful for simplifying the overall model in a control loop, since no additional sensor is required.
- If one wants to prescribe a speed of the component, instead of being interested in the omega dynamics, enable omegaFromInput.
- The heatport is only of interest, if the overall energy of the system must be conserved.
Contents
Name | Description |
---|
dp_tau | Component characteristic curves |
getQuantity | Function to compute a selectable quantity |
Generated at 2024-10-30T19:25:41Z
by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos