Analysis of electronic electricity meters and proposal for an intelligent prepaid system for the ende