Implement reverse simulation

Implement the reverse simulation where the flow is backwards in the hydraulic channel.