Modelling of Power Flow Dynamics for Congestion Control