- Posts: 3
Run a week worth of weather data in SAM
- SaViLa91
- Topic Author
Less
More
14 Oct 2021 10:32 #10134
by SaViLa91
Run a week worth of weather data in SAM was created by SaViLa91
Hi!
I was wondering if it is possible to run just one week worth of data in SAM? Is there an interface where the data can be modeled in batches?
I am trying to figure out what the output of Solar PV would be during 2 specific weeks of the year. I have tried extracting the data from the csv file and creating a new one but SAM won't detect it.
Thank you for your help!
I was wondering if it is possible to run just one week worth of data in SAM? Is there an interface where the data can be modeled in batches?
I am trying to figure out what the output of Solar PV would be during 2 specific weeks of the year. I have tried extracting the data from the csv file and creating a new one but SAM won't detect it.
Thank you for your help!
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
14 Oct 2021 11:04 #10135
by pgilman
Replied by pgilman on topic Run a week worth of weather data in SAM
Hi Sara,
SAM's user interface is designed to run simulations over a complete year (or complete years for the PV models). If you are interested in a period of time less than a year, you can ignore the results for the rest of the time. For example, if you have weather data for the first two weeks in May, you could insert that data into a weather file that covers the entire year, and then ignore results for times outside of that period.
Another approach would be to use the SAM Software Development Kit (SDK) to run simulations one time step at a time. That is possible for some of the performance models. The SDK includes wrappers for a variety of programming languages, and also includes a Python package called PySAM. For more on the SAM SDK and PySAM see: sam.nrel.gov/software-development-kit-sdk.html .
Best regards,
Paul.
SAM's user interface is designed to run simulations over a complete year (or complete years for the PV models). If you are interested in a period of time less than a year, you can ignore the results for the rest of the time. For example, if you have weather data for the first two weeks in May, you could insert that data into a weather file that covers the entire year, and then ignore results for times outside of that period.
Another approach would be to use the SAM Software Development Kit (SDK) to run simulations one time step at a time. That is possible for some of the performance models. The SDK includes wrappers for a variety of programming languages, and also includes a Python package called PySAM. For more on the SAM SDK and PySAM see: sam.nrel.gov/software-development-kit-sdk.html .
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
- SaViLa91
- Topic Author
Less
More
- Posts: 3
19 Oct 2021 11:19 #10155
by SaViLa91
Replied by SaViLa91 on topic Run a week worth of weather data in SAM
Hi Paul,
thanks for your response, that makes a lot of sense! Is there a way I can extract hourly data from the results after I run the model? I have been playing around with it but all I get when I extract the hourly data for any of the variables is stats for one day instead of the actual hourly data?
Thank you for your time and help,
Sara
thanks for your response, that makes a lot of sense! Is there a way I can extract hourly data from the results after I run the model? I have been playing around with it but all I get when I extract the hourly data for any of the variables is stats for one day instead of the actual hourly data?
Thank you for your time and help,
Sara
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
19 Oct 2021 17:56 #10156
by pgilman
Replied by pgilman on topic Run a week worth of weather data in SAM
Hi Sara,
You can export time series data from the Data Tables tab on the Results page after you run a simulation.
See the "Export Data and Graphs" topic in Help, under "Reference" in the table of contents for more detail.
Best regards,
Paul.
You can export time series data from the Data Tables tab on the Results page after you run a simulation.
See the "Export Data and Graphs" topic in Help, under "Reference" in the table of contents for more detail.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: pgilman