Carbon Accounting Equations for Energy Modelers