Skip to content

Negative losses cause PV+Battery case to freeze #948

@brtietz

Description

@brtietz

Describe the bug
Specifying a negative number in time-series losses causes the PV+Battery case to get stuck. A hunch is that this is an infinite loop in the powerflow code.

To Reproduce
Steps to reproduce the behavior:

  1. Open a detailed PV-Battery Case
  2. Turn the grid outage on
  3. Set the battery losses to time series and specify a negative number
  4. Run the case and watch it get stuck

Expected behavior
Any infinite loops in the powerflow code should be fixed. Also throw an error to prevent this.

The stand alone battery case does not have this problem

Desktop (please complete the following information):

  • Version 2022.11.21, maybe others

Metadata

Metadata

Assignees

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