NREL / ssc

SAM Simulation Core (SSC) contains the underlying performance and financial models for SAM
BSD 3-Clause "New" or "Revised" License
79 stars 85 forks source link

Underestimation in Battery power integration from voltage curve #1202

Open dguittet opened 1 month ago

dguittet commented 1 month ago

Due to the way power is calculated as a coarse integration of the voltage curve, the power flowing into the battery for charging may be significantly more than the capacity of the battery.

The voltage model shows how the voltage changes as a function of capacity, Ah, in the battery. The quantity measured by SOC is the Ah in the battery. And the power charged or discharged is the delta Ah * voltage of the battery. This power is the rectangle formed by taking the area under the curve:

image

When there are relatively large step sizes being taken by the charge and discharge current, the estimated area under the curve is under-estimating by quite a bit. This is worse using a 0-100% range of operation where the voltage curve is very nonlinear.

In this example, an LFP battery of 808 MWh is charged fairly rapidly from 0 to 100% SOC and the total DC power to the battery is 983MWh.

image

Here you can see the delta kWh batt of the battery, as calculated by battery voltage and delta Ah, is the same as the DC electricity to the battery. But the right two columns show how there’s a mismatch between the delta SOC by internal Ah and the delta SOC calculated by kWh. It takes much more change in kWh to make a change in internal SOC, because of how the internal voltage is being calculated.

A bandaid fix is to change the voltage model to the table model using a very flat voltage curve, and also to reduce the operating range.

image

Now the DC electricity to charge the battery from 0 to 95% is a more reasonable 746 MWh.

Expected Behavior The power flow to the battery should more accurately reflect the change in stored energy of the battery. Currently, there is a lot of loss due to the coarse method of numerical integration.

@awabbes

brtietz commented 1 month ago

Possibly related: https://github.com/NREL/ssc/issues/569