blockLoadAverage

Compute the rolling average of the load on a system

Information

This block computes the load on a system based on the return temperature, active supply temperature setpoint and measured flow through the associated circuit flow meter, using the following equation.

  • For cooling applications: Q_flow = V_flow * rho_default * cp_default * (TSupSet - TRet)
  • For cooling applications: Q_flow = V_flow * rho_default * cp_default * (TRet - TSupSet)
  • For all applications: Q_flow less than or equal to zero means that there is no actual load on the system.

The output load QReq_flow is the rolling average of Q_flow over a period of dtMea.

Parameters

TypeNameDefaultDescription
Buildings.Templates.Plants.Controls.Types.ApplicationtypType of application
Realcp_defaultDefault specific heat capacity used to compute required capacity
Realrho_defaultDefault fluid density used to compute required capacity
RealdtMea300Duration used to compute the moving average of required capacity

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputTRetReturn temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputTSupSetActive supply temperature setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealInputV_flowVolume flow rate
Buildings.Controls.OBC.CDL.Interfaces.RealOutputQReq_flowLoad

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Reals.SubtractdelTCompute ∆T
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametercapFloCompute capacity flow rate
Buildings.Controls.OBC.CDL.Reals.MultiplycapReqCompute required capacity
Buildings.Controls.OBC.CDL.Reals.MovingAveragemovAveCompute moving average
Buildings.Controls.OBC.CDL.Reals.MultiplyByParameterpolHeaCooPolarity depending on heating or cooling application

Revisions

  • May 31, 2024, by Antoine Gautier:
    First implementation.