modelCmpCharFixed00

Extends from PropulsionSystem.BaseClasses.BasicElements.CompressorBase00, PropulsionSystem.BaseClasses.BasicElements.CompressorBaseDefDesPt00.

Information

Document html page

example/demo models

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

-> none

classes from which this component extend

Parameters

TypeNameDefaultDescription
Assumptions
BooleanallowAbnormalOperation (from CompressorBase00)false= true to allow compressor to operate as 'turbine' where PR<=1, false to restrict 1<PR
BooleanallowFlowReversal (from CompressorBase00)false= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
debug setting
BooleanprintCmd (from CompressorBase00)false
Initialization › fluid_1
Modelica.SIunits.MassFlowRatem_flow1_init (from CompressorBase00)1.0
Modelica.SIunits.Pressurep1_init (from CompressorBase00)101.3*1000
Modelica.SIunits.TemperatureT1_init (from CompressorBase00)288.15
Modelica.SIunits.SpecificEnthalpyh1_init (from CompressorBase00)T1_init*1.004*1000*288.15
Initialization › fluid_2
Modelica.SIunits.MassFlowRatem_flow2_init (from CompressorBase00)-1.0*m_flow1_init
Modelica.SIunits.Pressurep2_init (from CompressorBase00)20*101.3*1000
Modelica.SIunits.TemperatureT2_init (from CompressorBase00)500
Modelica.SIunits.SpecificEnthalpyh2_init (from CompressorBase00)T2_init*1.004*1000
Initialization › flange_1
Modelica.SIunits.Torquetau1_init (from CompressorBase00)0.1
Modelica.SIunits.Anglephi1_init (from CompressorBase00)phi_init
Initialization › flange_2
Modelica.SIunits.Torquetau2_init (from CompressorBase00)pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0)
Modelica.SIunits.Anglephi2_init (from CompressorBase00)phi_init
Initialization › others
RealPR_init (from CompressorBase00)p2_init/p1_init
Realeff_init (from CompressorBase00)0.8
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNmech_init (from CompressorBase00)3000.0
RealNcqNcDes_1_init (from CompressorBase00)1.0
RealNqNdes_init (from CompressorBase00)NcqNcDes_1_init
Modelica.SIunits.MassFlowRateWc_1_init (from CompressorBase00)m_flow1_init
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNc_1_init (from CompressorBase00)Nmech_init
Modelica.SIunits.SpecificEnthalpydht_init (from CompressorBase00)490000.0
Modelica.SIunits.SpecificEnthalpydht_is_init (from CompressorBase00)390000.0
Modelica.SIunits.Powerpwr_init (from CompressorBase00)5.0*10.0^(5)
Modelica.SIunits.Torquetrq_init (from CompressorBase00)pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0)
Modelica.SIunits.Anglephi_init (from CompressorBase00)1.0
Modelica.SIunits.SpecificEntropys_fluid_1_init (from CompressorBase00)6800.0
Modelica.SIunits.SpecificEntropys_fluid_2_init (from CompressorBase00)7000.0
switch
PropulsionSystem.Types.switches.switchHowToDetVarswitchDetermine_PRPropulsionSystem.Types.switches.switchHowToDetVar.paramswitch how to determine PR
Booleanuse_u_efffalseget eff from the real input connector
Component characteristics
RealPRdes_paramInput10pressure ratio, valid only when switchDetermine_PR==param, value fixed through simulation
RealeffDes_paramInput0.80adiabatic efficiency, valid only when use_u_eff==false, value fixed through simulation

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_1 (from CompressorBase00)
Modelica.Fluid.Interfaces.FluidPort_bport_2 (from CompressorBase00)
Modelica.Mechanics.Rotational.Interfaces.Flange_aflange_1 (from CompressorBase00)
Modelica.Mechanics.Rotational.Interfaces.Flange_bflange_2 (from CompressorBase00)
PropulsionSystem.Types.ElementBuselementBus1 (from CompressorBase00)
Modelica.Blocks.Interfaces.RealInputu_PRPR input, valid only when switchDetermine_PR==viaRealInput
Modelica.Blocks.Interfaces.RealInputu_effeff input, valid only when use_u_eff==true

Components

TypeNameDefaultDescription
Modelica.SIunits.Powerpwr (from CompressorBase00)power via shaft, positive if fluid generates power
Modelica.SIunits.Torquetrq (from CompressorBase00)trq via shaft
Modelica.SIunits.Powerpwr_inv (from CompressorBase00)power via shaft
Modelica.SIunits.Torquetrq_inv (from CompressorBase00)trq via shaft
Modelica.SIunits.AngularVelocityomega (from CompressorBase00)mechanical rotation speed, rad/sec
Modelica.SIunits.Anglephi (from CompressorBase00)mechanical rotation displacement, rad
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNmech (from CompressorBase00)mechanical rotation speed, rpm
Modelica.SIunits.MassFlowRateWc_1 (from CompressorBase00)corrected mass flow rate
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNc_1 (from CompressorBase00)corrected rotation speed, rpm
RealPR (from CompressorBase00)pressure ratio
Realeff (from CompressorBase00)adiabatic efficiency
Modelica.SIunits.SpecificEnthalpydht_is (from CompressorBase00)specific enthalpy change in isentropic compression
Modelica.SIunits.SpecificEnthalpydht (from CompressorBase00)specific enthalpy change in non-isentropic compression
Modelica.SIunits.SpecificEnthalpyh_2is (from CompressorBase00)
Modelica.SIunits.MassFlowRatem_flow_max (from CompressorBase00)
Modelica.SIunits.MassFlowRatem_flow_min (from CompressorBase00)
Modelica.SIunits.SpecificEntropys_fluid_1 (from CompressorBase00)specific entropy, fluid_1
Modelica.SIunits.SpecificEntropys_fluid_2 (from CompressorBase00)specific entropy, fluid_2
Modelica.SIunits.MassFlowRateWc_1_des (from CompressorBase00)corrected mass flow rate, fluid_1, design point
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNmechDes (from CompressorBase00)mechanical rotation speed, rpm
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNc_1_des (from CompressorBase00)
RealPRdes (from CompressorBase00)
RealeffDes (from CompressorBase00)
RealNcqNcDes_1 (from CompressorBase00)ratio of corrected rotational speed with respect to design pt. speed
RealNqNdes (from CompressorBase00)ratio of mech. rotational speed with respect to design pt. speed
IntegerflagEffVal (from CompressorBase00)0:0<eff<1, 1:eff<=0, 2:1<=eff
PropulsionSystem.EngineSimEnvironmentenvironment (from CompressorBase00)System wide properties
Medium.BasePropertiesfluid_1 (from CompressorBase00)flow station of inlet
Medium.BasePropertiesfluid_2 (from CompressorBase00)flow station of outlet
PropulsionSystem.Records.ThermoFluidPropertiesfluid_1_des (from CompressorBaseDefDesPt00)
PropulsionSystem.Records.ThermoFluidPropertiesfluid_2_des (from CompressorBaseDefDesPt00)
PropulsionSystem.Records.RotationalMachineVariablesflange_1_des (from CompressorBaseDefDesPt00)
PropulsionSystem.Records.RotationalMachineVariablesflange_2_des (from CompressorBaseDefDesPt00)
PropulsionSystem.Records.CompressorVariablesvariablesDes (from CompressorBaseDefDesPt00)