DECENTRALIZED ENERGY IN FLEXIBLE ENERGY SYSTEM LIFE CYCLE