reformat one line

This commit is contained in:
Jun He
2023-07-17 12:04:16 -04:00
parent ca092a67ce
commit 8f0661c93f

View File

@@ -571,7 +571,10 @@ function _validate_reserve_and_demand(instance, solution, tol = 0.01)
b in sc.buses b in sc.buses
) )
end 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 # Verify that production equals demand
if abs(balance) > tol if abs(balance) > tol