Added a support for parameters input and an equilibrium function to the model class