ENgetdemandpattern function

Gets the base demand for one of a node's demand categories.