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

Revision history [back]

A different approach to generating random values during the simulation is to create a ENERGYMANAGEMENT:PROGRAM that overrides a schedule value and uses @SeedRandom and @RandomUniform to generate a repeatable sequence of random numbers. These functions are built in math functions. This approach does not require using any external file and allows a normal schedule specification including SummerDesignDay and WinterDesignDay values.

Here is an example on how to override a schedule using EMS, just use @RandomUniform as part of the computation..