Up till quite recently not so much as an extension cord was legally allowed to cross the Texas border. I think that changed about 10 years ago so Texas could sell power nationally, but Texas still has it own grid.
All states have the ability to generate power. Because the power grid crosses state lines does not mean a state cannot secede. Other countries share power grids peacefully. You comment was and is just stupid. Secession does not mean war.