Text this: Algorithms and probabilistic models of parameters of operation of in-plant power supply