Home > matpower7.1 > lib > cpf_nose_event.m

cpf_nose_event

PURPOSE ^

CPF_NOSE_EVENT Event function to detect the nose point

SYNOPSIS ^

function ef = cpf_nose_event(cb_data, cx)

DESCRIPTION ^

CPF_NOSE_EVENT  Event function to detect the nose point
   EF = CPF_NOSE_EVENT(CB_DATA, CX)

   CPF event function to detect the nose point of the continuation curve,
   based on the sign of the lambda component of the tangent vector.
   
   Inputs:
       CB_DATA : struct of data for callback functions
       CX : struct containing info about current point (continuation soln)

   Outputs:
       EF : event function value

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function ef = cpf_nose_event(cb_data, cx)
0002 %CPF_NOSE_EVENT  Event function to detect the nose point
0003 %   EF = CPF_NOSE_EVENT(CB_DATA, CX)
0004 %
0005 %   CPF event function to detect the nose point of the continuation curve,
0006 %   based on the sign of the lambda component of the tangent vector.
0007 %
0008 %   Inputs:
0009 %       CB_DATA : struct of data for callback functions
0010 %       CX : struct containing info about current point (continuation soln)
0011 %
0012 %   Outputs:
0013 %       EF : event function value
0014 
0015 %   MATPOWER
0016 %   Copyright (c) 2016, Power Systems Engineering Research Center (PSERC)
0017 %   by Ray Zimmerman, PSERC Cornell
0018 %   and Shrirang Abhyankar, Argonne National Laboratory
0019 %
0020 %   This file is part of MATPOWER.
0021 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0022 %   See https://matpower.org for more info.
0023 
0024 %% event function value is dlam, the last element of the
0025 %% normalized tangent vector at the current soln
0026 ef = cx.z(end);

Generated on Fri 09-Oct-2020 11:21:31 by m2html © 2005