We count total cost of production by adding
Total Variable Cost + Total Fixed Cost
And we count cost per output by dividing Total cost with total output
Increase in electricity price will lead to an increase in total Fixed Cost, which will Increase overall cost per output