We will be performing a major infrastructure and web site ugprades on Friday, September 27th 8:00 am - 5:00 pm MST (UTC -7).

The website will be down during that time.

Runtime error using macro for Electric Load

  • swierson6808
  • Topic Author
More
06 Jun 2017 16:03 #5500 by swierson6808
Runtime error using macro for Electric Load was created by swierson6808
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

Please Log in or Create an account to join the conversation.

  • pgilman
More
06 Jun 2017 22:51 #5501 by pgilman
Replied by pgilman on topic Runtime error using macro for Electric Load
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.

Please Log in or Create an account to join the conversation.

  • swierson6808
  • Topic Author
More
07 Jun 2017 19:25 #5502 by swierson6808
Replied by swierson6808 on topic Runtime error using macro for Electric Load
Hi, Yes. It is in Nicaragua. The lat is 12.63 N and long is -87.13 E

Best Regards,

Scott

Please Log in or Create an account to join the conversation.

  • pgilman
More
12 Jun 2017 17:22 #5503 by pgilman
Replied by pgilman on topic Runtime error using macro for Electric Load
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:

nsrdb.nrel.gov/

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum