Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use simulation timestep in BDL expression

Does anyone know of a way to retrieve the calendar information of a simulation timestep and incorporate it into a BDL expression? I’ve searched the library of BDL functions and there doesn’t seem to be anything like that except #DOW (DayOfWeek). I want to write an expression to determine a schedule value based on the “location” in the calendar year. To give a pseudo-example of what I’m looking for:

Schedule value = C1cos(f(month)) + C2sin(f(day of month)) + C3*sin(f(hour of day))

I’ve ransacked the eQuest documentation and I can’t seem to find anything. Is there something I’ve overlooked, or perhaps a different approach to doing this like an input macro?