modelCmpCharFixed00
Extends from PropulsionSystem.BaseClasses.BasicElements.CompressorBase00, PropulsionSystem.BaseClasses.BasicElements.CompressorBaseDefDesPt00.
Information
Document html pageexample/demo models
- PropulsionSystem.Examples.BasicElements.CmpCharFixed00_ex01
- PropulsionSystem.Examples.BasicElements.CmpCharFixed00_ex02
- PropulsionSystem.Examples.BasicElements.Cmp_and_Trb_ex01
- PropulsionSystem.Examples.BasicElements.Cmp_and_Trb_ex02
classes which this component call (those in MSL are not listed)
-> none
classes from which this component extend
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Assumptions | |||
| Boolean | allowAbnormalOperation (from CompressorBase00) | false | = true to allow compressor to operate as 'turbine' where PR<=1, false to restrict 1<PR |
| Boolean | allowFlowReversal (from CompressorBase00) | false | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| debug setting | |||
| Boolean | printCmd (from CompressorBase00) | false | |
| Initialization › fluid_1 | |||
| Modelica.SIunits.MassFlowRate | m_flow1_init (from CompressorBase00) | 1.0 | |
| Modelica.SIunits.Pressure | p1_init (from CompressorBase00) | 101.3*1000 | |
| Modelica.SIunits.Temperature | T1_init (from CompressorBase00) | 288.15 | |
| Modelica.SIunits.SpecificEnthalpy | h1_init (from CompressorBase00) | T1_init*1.004*1000*288.15 | |
| Initialization › fluid_2 | |||
| Modelica.SIunits.MassFlowRate | m_flow2_init (from CompressorBase00) | -1.0*m_flow1_init | |
| Modelica.SIunits.Pressure | p2_init (from CompressorBase00) | 20*101.3*1000 | |
| Modelica.SIunits.Temperature | T2_init (from CompressorBase00) | 500 | |
| Modelica.SIunits.SpecificEnthalpy | h2_init (from CompressorBase00) | T2_init*1.004*1000 | |
| Initialization › flange_1 | |||
| Modelica.SIunits.Torque | tau1_init (from CompressorBase00) | 0.1 | |
| Modelica.SIunits.Angle | phi1_init (from CompressorBase00) | phi_init | |
| Initialization › flange_2 | |||
| Modelica.SIunits.Torque | tau2_init (from CompressorBase00) | pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0) | |
| Modelica.SIunits.Angle | phi2_init (from CompressorBase00) | phi_init | |
| Initialization › others | |||
| Real | PR_init (from CompressorBase00) | p2_init/p1_init | |
| Real | eff_init (from CompressorBase00) | 0.8 | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nmech_init (from CompressorBase00) | 3000.0 | |
| Real | NcqNcDes_1_init (from CompressorBase00) | 1.0 | |
| Real | NqNdes_init (from CompressorBase00) | NcqNcDes_1_init | |
| Modelica.SIunits.MassFlowRate | Wc_1_init (from CompressorBase00) | m_flow1_init | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nc_1_init (from CompressorBase00) | Nmech_init | |
| Modelica.SIunits.SpecificEnthalpy | dht_init (from CompressorBase00) | 490000.0 | |
| Modelica.SIunits.SpecificEnthalpy | dht_is_init (from CompressorBase00) | 390000.0 | |
| Modelica.SIunits.Power | pwr_init (from CompressorBase00) | 5.0*10.0^(5) | |
| Modelica.SIunits.Torque | trq_init (from CompressorBase00) | pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0) | |
| Modelica.SIunits.Angle | phi_init (from CompressorBase00) | 1.0 | |
| Modelica.SIunits.SpecificEntropy | s_fluid_1_init (from CompressorBase00) | 6800.0 | |
| Modelica.SIunits.SpecificEntropy | s_fluid_2_init (from CompressorBase00) | 7000.0 | |
| switch | |||
| PropulsionSystem.Types.switches.switchHowToDetVar | switchDetermine_PR | PropulsionSystem.Types.switches.switchHowToDetVar.param | switch how to determine PR |
| Boolean | use_u_eff | false | get eff from the real input connector |
| Component characteristics | |||
| Real | PRdes_paramInput | 10 | pressure ratio, valid only when switchDetermine_PR==param, value fixed through simulation |
| Real | effDes_paramInput | 0.80 | adiabatic efficiency, valid only when use_u_eff==false, value fixed through simulation |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_1 (from CompressorBase00) | ||
| Modelica.Fluid.Interfaces.FluidPort_b | port_2 (from CompressorBase00) | ||
| Modelica.Mechanics.Rotational.Interfaces.Flange_a | flange_1 (from CompressorBase00) | ||
| Modelica.Mechanics.Rotational.Interfaces.Flange_b | flange_2 (from CompressorBase00) | ||
| PropulsionSystem.Types.ElementBus | elementBus1 (from CompressorBase00) | ||
| Modelica.Blocks.Interfaces.RealInput | u_PR | PR input, valid only when switchDetermine_PR==viaRealInput | |
| Modelica.Blocks.Interfaces.RealInput | u_eff | eff input, valid only when use_u_eff==true |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Power | pwr (from CompressorBase00) | power via shaft, positive if fluid generates power | |
| Modelica.SIunits.Torque | trq (from CompressorBase00) | trq via shaft | |
| Modelica.SIunits.Power | pwr_inv (from CompressorBase00) | power via shaft | |
| Modelica.SIunits.Torque | trq_inv (from CompressorBase00) | trq via shaft | |
| Modelica.SIunits.AngularVelocity | omega (from CompressorBase00) | mechanical rotation speed, rad/sec | |
| Modelica.SIunits.Angle | phi (from CompressorBase00) | mechanical rotation displacement, rad | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nmech (from CompressorBase00) | mechanical rotation speed, rpm | |
| Modelica.SIunits.MassFlowRate | Wc_1 (from CompressorBase00) | corrected mass flow rate | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nc_1 (from CompressorBase00) | corrected rotation speed, rpm | |
| Real | PR (from CompressorBase00) | pressure ratio | |
| Real | eff (from CompressorBase00) | adiabatic efficiency | |
| Modelica.SIunits.SpecificEnthalpy | dht_is (from CompressorBase00) | specific enthalpy change in isentropic compression | |
| Modelica.SIunits.SpecificEnthalpy | dht (from CompressorBase00) | specific enthalpy change in non-isentropic compression | |
| Modelica.SIunits.SpecificEnthalpy | h_2is (from CompressorBase00) | ||
| Modelica.SIunits.MassFlowRate | m_flow_max (from CompressorBase00) | ||
| Modelica.SIunits.MassFlowRate | m_flow_min (from CompressorBase00) | ||
| Modelica.SIunits.SpecificEntropy | s_fluid_1 (from CompressorBase00) | specific entropy, fluid_1 | |
| Modelica.SIunits.SpecificEntropy | s_fluid_2 (from CompressorBase00) | specific entropy, fluid_2 | |
| Modelica.SIunits.MassFlowRate | Wc_1_des (from CompressorBase00) | corrected mass flow rate, fluid_1, design point | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | NmechDes (from CompressorBase00) | mechanical rotation speed, rpm | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nc_1_des (from CompressorBase00) | ||
| Real | PRdes (from CompressorBase00) | ||
| Real | effDes (from CompressorBase00) | ||
| Real | NcqNcDes_1 (from CompressorBase00) | ratio of corrected rotational speed with respect to design pt. speed | |
| Real | NqNdes (from CompressorBase00) | ratio of mech. rotational speed with respect to design pt. speed | |
| Integer | flagEffVal (from CompressorBase00) | 0:0<eff<1, 1:eff<=0, 2:1<=eff | |
| PropulsionSystem.EngineSimEnvironment | environment (from CompressorBase00) | System wide properties | |
| Medium.BaseProperties | fluid_1 (from CompressorBase00) | flow station of inlet | |
| Medium.BaseProperties | fluid_2 (from CompressorBase00) | flow station of outlet | |
| PropulsionSystem.Records.ThermoFluidProperties | fluid_1_des (from CompressorBaseDefDesPt00) | ||
| PropulsionSystem.Records.ThermoFluidProperties | fluid_2_des (from CompressorBaseDefDesPt00) | ||
| PropulsionSystem.Records.RotationalMachineVariables | flange_1_des (from CompressorBaseDefDesPt00) | ||
| PropulsionSystem.Records.RotationalMachineVariables | flange_2_des (from CompressorBaseDefDesPt00) | ||
| PropulsionSystem.Records.CompressorVariables | variablesDes (from CompressorBaseDefDesPt00) |