Yes this should be straightforward to do in EMS. Most of the EMS calling points are going to call your program every timestep, and when you use @RandomUniform it will produce a new random number each time that line of the EMS program executes. From: EnergyPlus_Support@xxxxxxxxxxxxxxx [mailto:EnergyPlus_Support@xxxxxxxxxxxxxxx] Hi All, Is it possible to generate random number by using EMS that will be applied every timestep. I saw in the manual that random numbers could be generated by using @RandomUniform and/or @RandomNormal built functions but I do not know how to set it to change every timestep. For my project I have to vary temperature setpoint every 15 min by adding and subtracting 0.5C depending on the random number. For example, random number is between 1 and 10 and if it is <3 0.5C is added to setpoint, if it is >8 0.5 is subtracted and the rest of time no change occurs. Many thanks, Regards, Miroslava __._,_.___ Posted by: "Brent Griffith" <Brent.Griffith@xxxxxxxxxxxxxxxxxx> Primary EnergyPlus support is found at: http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx The primary EnergyPlus web site is found at: http://www.energyplus.gov The group web site is: http://groups.yahoo.com/group/EnergyPlus_Support/ Attachments are currently allowed but be mindful that not everyone has a high speed connection. Limit attachments to small files. EnergyPlus Documentation is searchable. Open EPlusMainMenu.pdf under the Documentation link and press the "search" button. __,_._,___ |
Attachment not found: C:\Users\lklawrie\Downloads\Embedded\image001105.jpg
Attachment not found: C:\Users\lklawrie\Downloads\Embedded\image002101.jpg