modelCompressorBase00
Information
Document html pageexample/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
| Type | Name | Default | Description |
|---|---|---|---|
| Assumptions | |||
| Boolean | allowAbnormalOperation | false | = true to allow compressor to operate as 'turbine' where PR<=1, false to restrict 1<PR |
| Boolean | allowFlowReversal | false | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| debug setting | |||
| Boolean | printCmd | false | |
| Initialization › fluid_1 | |||
| Modelica.SIunits.MassFlowRate | m_flow1_init | 1.0 | |
| Modelica.SIunits.Pressure | p1_init | 101.3*1000 | |
| Modelica.SIunits.Temperature | T1_init | 288.15 | |
| Modelica.SIunits.SpecificEnthalpy | h1_init | T1_init*1.004*1000*288.15 | |
| Initialization › fluid_2 | |||
| Modelica.SIunits.MassFlowRate | m_flow2_init | -1.0*m_flow1_init | |
| Modelica.SIunits.Pressure | p2_init | 20*101.3*1000 | |
| Modelica.SIunits.Temperature | T2_init | 500 | |
| Modelica.SIunits.SpecificEnthalpy | h2_init | T2_init*1.004*1000 | |
| Initialization › flange_1 | |||
| Modelica.SIunits.Torque | tau1_init | 0.1 | |
| Modelica.SIunits.Angle | phi1_init | phi_init | |
| Initialization › flange_2 | |||
| Modelica.SIunits.Torque | tau2_init | pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0) | |
| Modelica.SIunits.Angle | phi2_init | phi_init | |
| Initialization › others | |||
| Real | PR_init | p2_init/p1_init | |
| Real | eff_init | 0.8 | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nmech_init | 3000.0 | |
| Real | NcqNcDes_1_init | 1.0 | |
| Real | NqNdes_init | NcqNcDes_1_init | |
| Modelica.SIunits.MassFlowRate | Wc_1_init | m_flow1_init | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nc_1_init | Nmech_init | |
| Modelica.SIunits.SpecificEnthalpy | dht_init | 490000.0 | |
| Modelica.SIunits.SpecificEnthalpy | dht_is_init | 390000.0 | |
| Modelica.SIunits.Power | pwr_init | 5.0*10.0^(5) | |
| Modelica.SIunits.Torque | trq_init | pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0) | |
| Modelica.SIunits.Angle | phi_init | 1.0 | |
| Modelica.SIunits.SpecificEntropy | s_fluid_1_init | 6800.0 | |
| Modelica.SIunits.SpecificEntropy | s_fluid_2_init | 7000.0 | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_1 | ||
| Modelica.Fluid.Interfaces.FluidPort_b | port_2 | ||
| Modelica.Mechanics.Rotational.Interfaces.Flange_a | flange_1 | ||
| Modelica.Mechanics.Rotational.Interfaces.Flange_b | flange_2 | ||
| PropulsionSystem.Types.ElementBus | elementBus1 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Power | pwr | power via shaft, positive if fluid generates power | |
| Modelica.SIunits.Torque | trq | trq via shaft | |
| Modelica.SIunits.Power | pwr_inv | power via shaft | |
| Modelica.SIunits.Torque | trq_inv | trq via shaft | |
| Modelica.SIunits.AngularVelocity | omega | mechanical rotation speed, rad/sec | |
| Modelica.SIunits.Angle | phi | mechanical rotation displacement, rad | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nmech | mechanical rotation speed, rpm | |
| Modelica.SIunits.MassFlowRate | Wc_1 | corrected mass flow rate | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nc_1 | corrected rotation speed, rpm | |
| Real | PR | pressure ratio | |
| Real | eff | adiabatic efficiency | |
| Modelica.SIunits.SpecificEnthalpy | dht_is | specific enthalpy change in isentropic compression | |
| Modelica.SIunits.SpecificEnthalpy | dht | specific enthalpy change in non-isentropic compression | |
| Modelica.SIunits.SpecificEnthalpy | h_2is | ||
| Modelica.SIunits.MassFlowRate | m_flow_max | ||
| Modelica.SIunits.MassFlowRate | m_flow_min | ||
| Modelica.SIunits.SpecificEntropy | s_fluid_1 | specific entropy, fluid_1 | |
| Modelica.SIunits.SpecificEntropy | s_fluid_2 | specific entropy, fluid_2 | |
| Modelica.SIunits.MassFlowRate | Wc_1_des | corrected mass flow rate, fluid_1, design point | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | NmechDes | mechanical rotation speed, rpm | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nc_1_des | ||
| Real | PRdes | ||
| Real | effDes | ||
| Real | NcqNcDes_1 | ratio of corrected rotational speed with respect to design pt. speed | |
| Real | NqNdes | ratio of mech. rotational speed with respect to design pt. speed | |
| Integer | flagEffVal | 0:0<eff<1, 1:eff<=0, 2:1<=eff | |
| PropulsionSystem.EngineSimEnvironment | environment | System wide properties | |
| Medium.BaseProperties | fluid_1 | flow station of inlet | |
| Medium.BaseProperties | fluid_2 | flow station of outlet |
Contents
| Name | Description |
|---|---|