Skip to content

Refactor commodity cost time slices #153

@alexdewar

Description

@alexdewar

Time slices for commodity costs can be specified as a single time slice, a whole season or the whole year. There may be contradictions though, e.g. if the user specifies the same time slice twice or adds a specific time slice when the whole year/season is already covered. We should check for this when loading data.

Edit: Similarly to demand slices, we will also need to refactor the commodity cost code because currently the values are not particularly easy to use. It would be useful to have a data structure which can be used to easily look up the cost for a given region + year + time slice combo.

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