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:

Parameters

TypeNameDefaultDescription
Real[6]coeChaCoefficients for charging curve
RealdtChaTime step of curve fitting data
Real[6]coeDisChaCoefficients for discharging curve
RealdtDisChaTime step of curve fitting data

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputqNorNormalized heat transfer rate: charging when postive, discharge when negative
Modelica.Blocks.Interfaces.RealInputSOCState of charge
Modelica.Blocks.Interfaces.RealInputlmtdStaLMTD star
Modelica.Blocks.Interfaces.BooleanInputcanFreezeSet to true if tank can be charged
Modelica.Blocks.Interfaces.BooleanInputcanMeltSet 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.