Skip to content

add_year() as implemented results in scenario errors #578

@gidden

Description

@gidden

Observation: Using add_year() on the current main branch results in scenarios with misaligned input, output and technical_lifetime parameters. This can result in completely unexpected results. Below, for example, is the result of a high-carbon-tax scenario applied to an existing 5-year timestep model and the same model after using add_year() to add 1-year timesteps in the first 5-year period.

(this is an updated image originally published in a comment below but is relevant for new readers of this issue)
image

There is a believed to be correctly working version on this branch.

Immediate solution: Raise a NotImplementedError in main's implementation

Eventual solution: Migrate the correctly-working version into the main branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting infoNeeds more information from the issuer to continuebugDoesn't work as advertised/unintended effects

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions