loadshed
- loadshed(gen, ild)
loadshed()
- Returns a vector of curtailments of dispatchable loads.SHED = LOADSHED(GEN) SHED = LOADSHED(GEN, ILD) Returns a column vector of MW curtailments of dispatchable loads. Inputs: GEN - MATPOWER generator matrix ILD - (optional) NLD x 1 vector of generator indices corresponding to the dispatchable loads of interest, default is all dispatchable loads as determined by the ISLOAD() function. Output: SHED - NLD x 1 vector of the MW curtailment for each dispatchable load of interest Example: total_load_shed = max(loadshed(mpc.gen));