Rename Unit to ThermalUnit

This commit is contained in:
2023-04-04 15:40:44 -05:00
parent 51f6aa9a80
commit 19534a128f
30 changed files with 107 additions and 99 deletions

View File

@@ -15,7 +15,7 @@ Returns the number of validation errors found.
function repair!(sc::UnitCommitmentScenario)::Int
n_errors = 0
for g in sc.units
for g in sc.thermal_units
# Startup costs and delays must be increasing
for s in 2:length(g.startup_categories)