Hi Paul,
Thank You so much for your reply. I have succeeded in running the simulation and getting almost the same outputs as SAM Desktop.
I was wrong with the inputs that I was providing PySAM. I realised that all the 'default' inputs for SAM Desktop's Detailed PV - Singleowner model and PySAM's Singleowner model do not match.
Thus, I generated the code from SAM Desktop's Project and then checked all the input parameters. I found that the 'construction financing cost', 'inflation rate' and 'real discount rate' had different values.
However, upon changing the values I am almost getting the same results for all the Output metrics.
There is one doubt I still have -
In both PySAM and SAM Desktop, system_use_lifetime_output (which means- Lifetime hourly system outputs) needs to be assigned a value of 0 or 1. I checked that in the generated code of my SAM Desktop Project, this value was same with what PySAM's Singleowner model was taking as default.
However, on the SAM Desktop where do I set this value??
Thanks a lot again,
Ajinkya