The present study develops a new solar and geothermal based integrated system, comprising absorption cooling system, organic Rankine cycle (ORC), a solar-driven system and hydrogen production units. The system is designed to generate six outputs namely, power, cooling, heating, drying air, hydrogen and domestic hot water. Geothermal power plants emit high amount of hydrogen sulfide (H2S). The presence of H2S in the air, water, soils and vegetation is one of the main environmental concerns for geothermal fields. In this paper, AMIS(AMIS (R) - acronym for "Abatement of Mercury and Hydrogen Sulphide" in Italian language) technology is used for abatement of mercury and producing of hydrogen from H2S. The present system is assessed both energetically and exergetically. In addition, the energetic and exergetic efficiencies and exergy destruction rates for the whole system and its parts are defined. The highest overall energy and exergy efficiencies are calculated to be 78.37% and 58.40% in the storing period, respectively. Furthermore, the effects of changing various system parameters on the energy and exergy efficiencies of the overall system and its subsystems are examined accordingly. (C) 2018 Hydrogen Energy Publications LLC. Published by Elsevier Ltd. All rights reserved.