Modeling biphasic reactors, emulsions and selection of solvents