answered 2023-05-26 03:09:09 -0500
As I understand it: QELEC is calculated by the UDM, while the branch flow is calculated by PSSE from the bus voltages.
The bus voltages are updated at the network solving performed for each time step in the simulation.