Mismatched Annual Generation Numbers

  • andimhome
  • Topic Author
20 May 2024 20:17 #13177 by andimhome
Mismatched Annual Generation Numbers was created by andimhome
Hi all,

I am running a simulation through two different financial models via PySAM: the single owner model and the third party financial model. With both financial models I am using PvWattsv8, Grid, and Utility Rate 5. I am seeing a discrepancy in the annual energy generation and I was wondering if anyone had an explanation. 
Essentially, I am printing out the output from the PV (system) model for annual energy generation (in both financial simulations) -  "Annual Energy": system_model.Outputs.annual_energy". However, the numbers are different. I would understand if I was printing out an output from the financial models, as that is the only thing that is differing from the code, however shouldn't any outputs from the system model be the same regardless of what financial model I am using? The order of model execution is the following: 
 total_installed_cost = installed_cost(system_model.SystemDesign.system_capacity) *this is from the total installed cost fn I created* 
 [whatever financial model].execute(0)
I am not an expert at coding and only have recently delved into PySAM so any advice and guidance would be much appreciated!

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

  • pgilman
20 May 2024 21:42 #13180 by pgilman
Replied by pgilman on topic Mismatched Annual Generation Numbers
Hi Sanjana,

The 'annual_energy' variable is an an output of the Pvwattsv8 module:


It is an INOUT variable for the Grid module, so its value may be changed by the module:


Best regards,

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

Moderators: pgilman
Powered by Kunena Forum