The recent events in Iran could end up to threaten the maritime supply lines of Persian Gulf oil. While this isn't as bad as if the USN or India specifically blocked China-bound tankers from transiting the Straits of Hormuz or Malacca, it should nevertheless make the leadership think long and hard. The country should step up efforts into renewable and nuclear energy to wean the economy away from fossil fuels, and at the same time invest in a distributed and decentralised power grid that can minimise the effects of either physical or cyber attacks on the electrical system. Moving civilian transportation towards electric vehicles charged by a distributed electrical network would save petroleum for military use in case of war (trains can be electrified but warships and jet aircraft cannot).
Coal and biodiesel are not ideal replacements for petroleum. Biodiesel requires land and fertiliser that is better used to produce food crops. Coal is not suited to pipeline transport except in slurry form (which brings about a new set of problems). If converted into any liquid form that could rapidly refuel a warship from a tanker, this adds another step, cost, and level of complexity into the supply chain.
I don't know how vulnerable the power grid is to attack.