A statistical physics model