Text this: Inverting DC traction substation with active power filtering incorporated