transition-zero / tz-osemosys

TZ-OSeMOSYS - a TransitionZero implementation of the OSeMOSYS systems model
GNU Affero General Public License v3.0
17 stars 0 forks source link

[ENG-1675] Add validation to check residual_capacity < capacity_gross_max #144

Closed edwardxtg closed 3 weeks ago

edwardxtg commented 3 weeks ago

Description

Added to validation to catch the case where residual capacity is higher than capacity_gross_max, which leads to infeasibilities.

I've also moved the other technology class validation from the technology class, to the model class. As the validation requires the model to be composed first (broadcasted across all dimensions), which requires all sets (years, technology ids, commodity ids etc).

Checklist

notion-workspace[bot] commented 3 weeks ago

TZ-OZ: Add validation to check residual_capacity < capacity_gross_max