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

Use simulation timestep in BDL expression

asked 2022-05-19 12:51:11 -0600

Drew Morrison's avatar

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?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2025-01-08 16:44:09 -0600

simular's avatar

I'm not sure if it can be used in this context, but there are some Fortran variable names referenced in the context of input functions.

  • IYR, IMO, IDAY, IHR, IDSTF

See DOE2.3 Help Volume 3 > Building Description Language > Input Functions > LOADS Input Function Examples > LOADS Example 5: Looping Logic; and the file eQUEST Data/DOE23/HourlySeries.txt .

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2022-05-19 12:51:11 -0600

Seen: 98 times

Last updated: Jan 08