Gets the base demand for one of a node's demand categories.
ENgetdemandpattern(nodeindex, demand_index = 1)
the category's base demand.
Retrieves index of a time pattern assigned to one of a node's demand categories.
patIndex the index of the category's time pattern.
the node's index (starting from 1).
the index of a demand category for the node (starting from 1).
A returned pattern index of 0 indicates that no time pattern has been assigned to the demand category.