Thanks @eroche. Yes agreed not all bitcoins are created equal, but the current bitcoin utility value drives the electricity consumption/cost of production and not the other way around.
So rather than use historical input costs for each bitcoin individually, people will use the current electricity consumption as a proxy to value all bitcoins at the same time.