cpf_plim_event

cpf_plim_event(cb_data, cx)

cpf_plim_event() - Event function to detect gen active power limit violations.

EF = CPF_PLIM_EVENT(CB_DATA, CX)

CPF event function to detect generator active power limit violations,
i.e. Pg >= Pmax.

Inputs:
    CB_DATA : struct of data for callback functions
    CX : struct containing info about current point (continuation soln)

Outputs:
    EF : event function value