  A partially distributed economic dispatch algorithm, which renders optimal
value in fixed time with the objective of supplying the load requirement as
well as the power transmission losses, is proposed in this paper. The
transmission losses are modeled using Kron's $\mathcal{B}-$loss formula, under
a standard assumption on the values of $\mathcal{B}-$coefficients. The total
power supplied by the generators is subjected to time-varying equality
constraints due to time-varying nature of the transmission losses. Using
Lyapunov and optimization theory, we rigorously prove the convergence of the
proposed algorithm and show that the optimal value of power is reached within a
fixed-time, whose upper bound dependents on the values of
$\mathcal{B}-$coefficients, parameters characterizing the convexity of the cost
functions associated with each generator and the interaction topology among
them. Finally, an example is simulated to illustrate the theoretical results.
