modelTrbCharTable00
Extends from PropulsionSystem.BaseClasses.BasicElements.TurbineBase00, PropulsionSystem.BaseClasses.BasicElements.TurbineBaseDefDesPt00.
Information
Document html pageexample/demo models
- PropulsionSystem.Examples.BasicElements.TrbCharFixed00_ex01
- PropulsionSystem.Examples.BasicElements.TrbCharFixed00_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 TurbineBase00) | false | = true to allow turbine to operate as 'compressor' where PR<=1, false to restrict 1<PR |
| Boolean | allowFlowReversal (from TurbineBase00) | false | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| debug setting | |||
| Boolean | printCmd (from TurbineBase00) | false | |
| Initialization › fluid_1 | |||
| Modelica.SIunits.MassFlowRate | m_flow1_init (from TurbineBase00) | 1.0 | |
| Modelica.SIunits.Pressure | p1_init (from TurbineBase00) | PR_init*101.3*1000 | |
| Modelica.SIunits.Temperature | T1_init (from TurbineBase00) | 1600 | |
| Modelica.SIunits.SpecificEnthalpy | h1_init (from TurbineBase00) | 1600*1.004*1000 | |
| Initialization › fluid_2 | |||
| Modelica.SIunits.MassFlowRate | m_flow2_init (from TurbineBase00) | -1.0*m_flow1_init | |
| Modelica.SIunits.Pressure | p2_init (from TurbineBase00) | 5.0*101.3*1000 | |
| Modelica.SIunits.Temperature | T2_init (from TurbineBase00) | 1000 | |
| Modelica.SIunits.SpecificEnthalpy | h2_init (from TurbineBase00) | T2_init*1.004*1000 | |
| Initialization › flange_1 | |||
| Modelica.SIunits.Torque | tau1_init (from TurbineBase00) | pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0) | |
| Modelica.SIunits.Angle | phi1_init (from TurbineBase00) | phi_init | |
| Initialization › flange_2 | |||
| Modelica.SIunits.Torque | tau2_init (from TurbineBase00) | 0.1 | |
| Modelica.SIunits.Angle | phi2_init (from TurbineBase00) | phi_init | |
| Initialization › others | |||
| Real | PR_init (from TurbineBase00) | 4.0 | |
| Real | eff_init (from TurbineBase00) | 0.8 | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nmech_init (from TurbineBase00) | 3000.0 | |
| Real | NcqNcDes_1_init (from TurbineBase00) | 1.0 | |
| Real | NqNdes_init (from TurbineBase00) | NcqNcDes_1_init | |
| Modelica.SIunits.MassFlowRate | Wc_1_init (from TurbineBase00) | m_flow1_init | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nc_1_init (from TurbineBase00) | Nmech_init | |
| Modelica.SIunits.SpecificEnthalpy | dht_init (from TurbineBase00) | 430000.0 | |
| Modelica.SIunits.SpecificEnthalpy | dht_is_init (from TurbineBase00) | 540000.0 | |
| Modelica.SIunits.Power | pwr_init (from TurbineBase00) | -4.0*10.0^(5) | |
| Modelica.SIunits.Torque | trq_init (from TurbineBase00) | pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0) | |
| Modelica.SIunits.Angle | phi_init (from TurbineBase00) | 1.0 | |
| Modelica.SIunits.SpecificEntropy | s_fluid_1_init (from TurbineBase00) | 7800.0 | |
| Modelica.SIunits.SpecificEntropy | s_fluid_2_init (from TurbineBase00) | 7900.0 | |
| switch | |||
| Boolean | use_u_s_WcAud | false | |
| Boolean | use_u_a_WcAud | false | |
| Boolean | use_u_s_effAud | false | |
| Boolean | use_u_a_effAud | false | |
| switch about table file reading | |||
| Boolean | use_tableFile_Wc | true | |
| Boolean | use_tableFile_eff | true | |
| PropulsionSystem.Types.switches.switchTableDataResource | switchTableDataLocation | PropulsionSystem.Types.switches.switchTableDataResource.inLibraryDirectory | where table data file is located, valid if use_tableFile_..==true |
| switch about interpolation | |||
| Modelica.Blocks.Types.Smoothness | switchSmoothness_Wc | Modelica.Blocks.Types.Smoothness.ContinuousDerivative | |
| Modelica.Blocks.Types.Smoothness | switchSmoothness_eff | Modelica.Blocks.Types.Smoothness.ContinuousDerivative | |
| Component characteristics | |||
| Real | effDes_paramInput | 0.80 | adiabatic efficiency, valid only when use_u_eff==false, value fixed through simulation |
| Component sizing | |||
| Modelica.SIunits.MassFlowRate | m_flow_1_des_paramInput | 1.0 | |
| Modelica.SIunits.Pressure | p1_des_paramInput | 10*101.325*1000 | |
| Modelica.SIunits.Temperature | T1_des_paramInput | 1600.0 | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | NmechDes_paramInput | 3000.0 | |
| Real | NcTblDes_paramInput | 1.0 | design point definition on characteristics table |
| Real | PRtblDes_paramInput | 2.0 | design point definition on table |
| table file read setting | |||
| String | pathName_tableFileInSimExeDir | "./tableData/table_Turbine_WcEff_NcPR00.txt" | relative path under sim. exe. file directory |
| String | pathName_tableFileInLibPackage | "modelica://PropulsionSystem/tableData/table_Turbine_WcEff_NcPR00.txt" | path in library sub-directory |
| String | tableName_Wc | "Wc_NcPR" | |
| String | tableName_eff | "eff_NcPR" | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_1 (from TurbineBase00) | ||
| Modelica.Fluid.Interfaces.FluidPort_b | port_2 (from TurbineBase00) | ||
| Modelica.Mechanics.Rotational.Interfaces.Flange_a | flange_1 (from TurbineBase00) | ||
| Modelica.Mechanics.Rotational.Interfaces.Flange_b | flange_2 (from TurbineBase00) | ||
| PropulsionSystem.Types.ElementBus | elementBus1 (from TurbineBase00) | ||
| Modelica.Blocks.Interfaces.RealInput | u_s_WcAud | ||
| Modelica.Blocks.Interfaces.RealInput | u_s_effAud | ||
| Modelica.Blocks.Interfaces.RealInput | u_a_WcAud | ||
| Modelica.Blocks.Interfaces.RealInput | u_a_effAud |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.SpecificEntropy | s_fluid_1 (from TurbineBase00) | specific entropy, fluid_1 | |
| Modelica.SIunits.SpecificEntropy | s_fluid_2 (from TurbineBase00) | specific entropy, fluid_2 | |
| Modelica.SIunits.Power | pwr (from TurbineBase00) | power via shaft, positive if fluid generates power | |
| Modelica.SIunits.Torque | trq (from TurbineBase00) | trq via shaft | |
| Modelica.SIunits.Power | pwr_inv (from TurbineBase00) | power via shaft | |
| Modelica.SIunits.Torque | trq_inv (from TurbineBase00) | trq via shaft | |
| Modelica.SIunits.AngularVelocity | omega (from TurbineBase00) | mechanical rotation speed, rad/sec | |
| Modelica.SIunits.Angle | phi (from TurbineBase00) | mechanical rotation displacement, rad | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nmech (from TurbineBase00) | mechanical rotation speed, rpm | |
| Modelica.SIunits.MassFlowRate | Wc_1 (from TurbineBase00) | corrected mass flow rate | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nc_1 (from TurbineBase00) | corrected rotation speed, rpm | |
| Real | PR (from TurbineBase00) | pressure ratio | |
| Real | eff (from TurbineBase00) | adiabatic efficiency | |
| Modelica.SIunits.SpecificEnthalpy | dht_is (from TurbineBase00) | specific enthalpy change in isentropic compression | |
| Modelica.SIunits.SpecificEnthalpy | dht (from TurbineBase00) | specific enthalpy change in non-isentropic compression | |
| Modelica.SIunits.SpecificEnthalpy | h_2is (from TurbineBase00) | ||
| Modelica.SIunits.MassFlowRate | m_flow_max (from TurbineBase00) | ||
| Modelica.SIunits.MassFlowRate | m_flow_min (from TurbineBase00) | ||
| Modelica.SIunits.MassFlowRate | Wc_1_des (from TurbineBase00) | corrected mass flow rate, fluid_1, design point | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | NmechDes (from TurbineBase00) | mechanical rotation speed, rpm | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nc_1_des (from TurbineBase00) | ||
| Real | PRdes (from TurbineBase00) | ||
| Real | effDes (from TurbineBase00) | ||
| Real | NcqNcDes_1 (from TurbineBase00) | ratio of corrected rotational speed with respect to design pt. speed | |
| Real | NqNdes (from TurbineBase00) | ratio of mech. rotational speed with respect to design pt. speed | |
| PropulsionSystem.EngineSimEnvironment | environment (from TurbineBase00) | System wide properties | |
| Medium.BaseProperties | fluid_1 (from TurbineBase00) | flow station of inlet | |
| Medium.BaseProperties | fluid_2 (from TurbineBase00) | flow station of outlet | |
| PropulsionSystem.Records.ThermoFluidProperties | fluid_1_des (from TurbineBaseDefDesPt00) | ||
| PropulsionSystem.Records.ThermoFluidProperties | fluid_2_des (from TurbineBaseDefDesPt00) | ||
| PropulsionSystem.Records.RotationalMachineVariables | flange_1_des (from TurbineBaseDefDesPt00) | ||
| PropulsionSystem.Records.RotationalMachineVariables | flange_2_des (from TurbineBaseDefDesPt00) | ||
| PropulsionSystem.Records.CompressorVariables | variablesDes (from TurbineBaseDefDesPt00) | ||
| Real | s_WcAud | ||
| Real | s_effAud | ||
| Real | a_WcAud | ||
| Real | a_effAud | ||
| PropulsionSystem.Subelements.ScalerDesTrb_WcEffNcPR00 | ScalerDesTrb | ||
| PropulsionSystem.Subelements.TurbineTable_WcEff_NcPR00 | TrbTbl_WcEff_NcPR | ||
| PropulsionSystem.Subelements.SclTrb_WcEff00 | SclTrb | ||
| Modelica.Blocks.Math.Division | division_NcTbl | ||
| Modelica.Blocks.Math.Division | division_PRtbl | ||
| Modelica.Blocks.Math.Add | add_PRtbl | ||
| Modelica.Blocks.Sources.Constant | const | ||
| Modelica.Blocks.Math.Feedback | feedback_PRtbl | ||
| Modelica.Blocks.Sources.Constant | const1 |