Trying to evaluate Time of Use Electrics Costs

I previously posted a solution to this here: