I have now included the Demand Model code.