Skip to content

Bug report: Charge and discharge efficiencies set in dispatch are not passed on to battery performance model #474

@genevievestarke

Description

@genevievestarke

Charge and discharge efficiencies set in dispatch are not passed on to battery performance model

You can set charge_efficiency and discharge_efficiency as inputs to the battery for dispatch, but these are not passed on the the pysam battery performance model. They are implemented if you are using the open loop control scheme and the generic storage model, but not if you are using the pyomo dispatch with the pysam battery as the performance model. This means that the charge and discharge efficiencies are taken into account in the pyomo dispatch, but then are not reflected by the battery performance.

How to reproduce

This can be seen if the charge_efficiency and discharge_efficiency parameters are changed in the dispatch input.

Fix Suggestion

Adding a generic storage performance (or battery performance) model that can be parameterized may be useful here. It could also serve as a generic LDES model.

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