modelTrbCharTable02

Extends from PropulsionSystem.BaseClasses.BasicElements.TurbineBase01, PropulsionSystem.BaseClasses.BasicElements.TurbineBaseDefDesPt01.

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 TurbineBase01)false= true to allow turbine to operate as 'compressor' where PR<=1, false to restrict 1<PR
BooleanallowFlowReversal (from TurbineBase01)false= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
debug setting
BooleanprintCmd (from TurbineBase01)false
Initialization › fluid_1
Modelica.SIunits.MassFlowRatem_flow1_init (from TurbineBase01)1.0
Modelica.SIunits.Pressurep1_init (from TurbineBase01)PR_init*101.3*1000
Modelica.SIunits.TemperatureT1_init (from TurbineBase01)1600
Modelica.SIunits.SpecificEnthalpyh1_init (from TurbineBase01)1600*1.004*1000
Initialization › fluid_2
Modelica.SIunits.MassFlowRatem_flow2_init (from TurbineBase01)-1.0*m_flow1_init
Modelica.SIunits.Pressurep2_init (from TurbineBase01)5.0*101.3*1000
Modelica.SIunits.TemperatureT2_init (from TurbineBase01)1000
Modelica.SIunits.SpecificEnthalpyh2_init (from TurbineBase01)T2_init*1.004*1000
Initialization › flange_1
Modelica.SIunits.Torquetau1_init (from TurbineBase01)pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0)
Modelica.SIunits.Anglephi1_init (from TurbineBase01)phi_init
Initialization › flange_2
Modelica.SIunits.Torquetau2_init (from TurbineBase01)0.1
Modelica.SIunits.Anglephi2_init (from TurbineBase01)phi_init
Initialization › others
RealPR_init (from TurbineBase01)4.0
Realeff_init (from TurbineBase01)0.8
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNmech_init (from TurbineBase01)3000.0
RealNcqNcDes_1_init (from TurbineBase01)1.0
RealNqNdes_init (from TurbineBase01)NcqNcDes_1_init
Modelica.SIunits.MassFlowRateWc_1_init (from TurbineBase01)m_flow1_init
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNc_1_init (from TurbineBase01)Nmech_init
Modelica.SIunits.SpecificEnthalpydht_init (from TurbineBase01)430000.0
Modelica.SIunits.SpecificEnthalpydht_is_init (from TurbineBase01)540000.0
Modelica.SIunits.Powerpwr_init (from TurbineBase01)-4.0*10.0^5
Modelica.SIunits.Torquetrq_init (from TurbineBase01)pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0)
Modelica.SIunits.Anglephi_init (from TurbineBase01)1.0
Modelica.SIunits.SpecificEntropys_fluid_1_init (from TurbineBase01)7800.0
Modelica.SIunits.SpecificEntropys_fluid_2_init (from TurbineBase01)7900.0
switch
Booleanswitch_calcOnlyDesfalseuse this component for only design pt. calc.
PropulsionSystem.Types.switches.switchHowToDetVarswitchDetermine_PRPropulsionSystem.Types.switches.switchHowToDetVar.asCalculatedswitch how to determine PR
Booleanuse_u_efffalseget eff from the real input connector
switch about table file reading
Booleanuse_tableFile_Wctrue
Booleanuse_tableFile_efftrue
PropulsionSystem.Types.switches.switchTableDataResourceswitchTableDataLocationPropulsionSystem.Types.switches.switchTableDataResource.inLibraryDirectorywhere table data file is located, valid if use_tableFile_..==true
switch about interpolation
Modelica.Blocks.Types.SmoothnessswitchSmoothness_WcModelica.Blocks.Types.Smoothness.ContinuousDerivative
Modelica.Blocks.Types.SmoothnessswitchSmoothness_effModelica.Blocks.Types.Smoothness.ContinuousDerivative
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
Component sizing
RealNcTblDes_paramInput1.0design point definition on characteristics table
RealPRtblDes_paramInput2.0design point definition on table
table file read setting
StringpathName_tableFileInSimExeDir"./tableData/table_Turbine_WcEff_NcPR00.txt"relative path under sim. exe. file directory
StringpathName_tableFileInLibPackage"modelica://PropulsionSystem/tableData/table_Turbine_WcEff_NcPR00.txt"path in library sub-directory
StringtableName_Wc"Wc_NcPR"
StringtableName_eff"eff_NcPR"

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_1 (from TurbineBase01)
Modelica.Fluid.Interfaces.FluidPort_bport_2 (from TurbineBase01)
Modelica.Mechanics.Rotational.Interfaces.Flange_aflange_1 (from TurbineBase01)
Modelica.Mechanics.Rotational.Interfaces.Flange_bflange_2 (from TurbineBase01)
PropulsionSystem.Types.ElementBuselementBus1 (from TurbineBase01)
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.SpecificEntropys_fluid_1 (from TurbineBase01)specific entropy, fluid_1
Modelica.SIunits.SpecificEntropys_fluid_2 (from TurbineBase01)specific entropy, fluid_2
Modelica.SIunits.Powerpwr (from TurbineBase01)power via shaft, positive if fluid generates power
Modelica.SIunits.Torquetrq (from TurbineBase01)trq via shaft
Modelica.SIunits.Powerpwr_inv (from TurbineBase01)power via shaft
Modelica.SIunits.Torquetrq_inv (from TurbineBase01)trq via shaft
Modelica.SIunits.AngularVelocityomega (from TurbineBase01)mechanical rotation speed, rad/sec
Modelica.SIunits.Anglephi (from TurbineBase01)mechanical rotation displacement, rad
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNmech (from TurbineBase01)mechanical rotation speed, rpm
Modelica.SIunits.MassFlowRateWc_1 (from TurbineBase01)corrected mass flow rate
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNc_1 (from TurbineBase01)corrected rotation speed, rpm
RealPR (from TurbineBase01)pressure ratio
Realeff (from TurbineBase01)adiabatic efficiency
Modelica.SIunits.SpecificEnthalpydht_is (from TurbineBase01)specific enthalpy change in isentropic compression
Modelica.SIunits.SpecificEnthalpydht (from TurbineBase01)specific enthalpy change in non-isentropic compression
Modelica.SIunits.SpecificEnthalpyh_2is (from TurbineBase01)
Modelica.SIunits.MassFlowRatem_flow_max (from TurbineBase01)
Modelica.SIunits.MassFlowRatem_flow_min (from TurbineBase01)
RealNcqNcDes_1 (from TurbineBase01)ratio of corrected rotational speed with respect to design pt. speed
RealNqNdes (from TurbineBase01)ratio of mech. rotational speed with respect to design pt. speed
PropulsionSystem.EngineSimEnvironmentenvironment (from TurbineBase01)System wide properties
Medium.BasePropertiesfluid_1 (from TurbineBase01)flow station of inlet
Medium.BasePropertiesfluid_2 (from TurbineBase01)flow station of outlet
RealPRtbl
RealNcTbl
Modelica.SIunits.MassFlowRateWcTblScld
RealPRtblScld
RealeffTblScld
Reals_NcTbl
Reals_WcTbl
Reals_PRtbl
Reals_effTbl
RealauxVar
PropulsionSystem.Subelements.TurbineTable_WcEff_NcPR00TrbTbl_WcEff_NcPR_des
PropulsionSystem.Subelements.TurbineTable_WcEff_NcPR00TrbTbl_WcEff_NcPR_op