Hi abbas,
I understand from your query that you need help in understanding the short-circuit transformer algorithm.
It is a method in electrical engineering used to determine the copper or winding losses and to determine the impedance of the transformer. In this method, the secondary winding (low voltage side) is short-circuited with a thick conductor, and on the primary side (high voltage side), an ammeter (A), voltmeter (V), and wattmeter (W) are connected.
Power losses, ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1581511/image.png)
Hence, ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1581516/image.png)
We know that, Impedance ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1581521/image.png)
Reactance ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1581526/image.png)
Hope this helps,
Regards,
Neelanshu