I need to work out how effective a pump is at removing 4 contaminants (Values A:D).
However, I have two pumps and need to work out how effective they are at different speeds and in isolation. I have four settings:
- 0 = pump off (at switch)
- 0.5 = pump off (below necessary conc for activation)
- 0.75 = pump on (half speed)
- 1 = pump on (full speed)
I need to know how each of the two pumps operate at removing the 4 contaminants for the following scenarios:
- Pump is 0.75 AND other pump is 0.5
- Pump is 1 AND other pump is 0
- Pump is 1 OR 0.75 AND other pump is 0.5 OR 0
There are a few more possibilites, but there is not need to list them all.
How do I select an entire row of variables is multiple AND, OR demands are met in this way?
I have included some example data below and attached a .mat file but the actual data set splits time up per second and is far larger.
Value A Value B Value C Value D Pump 1 Pump 216/10/2019 12:00 1 4 5 6 1 0.516/10/2019 18:00 4 5 6 14 0.75 0.517/10/2019 00:00 1 4 5 3 1 0.517/10/2019 06:00 4 2 3 5 0.75 017/10/2019 12:00 1 5 2 6 0 0.7517/10/2019 18:00 4 3 4 6 0.5 118/10/2019 00:00 3 2 3 3 0.5 118/10/2019 06:00 4 4 2 6 0.5 1
Best Answer