Scripts for a university project, a simple centralized/cooperative smart grid energy cost minimization problem.
The smart grid topology is depicted in the figure on the left, while on the right the single prosumer energy flow.
The tensor of variables is
where is the domestic demand, is the PV generator, is the storage and the notation stands for the energy dispatched from device to device at time for prosumer . The storage charge state is for prosumer at time .
The optimization problem is
subject to
N. Vespermann, T. Hamacher and J. Kazempour, "Access Economy for Storage in Energy Communities," in IEEE Transactions on Power Systems, https://doi.org/10.1109/TPWRS.2020.3033999.
N. Vespermann, T. Hamacher, and J. Kazempour, "Electronic companion: Access economy for storage in energy communities", Technical University of Munich, Tech. Rep., 2020. [Online], https://bitbucket.org/nivesp/marketdesign_energycommunities/.
Paul Neetzow, Roman Mendelevitch, Sauleh Siddiqui, "Modeling coordination between renewables and grid: Policies to mitigate distribution grid constraints using residential PV-battery systems", Energy Policy, Volume 132, 2019, https://doi.org/10.1016/j.enpol.2019.06.024.