pwrs.core.cpf_plim_event#
- pwrs.core.cpf_plim_event.cpf_plim_event(cb_data, cx)[source]#
Evaluate CPF active-power limit event functions.
Builds the current CPF case at the present continuation point and returns event function values for generator
Pmaxviolations, with inactive or already-handled generators masked byNaN.- Parameters:
cb_data (dict) – CPF callback data struct.
cx (dict) – Current CPF state struct.
- Returns:
Column vector of
PG - PMAXevent function values.- Return type:
numpy.ndarray