This paper presents a cost-effective approach for building energy usage management through energy usage optimization of available building energy sources. An energy cost reduction model is developed considering grid energy usage and cost, generator energy usage and cost as well as carbon emissions tax penalties associated with scope 1 emissions. The model selects optimal times to use either Grid energy, generator energy, or a combination of the two to minimize the overall building energy usage cost.