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.

Sub hourly data with SDK

  • smu04sew
  • Topic Author
More
26 Oct 2017 21:49 #5800 by smu04sew
Sub hourly data with SDK was created by smu04sew
Hello,

I'm following the example given at nsrdb.nrel.gov/api-instructions using the Python SDK and the input data is shown to be at 30 minute intervals. Does that mean it's possible to use the SDK for sub hourly measurements? I'm a little confused as the description in the PVwatts Version 5 manual says the data has to be hourly (with 8,760 points) or does that mean that when you pass it data, the data has to be in multiples of 8,760 so it can handle it?

Thanks for your help!

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

  • pgilman
More
26 Oct 2017 21:55 #5801 by pgilman
Replied by pgilman on topic Sub hourly data with SDK
In general, the time step of the data in the weather file determines the simulation time step. If you run pvwattsv5 with a weather file that contains 30-minute data, it will generate 30-minute production data.

Also, SAM's code generator is useful for creating Python and other code that sets all the inputs required for a case in SAM. To use it, create a case in SAM, and then press the shift-F5 keys, or choose Generate Code on the case menu.

Best regards,
Paul.

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

Moderators: pgilman
Powered by Kunena Forum