blockHoursToNextWarmup

Number of hours to next warmup period

Information

It calculates the total number of hours to next warmup period.

Parameters

TypeNameDefaultDescription
IntegerwarUpStaHou4Warmup period beginning hour

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyHours to next warmup period

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Reals.Sources.CivilTimecivTim
Buildings.Controls.OBC.CDL.Reals.Modulomod1
Buildings.Controls.OBC.CDL.Reals.Sources.Constantcon24 hours in seconds
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantwarUpBegWarmup period beginning hour
Buildings.Controls.OBC.CDL.Reals.GreatergreLater than the beginning hour of the warmup period
Buildings.Controls.OBC.CDL.Reals.Switchswi
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametergaiConvert to seconds
Buildings.Controls.OBC.CDL.Reals.AddParameteraddParAdd constant
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametergai1Gain factor
Buildings.Controls.OBC.CDL.Reals.SubtractsubFind difference
Buildings.Controls.OBC.CDL.Reals.Subtractsub1Find difference

Revisions

  • February 12, 2025, by Jianjun Hu:
    First implementation.