modelPartialTurboComponent

Partial model of turbo component

Extends from Interfaces.SISOFlow.

Information

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:

  1. 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.
  2. 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.
  3. 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.

Parameters

TypeNameDefaultDescription
Booleanomega_from_inputfalse= true, if omega input connector is enabled
BooleanenableAccessHeatPortfalse= true, if heatPort is enabled
Parameters
SI.MomentOfInertiaJ_p5e-4Moment of inertia
Output
BooleanenableOutputfalse= true, if selectable quantity output connector is enabled
QuantityoutputQuantityQuantity.m_flow_kgpsOutput quantity
Advanced › Regularization
SI.AngularVelocityomega_regdropOfCommons.omega_regNormalization angular velocity
SI.MassFlowRatem_flow_regdropOfCommons.m_flow_regNormalization mass flow rate
Medium.Densityrho_mindropOfCommons.rho_minMinimum density (relevant at p=0)
Advanced
StateSelectomegaStateSelectif omega_from_input then StateSelect.default else StateSelect.preferState select for angular velocity
Initialization › Angular velocity
InitializationMethodsinitOmegaThermofluidStream.Utilities.Types.InitializationMethods.noneInitialization method for angular velocity
SI.AngularVelocityomega_00Initial value for angular velocity
SI.AngularAccelerationomega_dot_00Initial value for der(omega)
Initialization › Angle
BooleaninitPhifalse= true, if angle is initialized
SI.Anglephi_00Initial value for angle

Components

TypeNameDefaultDescription
Modelica.Mechanics.Rotational.Interfaces.Flange_aflangeFlange
Modelica.Blocks.Interfaces.RealInputomega_inputomegaAngular velocity input connector [rad/s]
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatportHeatPort
Modelica.Blocks.Interfaces.RealOutputoutput_valgetQuantity(inlet.state, m_flow, outputQuantity, rho_min)Quantity output connector
SI.PowerW_tPower (technichal work flow rate)
SI.PowerQ_tHeat flow rate
SI.Torquetau_stSteady-state torque

Contents

NameDescription
dp_tau
getQuantityFunction to compute a selectable quantity