Serna Torre, P. (2021). Lossy-DCOPF-with-an-accurate-modelling-of-Li-Ion-batteries (Version 2.0.4) [Computer software]. https://doi.org/10.5281/zenodo.1234