modelCompressorRealGasIsothermal_L1_simple

Simple isothermal compressor or fan for a one phase VLE fluid

Extends from Base.PartialCompressorRealGas_L1_simple (Partial compressor model for real gases with constant efficiency).

Information

1. Purpose of model

This model represents an isothermal compressor for real gases. It is a modified version of the model ClaRa.Components.TurboMachines.Compressors.CompressorGas_L1_simple from ClaRa version 1.2.1. The model is documented there and here only the changes are described.

2. Level of detail, physical effects considered, and physical insight

The model was changed to work with real gases and to model an isothermal compression. Also, mechanical and electrical efficiencies were added.

3. Limits of validity

Only valid for real gases, positive pressure differences and ideal isothermal compression. Variable efficiencies and time-dependent behavior are not considered.

4. Interfaces

gasPortIn: real gas inlet

gasPortOut: real gas outlet

m_flow_in: input for mass flow rate in [kg/s]

V_flow_in: input for volume flow rate in [m3/s]

P_el_in: input for electrical power in [W]

dp_in: input for pressure difference in [Pa]

5. Nomenclature

(no elements)

6. Governing Equations

The specific work for the reversible isothermal compression is calculated using equations from Baehr and Kabelac [1].


The electrical power is determined using the mechanical and electrical efficiencies.



7. Remarks for Usage

(no remarks)

8. Validation

(no remarks)

9. References

[1] Baehr, H. D., Kabelac, S. (2012). Thermodynamik: Grundlagen und technische Anwendungen. Springer-Verlag.

10. Version History


Model created by Carsten Bode (c.bode@tuhh.de) on Tue Sep 20 2016

Parameters

TypeNameDefaultDescription
TransiEnt.Basics.Types.TypeOfResourcetypeOfResource (from PartialCompressorRealGas_L1_simple)TransiEnt.Basics.Types.TypeOfResource.ConsumerType of energy resource for global model statistics
Summary and Visualisation
BooleancontributeToCycleSummary (from PartialCompressorRealGas_L1_simple)simCenter.contributeToCycleSummaryTrue if component shall contribute to automatic efficiency calculation
Fundamental Definitions
TILMedia.VLEFluidTypes.BaseVLEFluidmedium (from PartialCompressorRealGas_L1_simple)simCenter.gasModel1
SI.Efficiencyeta_mech (from PartialCompressorRealGas_L1_simple)0.95Mechanical efficiency
SI.Efficiencyeta_el (from PartialCompressorRealGas_L1_simple)0.97Electrical efficiency
PresetVariableTypepresetVariableType (from PartialCompressorRealGas_L1_simple)"V_flow"Specifies which variable is preset
BooleanuseMechPowerPort (from PartialCompressorRealGas_L1_simple)falsetrue if mechanical power port shall be visible
Electrical power
Booleanuse_P_elInput (from PartialCompressorRealGas_L1_simple)false= true, if P_el defined by input
SI.PowerP_el_fixed (from PartialCompressorRealGas_L1_simple)5e3Fixed value for electrical power
Shaft power
Booleanuse_P_shaftInput (from PartialCompressorRealGas_L1_simple)false= true, if P_shaft defined by input
SI.PowerP_shaft_fixed (from PartialCompressorRealGas_L1_simple)5e3Fixed value for shaft power
Pressure Increase
Booleanuse_Delta_p_input (from PartialCompressorRealGas_L1_simple)false= true, if Delta_p defined by input
SI.PressureDelta_p_fixed (from PartialCompressorRealGas_L1_simple)0.1e5Fixed value for pressure increase
Mass Flow Rate
Booleanm_flowInput (from PartialCompressorRealGas_L1_simple)false= true, if m_flow defined by input
SI.MassFlowRatem_flow_fixed (from PartialCompressorRealGas_L1_simple)0.5Fixed value for gas mass flow rate
Volume Flow Rate
BooleanV_flowInput (from PartialCompressorRealGas_L1_simple)false= true, if V_flow defined by input
SI.VolumeFlowRateV_flow_fixed (from PartialCompressorRealGas_L1_simple)0.5e-3Fixed value for gas volume flow rate
Statistics
BooleanintegrateElPower (from PartialCompressorRealGas_L1_simple)simCenter.integrateElPowertrue if electric powers shall be integrated
BooleancalculateCost (from PartialCompressorRealGas_L1_simple)simCenter.calculateCosttrue if cost shall be calculated
SI.PowerP_el_n (from PartialCompressorRealGas_L1_simple)1e3Nominal power for cost calculation
TransiEnt.Basics.Units.MonetaryUnitPerEnergyCspec_demAndRev_el (from PartialCompressorRealGas_L1_simple)simCenter.Cspec_demAndRev_freeSpecific demand-related cost per electric energy
Initialization
SI.PressureDifferenceDelta_p_start (from PartialCompressorRealGas_L1_simple)100Initial value for pressure difference
Expert Settings
Booleanallow_reverseFlow (from PartialCompressorRealGas_L1_simple)falsetrue if reverse flow should be prohibited (might be faster if small reverse flow occurs at almost zero flow)

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Gas.RealGasPortIngasPortIn (from PartialCompressorRealGas_L1_simple)inlet flow
TransiEnt.Basics.Interfaces.Gas.RealGasPortOutgasPortOut (from PartialCompressorRealGas_L1_simple)outlet flow
TransiEnt.Basics.Interfaces.General.PressureDifferenceIndp_in (from PartialCompressorRealGas_L1_simple)Prescribed pressure increase
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_el_in (from PartialCompressorRealGas_L1_simple)Prescribed electric power
TransiEnt.Basics.Interfaces.General.VolumeFlowRateInV_flow_in (from PartialCompressorRealGas_L1_simple)Prescribed volume flow rate
TransiEnt.Basics.Interfaces.General.MassFlowRateInm_flow_in (from PartialCompressorRealGas_L1_simple)Prescribed mass flow rate
TransiEnt.Basics.Interfaces.General.MechanicalPowerInP_shaft_in (from PartialCompressorRealGas_L1_simple)Prescribed shaft power
Basics.Interfaces.General.MechanicalPowerPortmpp (from PartialCompressorRealGas_L1_simple)

Components

TypeNameDefaultDescription
RealhOut (from PartialCompressorRealGas_L1_simple)
SI.PressureDelta_p (from PartialCompressorRealGas_L1_simple)pressure increase
SI.PowerP_hyd (from PartialCompressorRealGas_L1_simple)Hydraulic power
SI.PowerP_shaft (from PartialCompressorRealGas_L1_simple)Drive power
SI.PowerP_el (from PartialCompressorRealGas_L1_simple)Electrical power
SI.VolumeFlowRateV_flow (from PartialCompressorRealGas_L1_simple)
TransiEnt.SimCentersimCenter (from PartialCompressorRealGas_L1_simple)
TransiEnt.ModelStatisticsmodelStatistics (from PartialCompressorRealGas_L1_simple)
ClaRa.Basics.Interfaces.Connected2SimCenterconnected2SimCenter (from PartialCompressorRealGas_L1_simple)
Summarysummary (from PartialCompressorRealGas_L1_simple)
Boundaries.Mechanical.Powerpower (from PartialCompressorRealGas_L1_simple)
Modelica.Blocks.Sources.RealExpressionrealExpression (from PartialCompressorRealGas_L1_simple)