Modeling, simulation and optimization of a pressure retarded osmosis power station