Hydrogen energy technologies have attracted substantial attention due to carbon-free and environmental friendly. However, not much attention is paid to the application of hydrogen in tri- and polygeneration system. Hence, a renewable-based multi-energy system (RMES) is proposed to combine four separate systems: cooling, heating, hydrogen, and power. Renewable solar energy is supplied to the system utilising a photovoltaic solar panel for the electrical supply and a solar thermal collector for the heating supply. Thermal and electrical energy storage is utilised to mitigate the fluctuations in the energy consumption and peak shaving characteristics of the multi-energy system. The hydrogen sub-system consists of solid oxide fuel cell, solid oxide electrolyser cell and hydrogen energy storage. A comparative analysis is performed to study the effect of different energy storage on each objective function. A multi-objective optimisation approach was proposed to evaluate trade-offs between two different objective functions: economic and environment. A well-known decision-making approach E-constraint method has been applied to identify the final desired Pareto optimal solution for the model to be more suitable in reality. This result will contribute to the global goal on energy (SDG 7) to strive towards affordable and clean energy to significantly increase the share of renewable energy in the global energy mix.