modelPartialTurboComponent

Partial model of turbo component

Extends from Interfaces.SISOFlow (Base Model with basic flow eqautions for SISO).

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
StringinstanceName (from DropOfCommonsPlus)getInstanceName()Instance name
Booleanomega_from_inputfalse= true, if omega input connector is enabled
BooleanenableAccessHeatPortfalse= true, if heatPort is enabled
Layout
BooleandisplayInstanceName (from DropOfCommonsPlus)dropOfCommons.displayInstanceNames= true, if instance name is displayed
BooleandisplayParameters (from DropOfCommonsPlus)dropOfCommons.displayParameters= true, if displaying parameters is enabled
Advanced
BooleanconsiderInertance (from SISOFlow)dropOfCommons.considerInertance=true, if transient momentum (inertance) term is considered; disable only for advanced use
Utilities.Units.InertanceL (from SISOFlow)dropOfCommons.LInertance
StateSelectm_flowStateSelect (from SISOFlow)StateSelect.defaultState selection for mass flow rate
Booleanclip_p_out (from SISOFlow)= false, if dr_corr=0 (correction of inertial pressure difference)
Medium.AbsolutePressurep_min (from SISOFlow)dropOfCommons.p_minMinimum steady-state output pressure
StateSelectomegaStateSelectif omega_from_input then StateSelect.default else StateSelect.preferState select for angular velocity
Initialization › Mass flow rate
InitializationMethodsinitM_flow (from SISOFlow)ThermofluidStream.Utilities.Types.InitializationMethods.noneInitialization method for mass flow rate
SI.MassFlowRatem_flow_0 (from SISOFlow)0Initial value for mass flow rate
Utilities.Units.MassFlowAccelerationm_acceleration_0 (from SISOFlow)0Initial value for derivative of mass flow rate
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)
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

Connectors

TypeNameDefaultDescription
Inletinlet (from SISOFlow)
Outletoutlet (from SISOFlow)
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

Components

TypeNameDefaultDescription
SI.MassFlowRatem_flow (from SISOFlow)inlet.m_flowMass flow rate
SI.Pressuredr_corr (from SISOFlow)Correction of inertial pressure difference
SI.Pressuredp (from SISOFlow)Pressure difference
Medium.AbsolutePressurep_in (from SISOFlow)Medium.pressure(inlet.state)Inlet pressure
Medium.SpecificEnthalpyh_in (from SISOFlow)Medium.specificEnthalpy(inlet.state)Inlet specific enthalpy
Medium.MassFraction[Medium.nXi]Xi_in (from SISOFlow)Medium.massFraction(inlet.state)Inlet mass fractions
Medium.AbsolutePressurep_out (from SISOFlow)Outlet pressure
Medium.SpecificEnthalpyh_out (from SISOFlow)Outlet specific enthalpy
Medium.MassFraction[Medium.nXi]Xi_out (from SISOFlow)Outlet mass fractions
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