cpf_plim_event_cb
- cpf_plim_event_cb(k, nx, cx, px, done, rollback, evnts, cb_data, cb_args, results)
cpf_plim_event_cb()
- Callback to handle PLIM events.[NX, CX, DONE, ROLLBACK, EVNTS, CB_DATA, RESULTS] = CPF_PLIM_EVENT_CB(K, NX, CX, PX, DONE, ROLLBACK, EVNTS, ... CB_DATA, CB_ARGS, RESULTS) Callback to handle PLIM (generator active power limit violation) events, triggered by event function CPF_PLIM_EVENT to indicate the point at which an upper active power output limit is reached for a generator. When an active power limit is encountered, this function zeros out subsequent transfers from that generator, chooses a new reference bus if necessary, and updates the CB_DATA accordingly, setting the next step size to zero. The event msg is updated with the details of the changes. It also requests termination if all generators reach PMAX.
For details of the input and output arguments see also
cpf_default_callback()
.