modelQStar
Calculator for q* under charging mode
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
This block calculates the normalized heat transfer rate q* between the chilled water and the ice in the thermal storage tank using
q* Δt = C1 + C2x + C3 x2 + [C4 + C5x + C6 x2]ΔTlmtd*
where Δt is the time step of the data samples used for the curve fitting, C1-6 are the curve fit coefficients, x is the fraction of charging, also known as the state-of-charge, and Tlmtd* is the normalized LMTD calculated using Buildings.Fluid.Storage.Ice.BaseClasses.calculateLMTDStar.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real[6] | coeff | Coefficients for qstar curve | |
| Real | dt | Time step of curve fitting data |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanInput | active | Set to true if this tank mode can be active | |
| Modelica.Blocks.Interfaces.RealInput | x | SOC for charging, or 1-SOC for discharging | |
| Modelica.Blocks.Interfaces.RealInput | lmtdSta | Normalized LMTD | |
| Modelica.Blocks.Interfaces.RealOutput | qNor | Normalized heat transfer rate |
Revisions
-
January 26, 2022, by Michael Wetter:
Refactored model to new architecture. -
December 8, 2021, by Yangyang Fu:
First implementation.