The branch losses are not stored in the output data structure, but they can be computed easily using the get_losses()<https://matpower.org/docs/ref/matpower7.1/lib/get_losses.html> function.
Ray On Aug 10, 2021, at 8:55 PM, RAKA MAULANA RAHARJO <rakamaulan...@mail.ugm.ac.id<mailto:rakamaulan...@mail.ugm.ac.id>> wrote: Hi all, I am using MATPOWER 6.1, for starter I tried to run opf 30 bus. I will take some output opf into excel and using it for my program, kirschen method. For other data i can found it in datastruct, and have successfully addres it. Unfortunately, I didn't know where is loss data source in branch print, and I really need it for input data. Maybe if someone knew the loss data source in opf, please help me. <LOSS DATA OPF 30 BUS IN BRANCH.png>