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

[EnergyPlus_Support] Re: Defining DesignDays based on the weather file



Thanks for your advise, the include would certainly make the macro shorter.

What I have not figure out, is the way to learn the location from the Weather File, i.e. the 725300 (or the weather file name itself, or the "Chicago Ohare Intl Ap, or whatever particular information I could get to use in the ##if) as a variable; in the macro below, the "Site".

My problem boils down to: Can I know the site location from the Weather file inside the macro?

--- In EnergyPlus_Support@xxxxxxxxxxxxxxx, Jason Kirkpatrick <jason.alan.kirkpatrick@...> wrote:
>
> If you're reading the site:location from the .stat file then couldn't you
> also read the design day data from the .ddy file?
> 
> Something like this:
> 
> ##if Site = 725300 ! Chicago
> ##fileprefix C:\EnergyPlusV7-0-0\WeatherData
> ##include USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.ddy
>




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

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/