modelPistonCylinderNonidealOttoMV01

Extends from PropulsionSystem.BaseClasses.BasicElements.PistonCylinder4strkBase00.

Parameters

TypeNameDefaultDescription
RealCR_paramInput12.0compression ratio
Modelica.SIunits.VolumeVolDisp_paramInput100.0*10.0^(-6.0)displacement
Modelica.SIunits.SpecificEnthalpyLHV_fuel_paramInput43.4*10.0^6.0lower heating value of fuel
Assumptions
BooleanallowFlowReversal (from PistonCylinder4strkBase00)false= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Initialization › fluid_1
Modelica.SIunits.MassFlowRatem_flow1_init (from PistonCylinder4strkBase00)1.0
Modelica.SIunits.Pressurep1_init (from PistonCylinder4strkBase00)101.3*1000
Modelica.SIunits.TemperatureT1_init (from PistonCylinder4strkBase00)288.15
Modelica.SIunits.SpecificEnthalpyh1_init (from PistonCylinder4strkBase00)T1_init*1.004*1000
Initialization › fluid_2
Modelica.SIunits.MassFlowRatem_flow2_init (from PistonCylinder4strkBase00)-1.0*m_flow1_init
Modelica.SIunits.Pressurep2_init (from PistonCylinder4strkBase00)20*101.3*1000
Modelica.SIunits.TemperatureT2_init (from PistonCylinder4strkBase00)500
Modelica.SIunits.SpecificEnthalpyh2_init (from PistonCylinder4strkBase00)T2_init*1.004*1000
Initialization › flange_1
Modelica.SIunits.Torquetau1_init (from PistonCylinder4strkBase00)0.1
Modelica.SIunits.Anglephi1_init (from PistonCylinder4strkBase00)phi_init
Initialization › flange_2
Modelica.SIunits.Torquetau2_init (from PistonCylinder4strkBase00)pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0)
Modelica.SIunits.Anglephi2_init (from PistonCylinder4strkBase00)phi_init
Initialization › others
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNmech_init (from PistonCylinder4strkBase00)3000.0
Modelica.SIunits.Powerpwr_init (from PistonCylinder4strkBase00)-5.0*10.0^5
Modelica.SIunits.Powerpwr_cmp_init (from PistonCylinder4strkBase00)100power of compression
Modelica.SIunits.Powerpwr_exp_init (from PistonCylinder4strkBase00)-100power of expansion
Modelica.SIunits.Torquetrq_init (from PistonCylinder4strkBase00)pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0)
Modelica.SIunits.Anglephi_init (from PistonCylinder4strkBase00)0.0
Modelica.SIunits.HeatFlowRateQ_add_init (from PistonCylinder4strkBase00)100heat added into fluid
Modelica.SIunits.HeatFlowRateQ_reject_init (from PistonCylinder4strkBase00)-100heat rejected from fluid
Modelica.SIunits.SpecificEntropys_fluid_1_init (from PistonCylinder4strkBase00)6800.0
Modelica.SIunits.SpecificEntropys_fluid_2_init (from PistonCylinder4strkBase00)7000.0
switch
PropulsionSystem.Types.switches.switch_fuelswitchFuelTypePropulsionSystem.Types.switches.switch_fuel.gasolineswitch, fuel type, determines function used in effComb calculation.

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.Rotational.Interfaces.Flange_aflange_1 (from PistonCylinder4strkBase00)
Modelica.Mechanics.Rotational.Interfaces.Flange_bflange_2 (from PistonCylinder4strkBase00)
Modelica.Fluid.Interfaces.FluidPort_aport_1 (from PistonCylinder4strkBase00)
Modelica.Fluid.Interfaces.FluidPort_bport_2 (from PistonCylinder4strkBase00)
PropulsionSystem.Types.ElementBuselementBus1 (from PistonCylinder4strkBase00)
Modelica.Blocks.Interfaces.RealInputu_fracFuel
Modelica.Blocks.Interfaces.RealOutputy_m_flow_fuel
Modelica.Blocks.Interfaces.RealInputu_fracAir

Components

