It sounds like you want to solve a problem that MATPOWER does not implement directly, so I’m afraid you’ll have to formulate the problem yourself and determine whether or not it fits MATPOWER’s extensible OPF structure (see also FAQ #2<https://matpower.org/doc/faq/#homework>).
In general, when introducing storage, you need to solve a multi-period problem that optimizes across multiple time steps simultaneously. If a DC network model is adequate, you might consider whether MOST<https://matpower.org/docs/MOST-manual-1.0.2.pdf> would be able to solve your problem. Ray On Sep 10, 2020, at 11:00 AM, Davide Maglione <[email protected]<mailto:[email protected]>> wrote: Hi Ray, thank you for your support and your answers. I am new to power flows so i struggled a bit, but i managed to succesfully run a pf for a 4 month period in my network. Thank you for your help. I want to add energy storage in my network, and, taking into account a surplus of power occasionally in the 4 month period, i would like to create a new objective function in order to minimize the cost of installation of the storage system. Is the Extended OPF feature the best way to do this? Should i think of the storage simply as an additional load on the bus and the occasional surplus of energy as an additional power from the generators? Thank you for your help, Best Regards, Davide Maglione Da: Ray Daniel Zimmerman<mailto:[email protected]> Inviato: venerdì 24 luglio 2020 16:10 A: MATPOWER-L<mailto:[email protected]> Oggetto: Re: Bus, Loads and Generators question It sounds like your P and Q are branch flow values, not nodal loads, so no they should not be used as loads in the bus matrix. Ray On Jul 23, 2020, at 12:42 PM, Davide Maglione <[email protected]<mailto:[email protected]>> wrote: Hi Ray and thank you for your reply, i will try to make my case more clear. I am studying a radial transmission network (150 kV). There are 3 branches directly connected to a station. I am thinking of using this station as a “sink” (a load for Matpower) that collects the power generated by the wind power plants in the network. My final goal is to do an extended optimal power flow, using some custom constraints, to optimize size and location of energy storage in order to avoid wind curtailment by the transmission operator. I have data of P, Q and I of branches, and V at the nodes (intersection of branch and power plant). Should i put those data (P,Q) in the 3rd and 4th column of the bus matrix data despite they are not load buses? Or should i do something different in my scenario? I have put an image to semplify things. Hope this time i have make it more clear, thank you again for your time, Davide Maglione Da: Ray Daniel Zimmerman<mailto:[email protected]> Inviato: venerdì 17 luglio 2020 22:40 A: MATPOWER-L<mailto:[email protected]> Oggetto: Re: Bus, Loads and Generators question It isn’t completely clear what data you have to create your case, but you definitely need both load and generation for the system to make any sense. Total generation is equal to total load plus losses, so you need both. And dispatchable load refers to loads whose quantities are not fixed, but can vary depending on the price. Ray On Jul 16, 2020, at 10:06 AM, Davide Maglione <[email protected]<mailto:[email protected]>> wrote: Hello, For my thesys work i am trying to recreate a trasmission network with high penetration of wind power. I have some doubts on how to consider my buses, because in my network there are no loads but only generators and i am considering the buses as the nodes of the system. I have V,I and P datas of each n_i node, so can i put in the 3rd and 4th column of the bus matrix those flow data despite they are not load buses? Finally, what do you mean with “dispatchable load”? Thank you very much, best regards. Davide Maglione [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Mail priva di virus. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> <network.PNG>
