For example, assigning the cost of power to machine activities by machine hours is an allocation because machine hours are an indirect measure of power consumption.
Machines do not consume power to perform activities. 