Design and operation of stand-alone energy systems based on integration of different renewable sources and a hydrogen plant