blockTankChargeFraction
Tank charge fraction
Information
The tank charge fraction y is computed as the
5-minute moving average of the following expression:
(∑i (TTani - min(TTanSet)) / (max(TTanSet) - min(TTanSet)) / nTTan - fraUslTan) / (1 - fraUslTan),
where TTani is the measurement from the i-th temperature sensor
along the vertical axis of the tank,
TTanSet are the tank temperature setpoints (two values for each tank cycle),
nTTan is the number of temperature sensors along the vertical axis of the tank,
fraUslTan is the useless fraction of the tank which is computed as
shown in
Buildings.DHC.Plants.Combined.Controls.BaseClasses.ModeCondenserLoop.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nTTan | Number of tank temperature points | |
| Real[2,2] | TTanSet | Tank temperature setpoints: 2 cycles with 2 setpoints | |
| Real | fraUslTan | Useless fraction of TES |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput[nTTan] | TTan | TES tank temperature | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Tank charge fraction |
Components
Revisions
-
February 12, 2025, by Jianjun Hu:
First implementation.