[quote author=Moses link=topic=2465.msg5763#msg5763 date=1433322597]
.. Y_Min >measured value (Y_M) then you allow bypass (u_on=1) ..
[/quote]
That's not exactly what I said/meant :)
In the [b]standard[/b] "OnOffBand" controller, the condition Y_M < Y_Min is 'associated with' the signal u_On.
The actual value that u_On is to take is entirely up to you, i.e. the type of control you've implemented.
Assuming you have:
[list]
[li]used a 2-way fraction splitter (as the by-pass valve)[/li]
[li]connected the "out_2" terminal of the splitter to the by-pass flow (and therefore "out_1" goes to your plant)[/li]
[/list]
then the signal of the controller ("u") will set the percentage of by-pass flow:
[list]
[li]u = 0 (no by-pass, all to the plant) for Y_M<Y_Min --> u_On = 0[/li]
[li]u = 1 (by-pass, no flow to the plant) for Y_M>Y_Max --> u_Off = 1[/li]
[/list]
However, as I mentioned earlier, [b]this may not be the best solution[/b]: because a) you probably want to cut-off flow rate in excess of a certain threshold (rather than divert the whole incoming flow); and b) you may not want a "band" (Y_Min - Y_Max) but rather that particular threshold.
So the "OnOffIdeal" model may be a better option (solves point b).
You still need to vary "u" in function of Y_M, e.g.:
u = Y_M - Y_Threshold