There's ways to accomplish this with a multi pump system or separate fluid intakes/outtakes, but it would also be nice to have a pump that has a second on/off signal to reverse the flow.
I know Stormworks devs don't like comparing the game to real life, but a reversible pump is a real thing. When the impeller spins the opposite way on some pumps, the flow is reversed.