Skip to content

Allen model not working when weather file has no DNI #1123

@mjprilliman

Description

@mjprilliman

Describe the bug
Allen method is using the weather file DNI in calculation, is giving erroneous results without warning when there is no DNI in the weather file.

Expected behavior
Either use decomposed DNI in calculation when no weather file DNI is provided or error out of the simulation with an appropriate error message.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugpvphotovoltaic, pvsam, pvwatts

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions