modelCompressorBase01

Information

Document html page

example/demo models

-> none, because this class partial

classes which this component call (those in MSL are not listed)

-> none

classes which extends this component

Parameters

TypeNameDefaultDescription
Assumptions
BooleanallowAbnormalOperationfalse= true to allow compressor to operate as 'turbine' where PR<=1, false to restrict 1<PR
BooleanallowFlowReversalfalse= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
debug setting
BooleanprintCmdfalse
Initialization › fluid_1
Modelica.SIunits.MassFlowRatem_flow1_init1.0
Modelica.SIunits.Pressurep1_init101.3*1000
Modelica.SIunits.TemperatureT1_init288.15
Modelica.SIunits.SpecificEnthalpyh1_initT1_init*1.004*1000*288.15
Initialization › fluid_2
Modelica.SIunits.MassFlowRatem_flow2_init-1.0*m_flow1_init
Modelica.SIunits.Pressurep2_init20*101.3*1000
Modelica.SIunits.TemperatureT2_init500
Modelica.SIunits.SpecificEnthalpyh2_initT2_init*1.004*1000
Initialization › flange_1
Modelica.SIunits.Torquetau1_init0.1
Modelica.SIunits.Anglephi1_initphi_init
Initialization › flange_2
Modelica.SIunits.Torquetau2_initpwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0)
Modelica.SIunits.Anglephi2_initphi_init
Initialization › others
RealPR_initp2_init/p1_init
Realeff_init0.8
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNmech_init3000.0
RealNcqNcDes_1_init1.0
RealNqNdes_initNcqNcDes_1_init
Modelica.SIunits.MassFlowRateWc_1_initm_flow1_init
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNc_1_initNmech_init
Modelica.SIunits.SpecificEnthalpydht_init490000.0
Modelica.SIunits.SpecificEnthalpydht_is_init390000.0
Modelica.SIunits.Powerpwr_init5.0*10.0^5
Modelica.SIunits.Torquetrq_initpwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0)
Modelica.SIunits.Anglephi_init1.0
Modelica.SIunits.SpecificEntropys_fluid_1_init6800.0
Modelica.SIunits.SpecificEntropys_fluid_2_init7000.0

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_1
Modelica.Fluid.Interfaces.FluidPort_bport_2
Modelica.Mechanics.Rotational.Interfaces.Flange_aflange_1
Modelica.Mechanics.Rotational.Interfaces.Flange_bflange_2
PropulsionSystem.Types.ElementBuselementBus1

Components

TypeNameDefaultDescription
Modelica.SIunits.Powerpwrpower via shaft, positive if fluid generates power
Modelica.SIunits.Torquetrqtrq via shaft
Modelica.SIunits.Powerpwr_invpower via shaft
Modelica.SIunits.Torquetrq_invtrq via shaft
Modelica.SIunits.AngularVelocityomegamechanical rotation speed, rad/sec
Modelica.SIunits.Anglephimechanical rotation displacement, rad
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNmechmechanical rotation speed, rpm
Modelica.SIunits.MassFlowRateWc_1corrected mass flow rate
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNc_1corrected rotation speed, rpm
RealPRpressure ratio
Realeffadiabatic efficiency
Modelica.SIunits.SpecificEnthalpydht_isspecific enthalpy change in isentropic compression
Modelica.SIunits.SpecificEnthalpydhtspecific enthalpy change in non-isentropic compression
Modelica.SIunits.SpecificEnthalpyh_2is
Modelica.SIunits.MassFlowRatem_flow_max
Modelica.SIunits.MassFlowRatem_flow_min
Modelica.SIunits.SpecificEntropys_fluid_1specific entropy, fluid_1
Modelica.SIunits.SpecificEntropys_fluid_2specific entropy, fluid_2
RealNcqNcDes_1ratio of corrected rotational speed with respect to design pt. speed
RealNqNdesratio of mech. rotational speed with respect to design pt. speed
IntegerflagEffVal0:0<eff<1, 1:eff<=0, 2:1<=eff
PropulsionSystem.EngineSimEnvironmentenvironmentSystem wide properties
Medium.BasePropertiesfluid_1flow station of inlet
Medium.BasePropertiesfluid_2flow station of outlet

Contents

NameDescription
Medium