Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

penalty flag

iLab Assistant

Choose if specific constraint types should be included or excluded from the optimization model. Note that the SOFT_CONSTRAINTS_FUNCTIONALITY license is required for soft constraints.

Options/all, /on, /off, /load, /reservoir, /ramping, /endpoint, /discharge, /powerlimit, /plant, /min_p_con, /max_p_con, /min_q_con, /max_q_con, /schedule, /gate
Value
LicenseSHOP_OPEN
Release version13.0.0.a

Penalty Flags

An option to include penalty functions is provided by turning on and off penalty flags with the command:

penalty flag /<option1> /<option2> (/<option3>)
Comment
all
onTurn on all penalty flags
offTurn off all penalty flags
on or /off
reservoir
rampingTurn on/off reservoir ramping penalty flag
endpointTurn on/off reservoir penalty flag, including endpoint
loadTurn on/off load penalty flag
powerlimitTurn on/off power limit penalty flag
dischargeTurn on/off discharge penalty flag, used to control power production
plant
min_p_conTurn on/off min plant production penalty flag
max_p_conTurn on/off max plant production penalty flag
min_q_conTurn on/off min plant discharge penalty flag
max_q_conTurn on/off max plant production penalty flag
scheduleTurn on/off plant schedule penalty flag
gate
min_q_conTurn on/off min gate discharge penalty flag
max_q_conTurn on/off max gate production penalty flag
rampingTurn on/off gate ramping penalty flag

If command not set: The reservoir, load, power limit and discharge penalty flags will be turned on. The plant schedule penalty flag will be turned off, while the other license protected penalty flags will be ignored.

Note that these flags will be valid for all plants, gates and reservoirs in the system. The penalty flag can also be given as a time series for each constraint. Setting the penalty flag by giving the commands has priority over the time series constraints.