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] <[email protected]> > 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] <[email protected]> > 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. > >
