Here’s an example<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/cpf_default_callback.html> of a CPF call back function. The callback function can be set through MATPOWER options struct
mpopt = mpoption<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/mpoption.html>(mpopt, 'cpf.user_callback', <name_of_callback_function>); Shri From: <bounce-121640146-73493...@list.cornell.edu> on behalf of Majid Mehdizadeh <majidmeh....@gmail.com> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu> Date: Wednesday, July 5, 2017 at 10:58 AM To: "matpower-l@cornell.edu" <matpower-l@cornell.edu> Subject: CPF Callback Functions Hi ,I can not use the call back functions in cpf code , Any body can bring me an example of using a call back function. i want to access the tangent vector in each iteration. Thanks -- Best Regards Majid Mehdizadeh Ph.D Student, Department of Electrical Engineering, Faculty of Engineering, Ferdowsi University of Mashhad Substation and Transmission Line Expert, Engineering office, Khorasan Regional Electric Co. Tel: +98 5136103594 Fax: +98 5136103509 http://mehdizadeh.majid.student.um.ac.ir