I was tracing the water path to see how it works exactly when I got confused. I don't understand how the 3-way solenoid functions within the system. If those of you who are more experienced would offer some help I would be very grateful.
My original understanding:
Solenoid valves release the pressure in the portafilter by allowing "dirty water" (pressurized excess brew water with coffee oils) to be expelled through the solenoid itself into the drip tray. This avoids "sneezing" and gives a drier puck - a general convenience factor. The dirty water does not enter the boiler, but rather is diverted along another path. Backflushing cleans the solenoid valve and this path.
My confusion:
My machine has the boiler mounted directly over the group head. It's not an offset design like some other single boilers. Therefore the solenoid is not placed in between the boiler and the group. In fact, the leads to the solenoids go up through the boiler and then back down to the drip tray. Does this mean that dirty water is coming into contact with boiler water? Are there just pipes that run through the boiler? How does the solenoid control the system (i.e. why do the hot water and brew switches do different things?
I'm going to try attach a lot of images so that I everyone can see what I'm talking about. I've color coded a few pipes and pointed out others. All pictures are from the same side (same orientation).

Here's the whole thing. Blue pipe is water intake. Yellow pipe is OPV drainage. Red pipe is unknown. Sorry the wires are everywhere, hopefully you can sort through it.

As we follow along the water path, the blue intake goes into the Ulka pump.

The other side of the pump is a thinner pipe, which I have indicated with my sky-blue paint brush.

Continuing along the water path, the same indicated pipe connects to the right side of the non-adjustable OPV.

This is the left side of the same OPV, where the top pipe is the yellow pipe leading back to the tank.

The bottom of the casing has another T-joint. Directly below this, just to the left of the joint, is where the steam wand exits the casing. Indicated is the control for the steam valve.

Attached to the right of the T-joint is the 3-way solenoid valve (indicated).

Indicated is the pipe leading to my drip tray. Dirty water decidedly travels through here.

I have no idea what this red pipe does, but it is obviously attached to the other side of the solenoid valve.
So, tell me exactly what happens when I brew a shot, please. The pump activates, pushing tank water into the boiler, which pushes water out of the boiler because the solenoid valve and steam valve create back pressure? Or does a tube travel through the boiler to the now opened solenoid valve by means of the red tube? What path and how does dirty water move when the pump turns off? Somehow dirty water has to go through the boiler, and I'm under the strong impression that it doesn't mix with clean boiler water. Does that mean that there are one way valves in the boiler / group head, then?
I will stop guessing and wait for some better explanations. Thank you for your time!





