Runtime error using macro for Electric Load

4 posts / 0 new
Last post
swierson6808
Runtime error using macro for Electric Load

When I try to run macro for Electric Load after choosing LargeOffice I get the following error script:

TMY3 ID: on":"1
Macro did not finish.
[97] runtime exception at line 97: array index out of bounds at 1010 (length: 1010)

Please help

Paul Gilman

Hello,

That error might be caused by the location of your weather file being too far from one of the TMY3 sites. Would you mind telling me the latitude and longitude of the location you are trying to model?

Best regards,
Paul.

swierson6808

Hi, Yes. It is in Nicaragua. The lat is 12.63 N and long is -87.13 E

Best Regards,

Scott

Paul Gilman

Dear Scott,

The building load database only has data for the 1,454 stations used to generate data for the old NSRDB TMY3 data set. Those stations are all in the United States, and are listed on the TMY3 website:

NSRDB 1991-2005 Update

That means that it is not possible to use SAM's Download Electric Load macro to download load data for locations outside of the U.S.

Note that the most up-to-date weather data from the NSRDB is available via the NSRDB website:

https://nsrdb.nrel.gov/

Best regards,
Paul.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer