## 1 Introduction  
Europe is undergoing a major energy transition, aiming for climate neutrality by 2050 through the widespread adoption of renewable energy. To support this goal, various national and international initiatives have been launched to foster collaboration and accelerate progress [1,2]. Shared energy production systems utilizing hybrid energy systems (HESs) are widely recognized as essential for achieving a more sustainable society [1]. One such initiative, the HY4 RES project, led by the EU Interreg Atlantic Area program, focuses on developing hybrid energy technologies by integrating solar, wind, and hydropower with advanced storage solutions. These micro-scale energy systems support key sectors, including agriculture, aquaculture, ports, and small energy communities, enhancing sustainability and efficiency [3]. Unlike conventional energy models focused on financial profits, HESs prioritize port community-wide benefits, fostering a more inclusive and sustainable energy system that serves all stakeholders rather than a select few [4]. This project aims to install a hybrid energy module in the city's port, combining solar, wind, and tidal energy with a Pump-as-Turbine (PAT) system for energy storage [5]. The PAT system ensures energy reliability by storing surplus electricity and supplying it when renewable generation is insufficient. The initiative seeks to improve the port's energy autonomy [6], supporting infrastructure such as lighting, vehicle charging stations, and small-scale operations with Hybrid for Renewable Energy Network [7]. \"Energy Management for a Port Integrated Energy System Based on Distributed Dual Decomposition Mixed Integer Linear Programming\" was instead investigated by [8]. Effective energy management is crucial for optimizing the use of generated and stored energy [9], particularly in transitioning from conventional grids to hybrid renewable systems. This report analyzes different operational modes of the hybrid module and identifies optimal energy demand scenarios. Various storage capacities will be tested to determine the most efficient solution, ensuring maximum energy, economic, and environmental benefits [10]. The rapid expansion of maritime transport has intensified concerns about sustainability, prompting efforts to develop effective solutions for the sector [11]. While electrification strategies for vessels are still evolving, significant advancements have already been made in supplying clean energy to shore-based port facilities, supporting a more sustainable future [12,13]. The integration of hybrid energy systems in ports is becoming increasingly prevalent, with renewable energy sources serving as a foundation for sustainability [14]. Equally crucial is the digitization and implementation of energy management systems, which enhance operational efficiency by optimizing intermittent renewable energy generation. Successful examples across Europe, such as the Port of Anzio in Italy, highlight the effectiveness of hybrid energy systems in reducing reliance on conventional power grids [15,16]. The effective deployment of hybrid systems relies on advanced control mechanisms that manage both energy generation and demand. Technologies such as digital twin (DT) and geographic information systems (GISs) facilitate energy planning and decision making [17]. Additionally, the integration of artificial intelligence (AI) and the Internet of Things (IoT) has been shown to significantly reduce energy waste in ports [18]. The joint energy scheduling approach, as explored in various studies, further emphasizes the importance of aligning renewable energy generation with port facility demands, particularly leveraging predictable sources like tidal energy [19]. A shift towards distributed energy technologies enhances resilience by preventing localized failures from disrupting the entire infrastructure. This modular approach, asimplemented in this project, ensures greater flexibility, scalability, and reliability in port energy systems.