See FAQ #5 on the MatPower webpage. http://www.pserc.cornell.edu//matpower/#faq
Shri From: "Zeya Aung [11547809d]" <zya....@connect.polyu.hk<mailto:zya....@connect.polyu.hk>> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>> Date: Mon, 5 Jan 2015 21:12:01 +0000 To: MATPOWER discussion forum <matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>> Subject: Re: running opf to get system data Thanks Ray. I did as you say and got some results - but they do not converge. please see below - what can i do about that? > In mips at 422 In mipsopf_solver at 145 In opf_execute at 106 In opf at 225 In runopf at 96 Warning: Matrix is singular to working precision. > In mips at 422 In mipsopf_solver at 145 In opf_execute at 106 In opf at 225 In runopf at 96 Numerically Failed Did not converge in 2 iterations. Did not converge (0.04 seconds) Objective Function Value = 19.38 $/hr ================================================================================ | System Summary | ================================================================================ How many? How much? P (MW) Q (MVAr) --------------------- ------------------- ------------- ----------------- Buses 84 Total Gen Capacity 2805.0 348.4 to 1742.0 Generators 18 On-line Capacity 2805.0 348.4 to 1742.0 Committed Gens 18 Generation (actual) 1397.8 939.2 Loads 45 Load 1388.6 1041.4 Fixed 45 Fixed 1388.6 1041.4 Dispatchable 0 Dispatchable -0.0 of -0.0 -0.0 Shunts 29 Shunt (inj) -0.0 233.0 Branches 103 Losses (I^2 * Z) 0.70 3.55 Transformers 0 Branch Charging (inj) - 846.6 Inter-ties 0 Total Inter-tie Flow 0.0 0.0 Areas 1 Best Zeya On 5 Jan, 2015, at 11:04 pm, Ray Zimmerman <r...@cornell.edu<mailto:r...@cornell.edu>> wrote: If you leave columns empty in the input file then it is not a valid case file format and you will get an error. Just use 1 and 0 for the voltage magnitude and angle and anything you like for Pg and Qg. When you run the OPF these values will all be replaced by the solution values. Ray On Jan 5, 2015, at 12:44 AM, Zeya Aung [11547809d] <zya....@connect.polyu.hk<mailto:zya....@connect.polyu.hk>> wrote: Hi guys. I’ll just like to be clearer with my objective. I have an incomplete data set - i.e missing the voltage magnitude and angle for the buses. So i could not fill in those columns. I was thinking of using the OPF function to get the Vm, Va, PG, and QG. How can i deal with my incomplete data set. I just need to minimise losses in this bus topology? I’ve all the line impedance and matrix ready. Best Zeya On 5 Jan, 2015, at 1:16 pm, Zeya Aung [11547809d] <zya....@connect.polyu.hk<mailto:zya....@connect.polyu.hk>> wrote: Hi all I’ve set all generators’ cost to be the same and left the voltage magnitude, angle and the Pgen Qgen empty for all buses. I then run an OPF and got an error. I wish to obtain the voltage magnitude, angle, and Pgen Qgen for each bus using this method. Is it possible? Also, what other ways can i take to get the 4 parameters for my case? Best Zeya --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Disclaimer: This message (including any attachments) contains confidential information intended for a specific individual and purpose. If you are not the intended recipient, you should delete this message and notify the sender and The Hong Kong Polytechnic University (the University) immediately. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited and may be unlawful. The University specifically denies any responsibility for the accuracy or quality of information obtained through University E-mail Facilities. Any views and opinions expressed are only those of the author(s) and do not necessarily represent those of the University and the University accepts no liability whatsoever for any losses or damages incurred or caused to any party as a result of the use of such information. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Disclaimer: This message (including any attachments) contains confidential information intended for a specific individual and purpose. If you are not the intended recipient, you should delete this message and notify the sender and The Hong Kong Polytechnic University (the University) immediately. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited and may be unlawful. The University specifically denies any responsibility for the accuracy or quality of information obtained through University E-mail Facilities. Any views and opinions expressed are only those of the author(s) and do not necessarily represent those of the University and the University accepts no liability whatsoever for any losses or damages incurred or caused to any party as a result of the use of such information. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Disclaimer: This message (including any attachments) contains confidential information intended for a specific individual and purpose. If you are not the intended recipient, you should delete this message and notify the sender and The Hong Kong Polytechnic University (the University) immediately. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited and may be unlawful. The University specifically denies any responsibility for the accuracy or quality of information obtained through University E-mail Facilities. Any views and opinions expressed are only those of the author(s) and do not necessarily represent those of the University and the University accepts no liability whatsoever for any losses or damages incurred or caused to any party as a result of the use of such information.