Equilibrium and non-equilibrium models of the power markets