modelGasNode

Information

GasNode

This components allows to model an ideally mixed gas volume of constant size.

It is assumed that the volume is high enough regarding the flow at boundaries to consider a zero velocity in the volume. Indeed, all the kinetic energy from boundaries is instantanetly dissipated to heat.

First, the Total properties derives from the medium class herited from the BasesProperties model of the Medium package.

Where:

  • m is the mass contains in the gas node
  • medium.d is the density of the medium in the gas node
  • V is the geometrical volume of the gas node
  • U is the total internal energy in the gas node
  • medium.u is the specific internal energy of the medium in the gas node
  • mXi is the vector of independent mass of each species in the gas node
  • medium.Xi is the vector of independent mass fraction of each species of the medium in the gas node
  • mC is the vector of independent mass of each traces species in the gas node
  • c is the vector of independent mass concentration of each traces species of the medium in the gas node

The dynamic behavior of the total properties derives from the first principe of thermodynamics for the energy balance and from the mass conservation for the mass balance. The balance is performed from boundaries (ports):

Where:

  • m_flow is the net mass flow rate coming of leaving the gas node from the mass flow rate balance between all the ports
  • mXi_flow is the vector of net independent mass flow rate coming of leaving the gas node from the mass flow rate balance between all the ports
  • Q_flow is the net heat flow rate through the frontiers of the gas node from the heat flow rate balance of the heatPort
  • H_flow is the net enthalpy flow rate from the balance between the entering and leaving enthalpy transported by the mass flow rate at boundaries

Parameters

TypeNameDefaultDescription
IntegernPorts0Number of fluidport
SI.VolumeV1Geometric Volume of the gas node
Assumptions › Dynamics
Types.DynamicsenergyDynamicsDynamics.FixedInitialFormulation of energy balance
Types.DynamicsmassDynamicsDynamics.FixedInitialFormulation of mass balance
Types.DynamicssubstanceDynamicsmassDynamicsFormulation of substance balance
Types.DynamicstraceDynamicsmassDynamicsFormulation of trace substance balance
Initialization
SI.AbsolutePressurep_start101325Initial absolute static pressure
SI.TemperatureT_start293.15Initial temperature
RealRH_start0.6Initial relative humidity (pmoisture/psat) <= 1

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_a[nPorts]fluidPort
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort
TAeZoSysPro.FluidDynamics.Interfaces.FlowPort_aflowPort

Components

TypeNameDefaultDescription
Medium.BasePropertiesmedium
SI.MassmMass of mixture
SI.Mass[Medium.nXi]mXiMasses of independent components in the fluid
SI.MassmCMasses of trace substances in the fluid
Medium.ExtraProperty[Medium.nC]CTrace substance mixture content
SI.InternalEnergyUInternal energy of mixing
SI.MassFlowRatemb_flowMass flows across boundaries
SI.MassFlowRatembXi_flowSubstance mass flows across boundaries
Medium.MassFlowRate[nPorts,Medium.nXi]ports_mXi_flow
Medium.ExtraPropertyFlowRatembC_flowTrace substance mass flows across boundaries
SI.EnthalpyFlowRateHb_flowEnthalpy flow across boundaries or energy source/sink
SI.HeatFlowRateQb_flowHeat flow across boundaries or energy source/sink

Contents

NameDescription
Medium
Medium_MoistAirTAezo