The algorithm for tracing of active power flow using EIM is given below: Step 1: Read the bus and line data (If tap changing transformers are present Read the values) Step 2: Form the Y-bus using the Singular Transformation method in AC power flow (Or) Form the susceptance matrix in the case of DC power flow. Step 3: Obtain the line flows and line losses from the NR method in case of AC power flow and DC power flow. Step 4: Form the matlab simulation model
Step 5: Obtain the B matrix
Step 6: Obtain the
Step 7: Obtain the contribution of each generator to each load
Step 8: Obtain the contribution of each generator to each line flow
Step 9: Obtain the Load
Step10: Obtain the contribution of each line flow to the load
Step 11: Allocate the transmission service charge to the each generator and the each load Step 12: Print the results