Text this: Development of the mathematical model for operation of digital substations relay protection complexes