A Texas judge has ordered CPS Energy to pay nearly $400 million to two Energy Transfer subsidiaries after ruling the…