In order to reduce greenhouse-gas emissions by 55 % below 1990 levels by 2030, the European Commission advocates for increased integration of renewable energy sources. This paper examines the role of energy hubs (EH) or multi-energy systems (MES) in achieving this goal. It evaluates the effectiveness of bifacial photovoltaic panels (BPV), tidal turbines, and hydrogen production in enhancing EH performance. Moreover, carbon capture (CCUS) technology is explored for its ability to safely use fossil fuels and reduce costs by utilizing captured CO2 in oil refineries. Due to their significant energy consumption, crypto miners' impact is also analyzed alongside demand response programs to assess their combined effect on EH performance. The primary objective has been to enhance sustainability and optimize the energy hub's performance by minimizing total costs and environmental pollution. The problem is modeled as mixed integer linear programming (MILP) and solved in GAMS software by utilizing diverse solvers to evaluate the accuracy of the results. The results show the effectiveness of the proposed planning; therefore, by bi-facial PV, total cost decreased by approximately 2.51 % from $546.433 to $532.7, and environmental pollution reduced by about 1.80 % from 2669.538 kg to 2621.388 kg. CCUS technology causes a reduction in total pollution by approximately 89.66 %, down to 270.831 kg. Demand response programs flatter the load curve and enhance the energy hub's reliability. The power sold to the main grid decreased by approximately 28.10 %, from 1511.725 kW to 1086.931 kW, indicating a more efficient internal use of generated power and better demand management.