modelNormalizedHeatFlowRate
Charging or discharging rate based on the curves
Extends from Modelica.Blocks.Icons.Block.
Information
This blocks calculate the normalized heat transfer rate for the ice tank in charging or discharging mode.
The module use the following logic:
- If
canFreezeandcanMeltare bothfalse: the heat transfer rate is 0 - If
canMelt = true: the heat transfer rate is the discharging rate calculated using Buildings.Fluid.Storage.Ice.BaseClasses.QStar with coefficients for discharing mode. - If
canFreeze = true: the heat transfer rate is the charging rate calculated using Buildings.Fluid.Storage.Ice.BaseClasses.QStar with coefficients for charging mode.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real[6] | coeCha | Coefficients for charging curve | |
| Real | dtCha | Time step of curve fitting data | |
| Real[6] | coeDisCha | Coefficients for discharging curve | |
| Real | dtDisCha | Time step of curve fitting data |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | qNor | Normalized heat transfer rate: charging when postive, discharge when negative | |
| Modelica.Blocks.Interfaces.RealInput | SOC | State of charge | |
| Modelica.Blocks.Interfaces.RealInput | lmtdSta | LMTD star | |
| Modelica.Blocks.Interfaces.BooleanInput | canFreeze | Set to true if tank can be charged | |
| Modelica.Blocks.Interfaces.BooleanInput | canMelt | Set to true if tank can be melted |
Revisions
-
January 26, 2022, by Michael Wetter:
Refactored model to new architecture. -
December 8, 2021, by Yangyang Fu:
First implementation.