Hello Mahi, basecasedata is a MATPOWER data struct that has the base case loading/generation, while targetcasedata has that for the target loading/generation. A continuation power flow traces power flow solutions starting from the base case to the target case, if it can be reached.
Please see the example on Page 46 of the manual<http://www.pserc.cornell.edu/matpower/manual.pdf>. It has an illustrative example demonstrating how to run a continuation power flow.. CPF can plot the PV curve by setting the cpf.plot.level MATPOWER option. Additionally, you can choose specific bus(es) with the option cpf.plot.bus (see Table 5.2 in the manual) MATPOWER does not directly transfer the continuation power flow results to Excel, you can do so using the appropriate MATPOWER commands for exporting data. The continuation power flow results are stored in the ouput results struct of the continuation power flow. The description of the various fields of this struct are given in Table 5.1. Hope this helps. Shri From: Mahbubur R <tanim.3...@gmail.com<mailto:tanim.3...@gmail.com>> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>> Date: Tuesday, February 21, 2017 at 4:50 PM To: "MATPOWER-L@cornell.edu<mailto:MATPOWER-L@cornell.edu>" <MATPOWER-L@cornell.edu<mailto:MATPOWER-L@cornell.edu>> Subject: CPF with Matpower Hello, I apologize for a very basic question. I want to run CPF using matpower and finding no way to do it. In the manual it says that I need to do the following results = runcpf(basecasedata, targetcasedata) But, suppose I want to do CPF for the 14 bus - 'case14'. What do I need to do for that? Is the case14 would be the basecasedata in this case? What would be the targetcasedata? Once, these are solved can I transfer all P-V results to excel file in order to draw the PV curve? Thanks in advance. Bests- Mahi