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.
Power consumption is indirectly related to machine hours.