Text this: Optimization of a microgrid operation considering operation cost, life of the batteries and uncertainty cost of eolic energy