modelPistonCylinder4strkBase00
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Assumptions | |||
| Boolean | allowFlowReversal | false | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| 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 | |
| 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 | |||
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nmech_init | 3000.0 | |
| Modelica.SIunits.Power | pwr_init | -5.0*10.0^5 | |
| Modelica.SIunits.Power | pwr_cmp_init | 100 | power of compression |
| Modelica.SIunits.Power | pwr_exp_init | -100 | power of expansion |
| Modelica.SIunits.Torque | trq_init | pwr_init/(Nmech_init*2.0*Modelica.Constants.pi/60.0) | |
| Modelica.SIunits.Angle | phi_init | 0.0 | |
| Modelica.SIunits.HeatFlowRate | Q_add_init | 100 | heat added into fluid |
| Modelica.SIunits.HeatFlowRate | Q_reject_init | -100 | heat rejected from fluid |
| Modelica.SIunits.SpecificEntropy | s_fluid_1_init | 6800.0 | |
| Modelica.SIunits.SpecificEntropy | s_fluid_2_init | 7000.0 | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.Rotational.Interfaces.Flange_a | flange_1 | ||
| Modelica.Mechanics.Rotational.Interfaces.Flange_b | flange_2 | ||
| Modelica.Fluid.Interfaces.FluidPort_a | port_1 | ||
| Modelica.Fluid.Interfaces.FluidPort_b | port_2 | ||
| PropulsionSystem.Types.ElementBus | elementBus1 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.AngularVelocity | omega | mechanical rotation speed, rad/sec | |
| Modelica.SIunits.Conversions.NonSIunits.AngularVelocity_rpm | Nmech | mechanical rotation speed, rpm | |
| Modelica.SIunits.Angle | phi | mechanical rotation displacement, rad | |
| Modelica.SIunits.Torque | trq | trq via shaft | |
| Modelica.SIunits.Torque | trqOut | trq via shaft | |
| Modelica.SIunits.MassFlowRate | m_flow_max | ||
| Modelica.SIunits.MassFlowRate | m_flow_min | ||
| Modelica.SIunits.VolumeFlowRate | V_flow | volume flow rate through piston-cylinder | |
| Modelica.SIunits.MassFlowRate | m_flow | mass flow rate through piston-cylinder | |
| Modelica.SIunits.Volume | VolDisp | displacement | |
| Modelica.SIunits.Volume | VolBDC | volume, at BDC(bottom dead center) | |
| Modelica.SIunits.Volume | VolTDC | volume, at TDC(top dead center) | |
| Real | CR | Compression Ratio | |
| Modelica.SIunits.Work | WoutCycle | work output, single cycle | |
| Modelica.SIunits.Work | Wout | ||
| Modelica.SIunits.Power | pwr | power via shaft, positive if fluid generates power | |
| Modelica.SIunits.Power | pwrOut | power via shaft, positive if fluid generates power | |
| Modelica.SIunits.Power | pwr_cmp | power of compression | |
| Modelica.SIunits.Power | pwr_exp | power of expansion | |
| Modelica.SIunits.HeatFlowRate | Q_add | heat added into fluid | |
| Modelica.SIunits.HeatFlowRate | Q_reject | heat rejected from fluid | |
| Modelica.SIunits.EnthalpyFlowRate | dH_1_2_cycle | ||
| Modelica.SIunits.EnergyFlowRate | dU_1_2_cycle | ||
| Modelica.SIunits.SpecificEntropy | s_fluid_1 | specific entropy, fluid_1 | |
| Modelica.SIunits.SpecificEntropy | s_fluid_2 | specific entropy, fluid_2 | |
| Modelica.SIunits.SpecificEnergy | pwrQm | specific power, pwr/m_flow | |
| Modelica.SIunits.SpecificEnergy | pwrQmOut | specific power, pwrOut/m_flow | |
| Real | trqQm | specific torque, trq/m_flow | |
| Real | trqQmOut | specific torque, trqOut/m_flow | |
| Medium.BaseProperties | fluid_1 | flow station of inlet | |
| Medium.BaseProperties | fluid_2 | flow station of outlet |
Contents
| Name | Description |
|---|---|