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

View File

@@ -314,6 +314,7 @@ function _from_json(json; repair = true)::UnitCommitmentScenario
pu = ProfiledUnit(
unit_name,
bus,
timeseries(scalar(dict["Minimum power (MW)"], default = 0.0)),
timeseries(dict["Maximum power (MW)"]),
timeseries(dict["Cost (\$/MW)"]),
)