Seems the revenue is only taking the used power into account but currently we can send power back to the grid and this also saves you money.
I had first a fixed price per kWh but this shows the behavior above. Now I out it dynamic but still fixed to see what happens.