Added minimum power to profiled generator

This commit is contained in:
Jun He
2023-04-06 16:16:04 -04:00
parent 319a787904
commit cb7f9e3b27
5 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@@ -141,6 +141,7 @@ end
@test first_pu.name == "g7"
@test first_pu.bus.name == "b4"
@test first_pu.cost == [100.0 for t in 1:4]
@test first_pu.min_power == [60.0 for t in 1:4]
@test first_pu.capacity == [100.0 for t in 1:4]
@test sc.profiled_units_by_name["g7"].name == "g7"
@@ -148,6 +149,7 @@ end
@test second_pu.name == "g8"
@test second_pu.bus.name == "b5"
@test second_pu.cost == [50.0 for t in 1:4]
@test second_pu.min_power == [0.0 for t in 1:4]
@test second_pu.capacity == [120.0 for t in 1:4]
@test sc.profiled_units_by_name["g8"].name == "g8"
end