Power flow control in a substation of a wind- and solar farm