Skip to content

Battery cycle degradation penalty always zero or NaN #621

@mjprilliman

Description

@mjprilliman

Describe the bug
The cycle degradation penalty calculations for the Price Signals battery dispatch model are always reporting as zero even when there is battery cycling. The annual battery replacement cost schedule per kWh is reporting a value of 0 for each year even when there are replacement costs specified.

Also, for NMC and LMOLTO lifetime models the degradation penalty returns a divide by zero error when n_cycles is zero (in estimateCycleDamage function). This can be fixed by using a value of one when n_cycles is zero.

Screenshots
image

image

Metadata

Metadata

Assignees

Labels

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