# Design and Development of a Management System for Energy Microgrids Using Linear Programming
## 3 Results
### Impact of the Characteristics of the Battery  
The technical characteristics of the battery affect the performance of the microgrid and especially the use of the storage system significantly in situations when the installed capacity for renewable generation is extremely low or extremely high.  
When the installed capacity of renewable sources is small and its generation is not significant, there is an overgeneration from diesel sources in order have enough energy to store in the battery system that will be used in periods of high demand. On the other hand, in situations with a large renewable capacity of renewable sources and its production is significant, the overgeneration is used to charge the battery system, in order to turn off any of the diesel generators in one or more periods to lower the total cost of covering the demand.  
As shown in Table 2, as battery storage capacity increases, more intensive use is made of it. However, the percentage of variation for the use of the battery refers to how much percentage of the demand is covered from the use of the battery systems with respect to the immediately previous level on which it has been experienced,and it is evident that the use of this system to supply the demand does not increase in the same proportion as its capacity increases.  
Battery capacity has a direct impact on the fraction of demand that is not met over the time horizon, since this is the first way to avoid unattended demand. On the one hand, greater storage capacity would mean a lower fraction of unattended demand at night when the solar (most available renewable source) is not in operation. This is reflected in the savings represented by the use of a larger installed energy storage capacity. In this case, the \"Savings %\" column contrasts the operating cost of the microgrid with each storage capacity,  
Figure 4: Use of renewable resources for a combined 45% of installed capacity. (**a**) Microgrid load management for \(30\%*d_{max}\) and \(15\%*d_{max}\) of solar and wind installed capacity. (**b**) Microgrid load management for \(15\%*d_{max}\) and \(30\%*d_{max}\) of solar and wind installed capacity.  
in front of the current option of covering the entire demand from diesel. However, a greater power capacity from renewable sources and a higher charge and discharge capacity per period in the ramp parameters of the battery system allow more charging and discharging cycles to be started over the optimization time horizon.  
Regarding the battery charge and discharge ramp conditions (\(eb_{max}\), \(G_{B}^{max}\)), it should be mentioned that there are significant variations in the operation of the microgrid for each of the experimental levels. As the charge and discharge value of the ramps increase together, the battery charge and discharge processes are carried out in a greater number of periods, thus allowing a more intensive use of the energy storage capacity and more immediately using the energy produced from renewable sources. This decreases the use of the diesel source, increasing the use of renewable sources.  
Additionally, it should be noted that the deep discharge parameter \(L_{min}\) has no impact on the operation of the model; this can be attributed to the fact that due to the constant production of energy, the battery is not only used to supply the demand, thus allowing it to be recharged in several periods. However, due to the ability of the model to foresee low production in certain periods of time, the parameter of the number of periods in which overcharge is allowed, \(L_{max}\), does significantly influence its operation. These annotations may affect the choice and configuration of the storage system, allowing it to increase the level at which the battery enters an overcharge state, keeping the installed capacity as low as possible and thus reducing purchase and installation costs.