Methodological framework for development of hardware and software packages for power supply analysis in mines