Skip to content

pm_SEprice assignment repeated unnecessarily all over the model.  #1149

@Renato-Rodrigues

Description

@Renato-Rodrigues

There is unnecessary code repetition for the definition of pm_SEprice in the model.

It is currently repeated in multiple places in the model. However, most probably only two assignments are really required: one at the core/preloop, and another in the core/postsolve.

Repeating the assignment at every power sector module realization, and at every presolve is quite unnecessary, extends the code length and can create potential oversight issues on any future change that can affect this parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    code cleaningCode that could/should be cleaned up

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions