Smart energy management: Energy consumption metering, monitoring and prediction for mining industry