Sets the index of a time pattern used for one of a node's demand categories.
ENsetdemandpattern(nodeindex, demand_index, pattern_index)
a node's index (starting from 1).
the index of one of the node's demand categories (starting from 1).
the index of the time pattern assigned to the category.
Specifying a pattern index of 0 indicates that no time pattern is assigned to the demand category.