Optimization of medium temperature direct steam generation solar plant