Skip to content

DC connected batteries don't charge effectively during grid outage #737

@brtietz

Description

@brtietz

Describe the bug
The code for charging a DC connected battery will back off of charging the battery during a grid outage if the PV array is not meeting the critical load. However, if the inverter is oversized, then this can result in extra power being pushed through the inverter and curtailed, rather than charging the battery. Find a way to change the iteration behavior for DC-connected batteries to provide more power to the battery instead of curtailing it.

To Reproduce
Steps to reproduce the behavior:

  1. Run the attached SAM file
    DC connected bug demonstration.zip

  2. View "critical load in this timestep", "electricity to battery" and "electricity loss due to curtailment" in steps 34-41

Expected behavior
Charging steps should always behave more like steps 12-14, where the battery charges at full power.

Screenshots
image

Desktop (please complete the following information):

  • In version 2021.12.02

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