equilib function

Calculate the equilibrium of a linear facility model