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

[EnergyPlus_Support] Using array variables within a EMS



 Hello All

 My intention is to use EMS (also known as "Erl") to implement a dyanmic algorithm which is supposed to read weather forecast data (probably outdoor temperature with 6 hours fixed interval) given that the forecast data is assumed to be available already. 

 My question is whether we can define and use array variables within a EMS program. I am willing to hardcode the forecast data within my EMS program. For example, "W" is defined as an array and "W[0]" represents the outdoor temperature at six hours later from now, followed by "W[1]" representing the outdoor temperature twelve hours later and so on.
 
 My algorithm then defines a global variable as an index that is used to count the number of monitoring points every time as well as indicate the current position of the array and then increase the index with passage of time so that I think the algorithm is let read the value of the arrary corresponding to the increasing index.

 Thank you in advance
 Ahrong.



------------------------------------

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.
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EnergyPlus_Support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EnergyPlus_Support/join
    (Yahoo! ID required)

<*> To change settings via email:
    EnergyPlus_Support-digest@xxxxxxxxxxxxxxx 
    EnergyPlus_Support-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/