- Posts: 1
Obtaining Electric Load Profiles using SDK
- kbarnes124
- Topic Author
Less
More
09 Aug 2017 15:29 #5622
by kbarnes124
Obtaining Electric Load Profiles using SDK was created by kbarnes124
Hello,
I am looking to obtain residential electric load profiles by TMY3 location. I know there is a database hosted by the NREL OpenEI website of the Hourly Load Profiles for all TMY3 Locations , but wanted to know if this data is able to be sourced using SSC SDK modules or by another source. Thanks
Kevin
I am looking to obtain residential electric load profiles by TMY3 location. I know there is a database hosted by the NREL OpenEI website of the Hourly Load Profiles for all TMY3 Locations , but wanted to know if this data is able to be sourced using SSC SDK modules or by another source. Thanks
Kevin
Please Log in or Create an account to join the conversation.
- Paul Gilman
Less
More
- Posts: 5532
10 Aug 2017 11:12 #5623
by Paul Gilman
Replied by Paul Gilman on topic Obtaining Electric Load Profiles using SDK
Dear Kevin,
You can use the "Download Electric Load" macro in SAM to access the data:
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
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
Please Log in or Create an account to join the conversation.
Moderators: Paul Gilman