modelCompressor

Extends from PropulsionSystem.BaseClasses.BasicElements.Compressor_Base.

Parameters

TypeNameDefaultDescription
Assumptions
BooleanallowFlowReversal (from ElementFrame_2FluidPorts_2ShaftPorts)true= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Design Point Definition
Modelica.SIunits.MassFlowRatedmDes_1 (from ElementFrame_2FluidPorts_2ShaftPorts)10.0design point dm at st.1, refered in subelement
Modelica.SIunits.AbsolutePressurepDes_1 (from ElementFrame_2FluidPorts_2ShaftPorts)101.3*1000design point p at st.1, refered in subelement
Modelica.SIunits.TemperatureTdes_1 (from ElementFrame_2FluidPorts_2ShaftPorts)288.15design point T at st.1, refered in subelement
Characteristics
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNmechDes (from ElementFrame_2FluidPorts_2ShaftPorts)3000.0
Modelica.SIunits.MassFlowRateWcDes_1_def (from Compressor_Base)10.0
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNcDes_1_def (from Compressor_Base)3000.0
RealPRdes20pressure ratio at design point
RealeffDes0.80adiabatic efficiency at design point
Initialization › fluid_1
Modelica.SIunits.MassFlowRatem_flow1_init (from ElementFrame_2FluidPorts_2ShaftPorts)1.0
Modelica.SIunits.Pressurep1_init (from ElementFrame_2FluidPorts_2ShaftPorts)101.3*1000
Modelica.SIunits.TemperatureT1_init (from ElementFrame_2FluidPorts_2ShaftPorts)288.15
Modelica.SIunits.SpecificEnthalpyh1_init (from ElementFrame_2FluidPorts_2ShaftPorts)1.004*1000*288.15
Initialization › fluid_2
Modelica.SIunits.MassFlowRatem_flow2_init (from ElementFrame_2FluidPorts_2ShaftPorts)-1.0*m_flow1_init
Modelica.SIunits.Pressurep2_init (from ElementFrame_2FluidPorts_2ShaftPorts)101.3*1000
Modelica.SIunits.TemperatureT2_init (from ElementFrame_2FluidPorts_2ShaftPorts)288.15
Modelica.SIunits.SpecificEnthalpyh2_init (from ElementFrame_2FluidPorts_2ShaftPorts)1.004*1000*288.15
switch
switches.switch_defineDesValueswitchDef_NcDes_1 (from Compressor_Base)switches.switch_defineDesValue.calcByDesStates
switches.switch_defineDesValueswitchDef_WcDes_1 (from Compressor_Base)switches.switch_defineDesValue.calcByDesStates
PropulsionSystem.Types.switches.switch_parameter_inputswitchInput_Wc_1PropulsionSystem.Types.switches.switch_parameter_input.asCalculated
PropulsionSystem.Types.switches.switch_parameter_inputswitchInput_PRPropulsionSystem.Types.switches.switch_parameter_input.use_desValue
PropulsionSystem.Types.switches.switch_parameter_inputswitchInput_effPropulsionSystem.Types.switches.switch_parameter_input.use_desValue

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_1 (from ElementFrame_2FluidPorts_2ShaftPorts)
Modelica.Fluid.Interfaces.FluidPort_bport_2 (from ElementFrame_2FluidPorts_2ShaftPorts)
Modelica.Mechanics.Rotational.Interfaces.Flange_aflange_1 (from ElementFrame_2FluidPorts_2ShaftPorts)
Modelica.Mechanics.Rotational.Interfaces.Flange_bflange_2 (from ElementFrame_2FluidPorts_2ShaftPorts)
Types.ElementBuselementBus1 (from ElementFrame_2FluidPorts_2ShaftPorts)
Modelica.Blocks.Interfaces.RealInputWc_1_in
Modelica.Blocks.Interfaces.RealInputPR_in
Modelica.Blocks.Interfaces.RealInputeff_in

Components

TypeNameDefaultDescription
Medium.BasePropertiesfluid_1 (from ElementFrame_2FluidPorts_2ShaftPorts)flow station of inlet
Medium.BasePropertiesfluid_2 (from ElementFrame_2FluidPorts_2ShaftPorts)flow station of outlet
Modelica.SIunits.Powerpwr (from ElementFrame_2FluidPorts_2ShaftPorts)power via shaft, positive if fluid generates power
Modelica.SIunits.Torquetrq (from ElementFrame_2FluidPorts_2ShaftPorts)trq via shaft
Modelica.SIunits.Powerpwr_inv (from ElementFrame_2FluidPorts_2ShaftPorts)power via shaft
Modelica.SIunits.Torquetrq_inv (from ElementFrame_2FluidPorts_2ShaftPorts)trq via shaft
Modelica.SIunits.AngularVelocityomega (from ElementFrame_2FluidPorts_2ShaftPorts)mechanical rotation speed, rad/sec
Modelica.SIunits.Anglephi (from ElementFrame_2FluidPorts_2ShaftPorts)mechanical rotation displacement, rad
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNmech (from ElementFrame_2FluidPorts_2ShaftPorts)mechanical rotation speed, rpm
RealNqNdes (from ElementFrame_2FluidPorts_2ShaftPorts)ratio of mech. rotational speed with respect to design pt. speed
Modelica.SIunits.MassFlowRateWc_1 (from Compressor_Base)corrected mass flow rate
RealPR (from Compressor_Base)pressure ratio
Realeff (from Compressor_Base)adiabatic efficiency
Modelica.SIunits.SpecificEnthalpydht_is (from Compressor_Base)specific enthalpy change in isentropic compression
Modelica.SIunits.SpecificEnthalpydht (from Compressor_Base)specific enthalpy change in non-isentropic compression
Modelica.SIunits.SpecificEnthalpyh_2is (from Compressor_Base)
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNc_1 (from Compressor_Base)corrected rotation speed, rpm
RealNcqNcDes_1 (from Compressor_Base)
Modelica.SIunits.MassFlowRateWcDes_1 (from Compressor_Base)corrected mass flow rate
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNcDes_1 (from Compressor_Base)
PropulsionSystem.EngineSimEnvironmentenvironment (from Compressor_Base)System wide properties
Modelica.SIunits.MassFlowRateWcCalc_1