blockHoursToNextWarmup
Number of hours to next warmup period
Information
It calculates the total number of hours to next warmup period.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | warUpStaHou | 4 | Warmup period beginning hour |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Hours to next warmup period |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Reals.Sources.CivilTime | civTim | ||
| Buildings.Controls.OBC.CDL.Reals.Modulo | mod1 | ||
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | con | 24 hours in seconds | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | warUpBeg | Warmup period beginning hour | |
| Buildings.Controls.OBC.CDL.Reals.Greater | gre | Later than the beginning hour of the warmup period | |
| Buildings.Controls.OBC.CDL.Reals.Switch | swi | ||
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | gai | Convert to seconds | |
| Buildings.Controls.OBC.CDL.Reals.AddParameter | addPar | Add constant | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | gai1 | Gain factor | |
| Buildings.Controls.OBC.CDL.Reals.Subtract | sub | Find difference | |
| Buildings.Controls.OBC.CDL.Reals.Subtract | sub1 | Find difference |
Revisions
-
February 12, 2025, by Jianjun Hu:
First implementation.