If Statements for Choosing Elec Costs

Have a look at Utility Meter helpers for this.

I found the following post useful for how to setup the various components: