Thank you Thank you very much
_____ 发件人: [email protected] [mailto:[email protected]] 代表 Ray Zimmerman 发送时间: 2007年7月16日 21:23卓 收件人: MATPOWER discussion forum 主题: Re: 答复: Help On Jul 14, 2007, at 12:31 AM, sdumxx wrote: I found a function in loadcase.m function [gen, branch] = mpc_1to2(gen, branch) it expands the struct of version 1 to 2, doesn’t it? Correct. On Jul 14, 2007, at 1:33 AM, sdumxx wrote: I want to include gen array with PC1, PC2, QC1MIN, QC1MAX, ... QC2MIN, QC2MAX, RAMP_AGC, RAMP_10, RAMP_30, RAMP_Q, APF. I  need to modify the input data and the function mpc_1to2, do I? No need to modify the function, just create your input file in version 2 format, including the above columns. On Jul 14, 2007, at 8:45 AM, sdumxx wrote:   After checking the section 3.1 of the manual, I found that the caseformat.m version in my matpower 3.1b2 downloaded from <http://www.psercornell.edu/matpower> www.psercornell.edu/matpower is 1.7, not 2.0. I did not know the reason. Can you send me the latest version matpower with the caseformat version 2.0 You have the latest version. The 1.7 is a cvs revision number and has nothing to do with the version of caseformat.m. Your code should handle version 2 of the case file format with no problems. Just try it. If you have problems I'll be happy to help you sort them out. A good way to get an example case file in version 2 format is to load an existing version 1 file and re-save it in version 2 format. E.g.  mpc = loadcase('case9');  savecase('case9v2', mpc); Hope this helps, Ray
