You can find the GAMS optimization program used for the optimal dispatch of grid-connected mini-grids. In the data file you can find the inputs you need.
If you use this, please cite us:
González Grandón T, de Cuadra García F, Pérez-Arriaga I. A Market-Driven Management Model for Renewable-Powered Undergrid Mini-Grids. Energies. 2021; 14(23):7881. https://doi.org/10.3390/en14237881