Skip to content

Enforce charging constraints for PVSmoothing Variables #905

@brtietz

Description

@brtietz

Describe the bug
During testing for #904, we discovered that the PV Smoothing algorithm assumes power is always available for charging, and so sometimes this can lead to discrepancies between PV Smoothing state of charge and battery state of charge. Add the system and grid charging constraints so that the algorithm is aware of the maximum power at any given timestep.

To Reproduce
Steps to reproduce the behavior:

  1. Set up a PV smoothing case
  2. Leave system charging on and grid charging off
  3. Run a simulation and plot pv smoothing state of charge and battery state of charge

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Desktop (please complete the following information):

  • Version: develop, likely the 2022 release

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