Generally, for a sink, shower or other wet area that requires water of varying temperatures one will install either two spigots mixing into a single faucet or a single "mixer" spigot and one faucet (these last two may be integrated). I'm ignoring the older style of two spigots and two faucets.
These two setups allow control of two oupts via two control inputs. Either:
- Temperature (T) and Flow (f) via Hot flow (H) and Cold Flow (C)
- Temperature (T) and Flow (f) via Hot/Cold Ratio (r) and Flow (f)
oneT=(10C+80H)/(H+C)
onef=H+C
twoT=70r+10
twof=f
Normalising all input variables to the range [0,1] we can create the following:
Or as contours:
In any case, the bottom line is the hotel picks the flow (and it's generally pretty high, I prefer falling water over jets) and you don't get that "spiral staircase" (see contour) temperature discontinuity as you would with traditional home-brew water management
Jump for code...
Jump for code...