Skip to content

Battery losses do not affect resilience runner #590

@brtietz

Description

@brtietz

Describe the bug
Battery losses are not applied to the calculations of "hours of autonomy during outage" in the resiliency runner. The losses are applied to a source (PV, grid, battery) in the powerflow code, and the resiliency runner does not interface with this code. This generates behavior such as:

(a) The no-loss case and the loss case having the same hours of autonomy (given the same SOC at that step).
(b) Overestimating the survival hours. For example, a battery with 3.5 kWh of charge and a 1 kW discharging loss reports 5 hours of survival.

To Reproduce
Steps to reproduce the behavior:

  1. Load the attached SAM file:
    losses_bug.zip
  2. Run both cases
  3. Observe the hours of survival issues stated above.

Expected behavior
The resiliency code should account for battery losses.

Exists in 2020.11.29, and also in develop. The approach we took in solving #379 did not touch the code for the resiliency runner.

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