Solving models with external habit · Study