Reverse electrodialysis, design and optimization by modeling and experimentation door