Hi!
I share with your my last component: Tarifa 2.0 TD
These component can you create a entity with the actual price of your energy in free market with three fixed prices each day.
By other hand, the component add another entity with fixed cost (power, rents, social bonus…) by day, so you can create a “dummy energy cost” .