SDK's irrad_mode parameter not working

  • Joe_Hack
  • Topic Author
More
11 Dec 2018 23:54 #6549 by Joe_Hack
SDK's irrad_mode parameter not working was created by Joe_Hack
Hello-

My colleague and I have been using the SDK for the past two years to make energy output predictions for the solar company that we work at. In the past, (more than a year ago) we changed the irrad_mode parameter between 0, 1, and 2 with no problems. Now however, after downloading the most recent release, we find that our energy simulations only work when irrad_mode is set to 0, that is, only when DHI and DNI are input directly. Whenever we try to input GHI directly, our simulation fails.

We have checked that our TMY data (from SolarAnywhere 3.2) contains GHI, and are confident that our program is reading in this data correctly because we are able to calculate POA before an error is thrown. We also manually checked that the 'gh' item is in the weather container and contains data.

We think the trouble occurs when we run our shading model because when we try to fetch poa_shaded_soiled, an empty array is returned.

Finally, we see no obvious reason why this would be related to the issue at hand, but we did just implement the Mermoud-Lejeune module model.

Thank You!

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

  • pgilman
More
12 Dec 2018 16:53 #6550 by pgilman
Replied by pgilman on topic SDK's irrad_mode parameter not working
Hi Joe,

Does your weather data contain either DNI or DHI in addition to GHI? The irradproc module requires two solar irradiance components to calculate the POA irradiance.

Best regards,
Paul.

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

Moderators: pgilman
Powered by Kunena Forum