As you mention, MATPOWER does not currently include consideration of losses in the DC power flow or DC OPF. You could estimate the losses manually after the fact based on the resistances and the lines flows that result from the lossless DC power flow.
It would even be possible to run something like this iteratively, where the loss computed for each line is added as a load at the sending end of the line before re-solving. … but you would have to write a few lines of MATLAB code to do this. Ray > On Sep 22, 2021, at 1:35 PM, harun.hoke...@metu.edu.tr wrote: > > > Hi all, > > > Is there any way to solve DC power flow problem considering line resistances? > > The rundcpf and rundcopf commands solve the problem by ignoring all losses. > > > Sincerely > > > >