Hello, I'm sure the answers to these questions are buried somewhere between the user manuals and the email archives, but I'm hoping that if I can clearly define my problem here I may be able to get the information I'm after more efficiently.
I'd like to solve an ACOPF of the 33-bus distribution system that has flexible demand at every bus except the root bus, and has some distributed generation at certain buses. There will also be solar PV injections at select buses. In other words, one bus could be composed of: fixed demand, dispatchable demand, fixed generation and dispatchable generation. The solar I understand I can represent as a generation source with 0 cost and defined, equal upper/lower bounds. I understand that I can place a DG with the usual mpc.gen and mpg.gencost, and I know that I can change fixed load to dispatchable via the load2disp() function. My questions are: - Can I have all three fixed generation, dispatchable generation and dispatchable load at the same bus and, if so, how does one implement this in MATPOWER's case structure? - Is it possible to have a portion of the load, as opposed to all of it, made dispatchable? And if so, how would I implement this? Thank you, Cody
