Skip to content

Issue in Battery #1361

@dguittet

Description

@dguittet

Describe the bug
The calculate_current_for_power_kw function reduces the battery's target power and current to what is available given SOC. There's a bug in the charging portion where the reduced power and current should have been negative.

Thanks to @jaredthomas68 for tracking this down

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions