Iran has been battling an acute energy crisis for months because of gas shortages, and repairing any damage would both be costly and take significant time.