Texas has long been particularly vulnerable to electricity supply shortages.A punishing heat wave is pushing electricity demand to record levels in some parts of the U.S., but the power grid has held up because of a combination of luck and new energy supplies.