fix equilibrium analysis