Skip to content

PV losses requires time series losses with custom periods even when disabled #1668

@cpaulgilman

Description

@cpaulgilman

Describe the bug

The Detailed PV model requires that at least one period be defined for the "Enable time series losses with custom periods" on the Losses page even when custom time periods are disabled.

A workaround solution:

  1. Open your file in SAM 2023.12.17.
  2. On the Losses page, under AC Losses or DC Losses, click Edit losses.
  3. In the Edit Losses window, click Enable time series losses with custom periods.
  4. Click Add Period.
  5. Click OK.

To Reproduce

  1. Create a Detailed PV / No Financial case.
  2. On the Losses page, under System Availability, for AC losses click Edit losses.
  3. Check Enable time series losses with custom periods and click Delete to remove the period.
  4. Clear Enable time series losses with custom periods to disable the option.
  5. Click OK and run a simulation.
adjust_periods:fail(adjust_periods, cols=3): 1
Simulation pvsamv1 failed :adjust_periods:fail(adjust_periods, cols=3): 1
gen not assigned
Simulation grid failed :gen not assigned

SAM 2022.11.21 and earlier did not have this requirement.

Expected behavior

For both AC and DC losses, a period should not be required when custom periods is disabled.

Operating System and Version

  • OS: Windows
  • Version: SAM 2023.12.17

Metadata

Metadata

Assignees

Labels

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