VirtualFCS.Fluid.CompressorInterface

Model Description and References

This partial class defines the interfaces of a mechanically-driven compressor, combining several standard Modelica classes.

Mechanical work is delivered to the compressor via a shaft, which connects flange_a and flange_b internally; this allows connecting a motor on one flange and a turbine on the other.

Heat can be set in different ways depending on the value of heatport: the exact mechanisms are set in child classes.

Governing Equations

-

Parameters

NameTypeUnitDefaultDescription
allowFlowReversalBoolean1system.allowFlowReversal= true to allow flow reversal, false restricts to design direction (port_a -> port_b) (inherited)
useHeatPortBoolean1false= true, if heatPort is enabled (inherited)
TModelica.Units.SI.TemperatureK293.15Fixed device temperature if useHeatPort = false (inherited)

Interfaces and Connections

NameKindTypeUnitDescription
port_aConnectionModelica.Fluid.Interfaces.FluidPort_aPa; kg/s; J/kgFluid connector a (positive design flow direction is from port_a to port_b)
port_bConnectionModelica.Fluid.Interfaces.FluidPort_bPa; kg/s; J/kgFluid connector b (positive design flow direction is from port_a to port_b)
heatPortConnectionModelica.Thermal.HeatTransfer.Interfaces.HeatPort_aK; WOptional port to which dissipated losses are transported in form of heat
flange_aConnectionModelica.Mechanics.Rotational.Interfaces.Flange_arad; N.mFlange of left shaft
flange_bConnectionModelica.Mechanics.Rotational.Interfaces.Flange_brad; N.mFlange of right shaft