## 4 Modeling a Solar-Hydrogen System in the University
### Performance Result
The battery's robust functionality is demonstrated by the Simulink chart, which also shows how well it can store and release energy while adapting to the dynamic nature of energy supply and consumption within the given parameters. The system's impressive ability in producing hydrogen by electrolysis is shown in the Simulink chart result for Hydrogen Production in kilos, where the highest score was 98 (Figure 5). This peak value suggests that the energy resources were used efficiently, most likely when solar power input was at its best and the grid was stable. The system's ability to capture renewable energy sources and transform them into a clean, sustainable energy source is demonstrated by the significant hydrogen generation. As the Simulink chart illustrates, reaching a high level of hydrogen production means that solar power and electrolysis processes have been successfully integrated, which is in line with the system's goals of encouraging green hydrogen generation. This result highlights the system's potential as a dependable and environmentally beneficial part of the larger energy landscape and supports its ability to considerably contribute to the creation of a clean energy source. The power results for the Electrolyzer, Solar, and Storage systems in kilowatts on the Simulink chart provide important information on the energy dynamics of the system (Figure 6). The Electrolyzer's range is 170 to 190 kW, and the highest score denotes maximal electrolysis activity, perhaps at times when solar power output is abundant. Interestingly, the Solar Power exhibits a steady and coordinated growth with the Electrolyzer, ranging from 220 to 260 kW. According to this alignment, the electrolyzer reacts proportionately to an increase in solar power input, optimizing the production of hydrogen. Nonetheless, the Storage electricity continuously shows less than 0 kW, suggesting that the storage system is more often discharging than producing electricity. This scenario demonstrates the system's skillful control of power flow and storage discharge by implying a planned use of stored energy, possibly during times of decreased solar input or increasing demand. All things considered, the Simulink diagram highlights how the Electrolyzer, Solar, and Storagecomponents are interdependent and work together to create a dynamic and effective energy balance in the system. The energy performance of the system is shown dynamically by the Simulink chart results for Energy in kilowatt-hours (kWh) for the Electrolyzer, Solar, and Storage (Figure 6). From 0 to 14,000 kWh, the electrolyzer's energy output increases gradually, suggesting a steady and significant production of hydrogen over time. Notably, the Solar Energy exhibits a coordinated performance pattern with the Electrolyzer, ranging from 0 to 12,000 kWh. The concurrent rise in Electrolyzer and Solar performance scores points to a balanced reaction to ideal solar power conditions, which increases the production of hydrogen. The Energy stored in the Storage component, on the other hand, indicates that stored energy is primarily being used rather than accumulating, as it displays a downward trend from 0 kWh. This use is consistent with efficient energy management; it might even direct stored energy to adjust to changing grid conditions or demand variations. Thus, the Simulink diagram illustrates a flexible and integrated system in which the Solar and Electrolyzer components work together to promote the generation of hydrogen, while the Storage element dynamically controls energy storage and release in response to the system's actual needs.