Over the past few years, a growing emphasis has been placed on providing sustainable energies to reduce carbon emissions and promote energy efficiency. This paper delved into energy, exergy, exergoeconomic, and exergoenvironmental investigation for a system that combines the Kalina cycle, a double-effect absorption chiller with a vapor compression refrigeration system coupled with an air handling unit driven by a geothermal renewable energy resource. This innovative system generated four distinct outputs: electricity, potable water, cooling load, and hot water. Key system performance variables, such as net power output, coefficient of performance, sum unit cost of the product, energy and exergy efficiencies, the temperature of supply air to the cold store, and potable water production in the base mode, are measured at 63.45 kW, 0.83, 56.74 $/GJ, 62.28 %, 45.67 %, 268.7 K and 20.82 lit/h, respectively. This research explored the impact of various parameters on the output variables, the exergy destruction and environmental impact rate of all components, and the net percent value of the proposed system. The multi-objective optimization significantly improved energy and exergy efficiencies by 6.83 % and 1.8 % from its base mode. Exergy and exergoenvironmental analysis revealed that the highest exergy destruction occurs in Re-injection, and the highest environmental impact rate associated with exergy belongs to the HPG component. Moreover, the geothermal section has the largest share of exergy destruction, approximately 58.5 % of the total exergy destruction of the system.