A steady state equation-oriented simulator for separation processes of solutions with weak electrolytes