Simulation & 8760 output Issues

  • Emily
  • Topic Author
More
26 Jun 2023 15:55 - 30 Jun 2023 14:56 #12249 by Emily
Simulation & 8760 output Issues was created by Emily
I'm wanting to read in project details of a bunch of solar farms from a list in an excel file, download weather files for them, then simulate each one, then save the 8760 results in an excel file. 

I've got everything working except for the simulate and save portion of this task. I'm having issues getting the simulate(); function to work in my script (attached). I can see in SAM when I run the script that the weather file is being chosen, that the system size, module type, dc to ac ratio, etc., are all being updated correctly. The output bar shows that the simulation(); part of the script is running. And a .csv file is being saved in the spot I'm telling it to save the 8760 data, but for some reason, it doesn't look like anything was simulated in SAM and there is nothing in the results file. 

 

I thought the 'energy_hourly_kW' variable is where the hourly data is stored after a simulation. Should hourly_data be an array that is assigned each value in a for loop or something? Right now the only output I'm getting is the attached .csv file. 

Any help would be appreciated! I tried searching for a similar topic, but nothing came up. 

Thanks!
Last edit: 30 Jun 2023 14:56 by Paul Gilman.

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

  • Paul Gilman
More
30 Jun 2023 15:06 #12267 by Paul Gilman
Replied by Paul Gilman on topic Simulation & 8760 output Issues
Hi Emily,

Please try using the 'gen' output variable instead of 'energy_output_kW'. If you continue to have trouble and would like more help troubleshooting, please attach a copy of the test.csv file and the SAM file you are running this script from.

Best regards,
Paul.

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

Moderators: Paul Gilman
Powered by Kunena Forum