modelQStar

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.QStar.

Parameters

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

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.CosinefraFraction of charge
Modelica.Blocks.Sources.ConstantlmtdLog mean temperature difference
Buildings.Fluid.Storage.Ice.BaseClasses.QStarqSta
Controls.OBC.CDL.Logical.Sources.ConstantactiveOutputs true to activate the component

Revisions

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