Assessment of the production costs curve in micro-grids: a comparative analysis