By solenoid, I take it you mean the Automatic Shutoff Valve (ASoV)?
If so, here's the answer you're looking for:
"Looks very complex, but is really very simple. The water is simply traveling across the valve from left to right or right to left depends on how you look at it. Pure water travels across the top of the unit, the filtered water across the bottom. The valve has a top and a bottom. The top is the side with the (4) screws visible. The bottom has no visible screws and is marked in and out. The bottom of the valve is connected between the pre-filters and the membrane. Water from the pre-filters is directed to the ASOV(in). The filtered water continues from the out of the ASOV to the membrane end with only one connection, the membrane water inlet. So the bottom of this valve got in between the filters and the membrane. The top the side with the (4) screws connects across the pure water line, from the membrane pure water outlet. The pure water outlet of the membrane is on the membrane housing end with two connections. One connection goes to drain and the other is the pure water. The drain connection is not the one you want. Once you have located the pure water line, cut it and install the automatic shut off valve. Now the pure water path is interrupted by the ASOV as well."