Dear Kevin,
You can use the "Download Electric Load" macro in SAM to access the data:
- Start SAM, and open or create a project with the Detailed Photovoltaic or PVWatts performance model and Residential financial model.
- Click Macros at the bottom left of the Main window, under the Simulate button.
- Click Download Electric Load and read the description of the macro and instructions.
This code is not part of SSC, so you cannot access it using the SDK. However, if you are using the SDK to run SAM, you could write your own code to access the load data based on the macro's LK script. To see the macro's script, click
View code at the top of the Macro page. The load data files are stored as CSV files that you can download via HTTP, which you can do with a single line of code. Most of the script determines the TMY3 ID from the latitude and longitude in the weather file, which is a little more complicated and requires an API key from
the NREL Developer Network
.
Best regards,
Paul.
To i