4

how to generate random numbers through EMS programming on EnergyPlus

i need to generate a random number with bounds [lower, upper], every time step in EMS programming on EnergyPlus. How to implement this idea?

building_performance's avatar
441
building_performance
asked 2017-03-14 15:14:06 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

5

You can do what you want with the @RandomUniform built-in function.

ericringold's avatar
10.6k
ericringold
answered 2017-03-14 16:34:51 -0500, updated 2017-03-15 10:30:56 -0500
edit flag offensive 0 remove flag delete link

Comments

thanks a lot.that solved my problem

building_performance's avatar building_performance (2017-03-14 17:02:24 -0500) edit
add a comment see more comments