TypeNameDefaultDescription
Modelica.SIunits.AngularVelocityomega (from PistonCylinder4strkBase00)mechanical rotation speed, rad/sec
Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpmNmech (from PistonCylinder4strkBase00)mechanical rotation speed, rpm
Modelica.SIunits.Anglephi (from PistonCylinder4strkBase00)mechanical rotation displacement, rad
Modelica.SIunits.Torquetrq (from PistonCylinder4strkBase00)trq via shaft
Modelica.SIunits.TorquetrqOut (from PistonCylinder4strkBase00)trq via shaft
Modelica.SIunits.MassFlowRatem_flow_max (from PistonCylinder4strkBase00)
Modelica.SIunits.MassFlowRatem_flow_min (from PistonCylinder4strkBase00)
Modelica.SIunits.VolumeFlowRateV_flow (from PistonCylinder4strkBase00)volume flow rate through piston-cylinder
Modelica.SIunits.MassFlowRatem_flow (from PistonCylinder4strkBase00)mass flow rate through piston-cylinder
Modelica.SIunits.VolumeVolDisp (from PistonCylinder4strkBase00)displacement
Modelica.SIunits.VolumeVolBDC (from PistonCylinder4strkBase00)volume, at BDC(bottom dead center)
Modelica.SIunits.VolumeVolTDC (from PistonCylinder4strkBase00)volume, at TDC(top dead center)
RealCR (from PistonCylinder4strkBase00)Compression Ratio
Modelica.SIunits.WorkWoutCycle (from PistonCylinder4strkBase00)work output, single cycle
Modelica.SIunits.WorkWout (from PistonCylinder4strkBase00)
Modelica.SIunits.Powerpwr (from PistonCylinder4strkBase00)power via shaft, positive if fluid generates power
Modelica.SIunits.PowerpwrOut (from PistonCylinder4strkBase00)power via shaft, positive if fluid generates power
Modelica.SIunits.Powerpwr_cmp (from PistonCylinder4strkBase00)power of compression
Modelica.SIunits.Powerpwr_exp (from PistonCylinder4strkBase00)power of expansion
Modelica.SIunits.HeatFlowRateQ_add (from PistonCylinder4strkBase00)heat added into fluid
Modelica.SIunits.HeatFlowRateQ_reject (from PistonCylinder4strkBase00)heat rejected from fluid
Modelica.SIunits.EnthalpyFlowRatedH_1_2_cycle (from PistonCylinder4strkBase00)
Modelica.SIunits.EnergyFlowRatedU_1_2_cycle (from PistonCylinder4strkBase00)
Modelica.SIunits.SpecificEntropys_fluid_1 (from PistonCylinder4strkBase00)specific entropy, fluid_1
Modelica.SIunits.SpecificEntropys_fluid_2 (from PistonCylinder4strkBase00)specific entropy, fluid_2
Modelica.SIunits.SpecificEnergypwrQm (from PistonCylinder4strkBase00)specific power, pwr/m_flow
Modelica.SIunits.SpecificEnergypwrQmOut (from PistonCylinder4strkBase00)specific power, pwrOut/m_flow
RealtrqQm (from PistonCylinder4strkBase00)specific torque, trq/m_flow
RealtrqQmOut (from PistonCylinder4strkBase00)specific torque, trqOut/m_flow
Medium.BasePropertiesfluid_1 (from PistonCylinder4strkBase00)flow station of inlet
Medium.BasePropertiesfluid_2 (from PistonCylinder4strkBase00)flow station of outlet
Modelica.SIunits.MassFlowRatem_flow_fuelmass flow rate of fuel
Modelica.SIunits.SpecificEnthalpydh_state4_port2enthalpy change by puming, state4 to port2
Modelica.SIunits.PowerpwrPumpingpower of pumping, positive== pwr into fluid, or loss for 'engine'
Modelica.SIunits.PowerpwrIntkpower of intake stroke, positive== pwr into fluid, or loss for 'engine'
Modelica.SIunits.PowerpwrExhpower of exhaust stroke, positive== pwr into fluid, or loss for 'engine'
Modelica.SIunits.PowerpwrCyclepower by cycle, negative==pwr outof component
Modelica.SIunits.PowerpwrFuelSplyLHV of fuel*m_flow_fuel
Modelica.SIunits.WorkWintkCyclework of intake stroke, single cycle, positive== into fluid
Modelica.SIunits.WorkWexhCyclework of exhaust stroke, single cycle, positive== into fluid
RealpwrPumpingqPwrCyclepwrPumping / pwrCycle, positive==loss
Modelica.SIunits.Pressure[8]arr_p
Modelica.SIunits.Volume[8]arr_V
PropulsionSystem.Subelements.OttoCycleNonideal00OttoCycle
PropulsionSystem.Subelements.CombustionEfficiency00calcEffComb