Skip to content

Wrong year being used for LCOE and EAC outputs #540

@tsmbland

Description

@tsmbland

The LCOE and EAC functions have a year parameter which determines which year to calculate the metric for. When calling these functions to generate the output files, agent.year is passed as the year parameter. However, this is incorrect, as by this point agent.year has already been incremented to the next year in the time framework. Thus, the LCOE/EAC values in the output files actually correspond to the wrong year.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions