PV-Wave Code for the Flow Control application