ON THE OPTIMIZATION OF INVESTMENTS IN DISTRIBUTED ENERGY RESOURCES IN A LOW-VOLTAGE ENERGY COMMUNITY