[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EnergyPlus_Support] Energy Management System (EMS)





Hi Miroslava,

Is there any reason this has to be done at runtime? You might find it easier to create a Schedule:File object where you can use Excel's random functions and logic to build your file based on the logic you need before running the simulation.

Jamie

On 3 February 2015 at 01:31, miroslava.kavgic@xxxxxxxxx [EnergyPlus_Support] <EnergyPlus_Support@xxxxxxxxxxxxxxx> wrote:
 

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: Jamie Bull <jamiebull1@xxxxxxxxx>


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.




Visit Your Group
Yahoo! Groups
PrivacyUnsubscribeTerms of Use

__,_._,___