*Results Discussion*

The allocation and sizing of RES allows for the better use of existing infrastructure. This operation consists of choosing the type of renewable energy sources, the number of sources from a given power series and the node in which the units are to be built. Taking into account the generation profiles of individual RES, loads profiles and capacity of existing lines, it is possible to locate such generating units that do not violate the technical parameters of the network, and allow the achievement of the set level of their annual generation at the lowest possible cost total.

The allocation and sizing of energy storage allows for their distribution in the network and the selection of capacity, which will allow them to support RES at times when their generation exceeds the total demand in the system. Energy storage allows for energy storage at times when the generation from generating units exceeds the demand (usually, these are the night demand valleys) and putting this energy into the network at the peak of demand.

Energy curtailment allows a user to reduce energy production at times when their generation exceeds the total demand, which makes it possible to adjust the generation to the demand in these periods.
