mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 00:08:52 -06:00
reformat one line
This commit is contained in:
@@ -571,7 +571,10 @@ function _validate_reserve_and_demand(instance, solution, tol = 0.01)
|
||||
b in sc.buses
|
||||
)
|
||||
end
|
||||
balance = fixed_load - load_curtail - production + ps_load + storage_charge - storage_discharge
|
||||
balance =
|
||||
fixed_load - load_curtail - production +
|
||||
ps_load +
|
||||
storage_charge - storage_discharge
|
||||
|
||||
# Verify that production equals demand
|
||||
if abs(balance) > tol
|
||||
|
||||
Reference in New Issue
Block a user