Deviation of water mass fractions in StaticTwoPortHeatMassExchange #4488
Unanswered
BartgeierXC
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Basic description
@Laszlo1968 and me are modeling a moisture exchanger for a fuel cell system. For this we are using the Buildings library, as described in the following:
The model mainly consists of two linked submodels of the library:
Buildings.Fluid.Interfaces.StaticTwoPortHeatMassExchange.
As depicted below, the humidifier StaticTwoPortHeatMassExchange part of this model adds moisture to the dry air coming from the environment or out of a compressor in the amount which is specified by a certain defined efficiency.
The dehumidifier StaticTwoPortHeatMassExchange submodel takes the water/steam out of the moist air coming from the FC-Stack.
A certain amount of water is then given to the humidifier part of the model depending on an exchange effectiveness.
The mass flow rate of the exchanged water is given by the variable mWat_flow.
Water exchange effectiveness
Calculating the effectiveness in terms of water exchange is done as follows:
Equation:
mWat,flow = mflow,a1 · ϵL − mflow,a2
The water mass flow rate of the hot moist air stream entering port_a1 is calculated by multiplying the signals of two sensors:
The effectiveness of water exchange is defined as a function of the air volume flow rate at port_a2 (in standard liters per minute).
Energy balance
The energy balance consists mainly of two parts: sensible heat (QSensible) and latent heat (QLatent).
Together with thermal losses to the environment, these form the total transferred heat QTrans.
The thermodynamic states and mass flow rates of the entering streams determine the maximum sensible heat that can be exchanged:
C1,flow = max(porta1.mflow · Medium.specificHeatCapacityCp(dehumidifier.staa), 1.0e−6)
C2,flow = max(porta2.mflow · Medium.specificHeatCapacityCp(humidifier.staa), 1.0e−6)
Then:
QMax,flow = CMin,flow · (senTema2.T − senTema1.T)
where
CMin,flow = min(C1,flow, C2,flow)
Sensors:
Sensible heat effectiveness
If the temperature conditions for some operating points are given, the effectiveness of the sensible part is expressed as:
QSens = ϵS · QMax,flow
TSens1 = (QSens / CMin,flow + senTema1.T) − 273.15
TSens2 = (senTema2.T − QSens / CMin,flow) − 273.15
The two calculated temperatures, TSens1 and TSens2, represent the values at the outgoing ports (port_b1 and port_b2). An empirical function gives a value for ϵS.
Total transferred heat
The total amount of transferred heat and corresponding water mass flow is considered as:
QVapT0 + QSens
with
QVapT0 = hVapT0 · dehumidifier.mWat,flow
where hVapT0 denotes the specific evaporation enthalpy of water at standard reference conditions.
The final transferred heat is adjusted using an offset PI-controller:
QTrans = firstOrderQflow.y
dehumidifier.Qflow = QTrans
humidifier.Qflow = −QTrans
Feedback condition:
senTemb2.T − TSens2 = 0
Mass fraction calculation
Using the sensor signals after the humidifier and dehumidifier does not yield proper results, since sensor-based outgoing mass fractions (_OM) deviate from the calculated values (_CV).
To obtain correct water mass fractions, the following calculations are applied:
Xw,dehumOut = (massFracH2Oa1.Xi · senMasFloa1.mflow − mWat,flow) / senMasFlob1.mflow
Xw,humOut = (massFracH2Oa2.Xi · senMasFloa2.mflow + mWat,flow) / senMasFlob2.mflow
Deviations in the sensor-based signals influence the energy balance due to incorrect water content,
which also affects the specific enthalpy. The deviations can also be observed directily when comparing the calculated with the measured mass fractions:
Does anybody have an idea where the deviation stems from or how to determine it? Maybe somebody had similar experiences working with MoistAir massfractions or the StaticTwoPortHeatMassExchange?
The corresponding Modelica code for this model description can be found attached here:
FCSHumidifier.txt
Beta Was this translation helpful? Give feedback.
All reactions