Model for the internal door sensor