I want assistance developing Matlab code for the equation used to calculate the Transmission Reliability Margin analytically in the ATC using an 8-bus system. I want it as a video tutorial so that I can learn and do it myself and be able to explain. I have attached a paper that I want to reproduce section 5 of it on simulation test results.