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 -0500

os_coder gravatar image

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 -0500

Eric Ringold gravatar image

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

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

os_coder gravatar imageos_coder ( 2017-03-14 17:02:24 -0500 )edit

Your Answer

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

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2017-03-14 15:14:06 -0500

Seen: 55 times

Last updated: Mar 15