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

how to generate random numbers through EMS programming on EnergyPlus

asked 2017-03-14 15:14:06 -0600

building_performance's avatar

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2017-03-14 16:34:51 -0600

updated 2017-03-15 10:30:56 -0600

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

edit flag offensive delete link more

Comments

thanks a lot.that solved my problem

building_performance's avatar building_performance  ( 2017-03-14 17:02:24 -0600 )edit

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: 2017-03-14 15:14:06 -0600

Seen: 188 times

Last updated: Mar 15 '17