Algorithm for formation of optimum schematic solutions of local electrical power systems containing renewable sources of electric energy | Synapse