ENsetdemandmodel function

Sets the type of demand model to use and its parameters.