modelFlowExergyMeter

Extends from AixLib.Fluid.Interfaces.PartialTwoPort, Modelica.Icons.RoundSensor.

Information

Overview

The model calculates the exergy content of a medium flow consisting of multiple substances. The reference environment is variable and modeled using a boundary with temperature, pressure and composition as input. The medium model is replaceable. The physical enthalpy and entropy are determined using the respective sensors from MSL. The sensor is ideal, i.e., it does not influence the fluid.

  • by Marc Baranski and Roozbeh Sangi:
    implemented

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInput[Medium.nX]X_refReference composition
Modelica.Fluid.Sources.Boundary_pTreferenceEnvironmentThe reference environment used for exergy calculations
Modelica.Fluid.Sensors.MassFlowRatemassFlowRateMass flow rate of the medium flow used in exergy calculations
Modelica.Fluid.Sensors.SpecificEntropyspecificEntropySpecific entropy of the medium flow used in exergy calculations
Modelica.Fluid.Sensors.SpecificEnthalpyspecificEnthalpySpecific enthalpy of the medium flow used in exergy calculations
Modelica.Blocks.Interfaces.RealInputT_refReference temperature
Modelica.Blocks.Interfaces.RealInputp_refReference pressure
Modelica.Fluid.Sensors.SpecificEnthalpyspecificEnthalpyRefSpecific enthalpy of the reference environment
Modelica.Fluid.Sensors.SpecificEntropyspecificEntropy_refSpecific entropy of the reference environment
Modelica.Blocks.Interfaces.RealOutputexergyFlowExergy content of the medium flow
Modelica.Blocks.Math.AddenthalpyDifferenceDifference between enthalpy content of medium flow and reference environment
Modelica.Blocks.Math.AddentropyDifferenceDifference between entropy content of medium flow and reference environment
Modelica.Blocks.Math.ProductproductWithReferenceTemperatureCalculate the product of reference temperature and entropy
Modelica.Blocks.Math.AddspecificExergySpecific exergy as difference of enthalpy and product of reference temperature and entropy
Modelica.Blocks.Math.ProductexergyFlowRateExergy flow rate as product of specific exergy and mass flow rate