Learning to run a power network with trust