Cost-benefit analysis for the comprehensive use of smart metering