Optimization of the Use of Distributed Energy Resources in Local Electrical Power Systems According to the Criterion of Minimum Loss of Electricity | Synapse