Skip to content

Voltage Table can improperly calculate current when two depths of discharge have the same value #1007

@brtietz

Description

@brtietz

Describe the bug
At step 202 in the attached SAM file, the battery is charged with 400 kW, when the PV system is only providing 108 kW.

To Reproduce
Steps to reproduce the behavior:

  1. Download the attached SAM file:
    pvBattery_cad.zip
  2. Run case cad3_fixedPV
  3. Look at power flow, voltage, and current at step 202

Expected behavior
The issue is caused by the voltage table having the same voltage for two depths of discharge. SAM should throw an error in this configuration, and users should specify unique points. Also add to the documentation that these points need to be unique.

Screenshots
image

image

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