A system, comprising: a non-corrosive fluid source (16, 104, 152, 182); a corrosive fluid source (24, 110, 188); a rotary isobaric pressure exchanger (12, 40) configured to exchange pressures between a non-corrosive fluid and a corrosive fluid, wherein the rotary isobaric pressure exchanger (12, 40) comprises: a first inlet configured to receive a first amount of the non-corrosive fluid from the non-corrosive fluid source (16, 104, 152, 182) at a first pressure; a second inlet configured to receive a second amount of the corrosive fluid from the corrosive fluid source (24, 110, 188) at a second pressure, wherein the first pressure is greater than the second pressure, and the first amount is greater than the second amount; a first outlet configured to output a first mixture of the corrosive fluid and the non-corrosive fluid at a third pressure; and a second outlet configured to output the non-corrosive fluid at a fourth pressure, wherein the third pressure is greater than the fourth pressure; the system further comprising: a controller configured to control the first amount of the non-corrosive fluid and the second amount of the corrosive fluid to control a ratio of non-corrosive fluid to corrosive fluid in the first mixture of the corrosive fluid and the non-corrosive fluid. a non-corrosive fluid source (16, 104, 152, 182); a corrosive fluid source (24, 110, 188); a rotary isobaric pressure exchanger (12, 40) configured to exchange pressures between a non-corrosive fluid and a corrosive fluid, wherein the rotary isobaric pressure exchanger (12, 40) comprises: a first inlet configured to receive a first amount of the non-corrosive fluid from the non-corrosive fluid source (16, 104, 152, 182) at a first pressure; a second inlet configured to receive a second amount of the corrosive fluid from the corrosive fluid source (24, 110, 188) at a second pressure, wherein the first pressure is greater than the second pressure, and the first amount is greater than the second amount; a first outlet configured to output a first mixture of the corrosive fluid and the non-corrosive fluid at a third pressure; and a second outlet configured to output the non-corrosive fluid at a fourth pressure, wherein the third pressure is greater than the fourth pressure; a first inlet configured to receive a first amount of the non-corrosive fluid from the non-corrosive fluid source (16, 104, 152, 182) at a first pressure; a second inlet configured to receive a second amount of the corrosive fluid from the corrosive fluid source (24, 110, 188) at a second pressure, wherein the first pressure is greater than the second pressure, and the first amount is greater than the second amount; a first outlet configured to output a first mixture of the corrosive fluid and the non-corrosive fluid at a third pressure; and a second outlet configured to output the non-corrosive fluid at a fourth pressure, wherein the third pressure is greater than the fourth pressure; the system further comprising: a controller configured to control the first amount of the non-corrosive fluid and the second amount of the corrosive fluid to control a ratio of non-corrosive fluid to corrosive fluid in the first mixture of the corrosive fluid and the non-corrosive fluid.