modelNormalizedHeatFlowRate

Example to calculate qStar

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example is to validate the Buildings.Fluid.Storage.Ice.BaseClasses.NormalizedHeatFlowRate.

Parameters

TypeNameDefaultDescription
Real[6]coeCha{0, 0.09, -0.15, 0.612, -0.324, -0.216}Coefficient for charging curve
Real[6]coeDisCha{0, 0.09, -0.15, 0.612, -0.324, -0.216}Coefficient for discharging curve
Realdt3600Time step used in the samples for curve fitting

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.CosinefraFraction of charge
Buildings.Fluid.Storage.Ice.BaseClasses.NormalizedHeatFlowRatenorQStaStorage heat transfer rate
Modelica.Blocks.Sources.Steplmtdlmtd start
Controls.OBC.CDL.Reals.GreaterThresholdgreThrSwitch the change between charging and discharging mode
Controls.OBC.CDL.Logical.Notnot1

Revisions

  • December 8, 2021, by Yangyang Fu:
    First implementation.