## Adaptation of discrete macromodels of electric transmission lines to modern computer tools

The paper discusses the methods of creation of mathematical models of electric transmission lines. It is proposed to develop them on the basis of computer simulation data or data obtained by natural experiment using the "black box" approach in the form of state variables. The derived system of discrete equations in the form of state variables equivalent to the system of ordinary differential equations has been adapted to the MATLAB / Simulink software environment by creating the mathematical model using S-Function Block.