The branch model in the current version of MATPOWER does not include shunt conductance, only shunt capacitance. I’m afraid with the current models, you would have to enter any shunt conductances directly at the “from” and “to” buses (column GS in the bus matrix) and then add in those losses manually.
Ray On Jul 2, 2021, at 3:53 PM, Abdelrahman Aldik <aal...@ryerson.ca<mailto:aal...@ryerson.ca>> wrote: Dears Does the line losses matpower function include the active power losses in shunt conductance that may result from the transformer representation using the PI model? If not, how to include it to calculate the total active power loss of the line? I'm asking that since I was reading the description of the function get_losses and there was no mention of the shunt conductance. Regards -- Abdelrahman Aldik PhD Candidate Department of Electrical and Computer Engineering and Centre of Urban Energy Ryerson University CUI-030, 44 Gerrard Street East, Toronto, ON, Canada Email: aal...@ryerson.ca<mailto:aal...@ryerson.ca>