Objective
PowerModels._objective_min_fuel_and_flow_cost_polynomial_linquad — FunctionAdds lifted variables to turn a quadatic objective into a linear one; needed for conic solvers that only support linear objectives
PowerModels._objective_min_fuel_and_flow_cost_polynomial_linquad — MethodPowerModels._objective_min_fuel_and_flow_cost_polynomial_nl — MethodPowerModels._objective_min_fuel_cost_polynomial_linquad — MethodPowerModels._objective_min_fuel_cost_polynomial_nl — MethodPowerModels.calc_pwl_points — Methodcleans up raw pwl cost points in preparation for building a mathamatical model.
The key mathematical properties,
- the first and last points are strickly outside of the pmin-to-pmax range
- pmin and pmax occur in the first and last line segments.
PowerModels.check_cost_models — MethodChecks that all cost models are of the same type
PowerModels.check_dcline_cost_models — MethodChecks that all dcline cost models are of the same type
PowerModels.check_gen_cost_models — MethodChecks that all generator cost models are of the same type
PowerModels.objective_min_fuel_and_flow_cost — MethodPowerModels.objective_min_fuel_and_flow_cost_polynomial — MethodPowerModels.objective_min_fuel_and_flow_cost_pwl — MethodPowerModels.objective_min_fuel_cost — MethodPowerModels.objective_min_fuel_cost_polynomial — MethodPowerModels.objective_min_fuel_cost_pwl — MethodPowerModels.objective_variable_dc_cost — Functionadds pdccost variables and constraints
PowerModels.objective_variable_pg_cost — Functionadds pg_cost variables and constraints