compartmental model