Skip to content

Disallow having different process flow directions in different years #927

@alexdewar

Description

@alexdewar

While we check that the primary output for a process is indeed an output for all years for which there are entries in process_flows.csv, other flows are allowed to change from being an input to an output in different years. Unless I'm missing something, I don't think there's a sensible reason why users would need to be able to do this, so I think we should disallow this.

By disallowing it:

  • We can catch unintentional mistakes in input files (e.g. missing a minus sign)
  • It makes it easier to reason about commodity dependencies across years (I can't see an immediate use for this, but it may help when we're trying to do things like Allow dependency loops between commodities #794)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions