sentence1: 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.
sentence2: The power is generated at a local solar power plant.