## 4 Modeling a Solar-Hydrogen System in the University
### Simulation Result
On the other hand, the analysis of PSolar and PSolar swings is based on the analysis of PSolar and PSolar swings. Figure 6: Performance results of SOC and PSolar. Figure 7: Performance results of PSolar and Pstorage. the other hand, PStorage, which reflects variations in the system's energy storage levels, spans from \(-10\) to \(-2\). Higher energy storage rates are shown to correspond with times when solar power generation is above average, according to the data. The fact that PStorage becomes more negative as PSolar rises serves as evidence for this. The energy storage system stores excess energy when solar power generation exceeds immediate needs, which causes PStorage to further drop into the negative zone. By properly capturing excess solar energy for future consumption, this negative figure indicates the quantity of energy being stored for later use. On the other hand, PStorage tends to be less negative or even positive during times of decreased solar power generation or increased energy demand. This may indicate that the energy storage device is releasing stored energy to satisfy present energy needs. The stored energy is used to make up the difference when PSolar falls, indicating a decline in the availability of solar power, or when demand exceeds solar generation. As a result, PStorage values become less negative or positive. The dynamic interplay between the system's energy storage and solar power generation is reflected in the correlation between PSolar and PStorage. More negative PStorage values result from the storage of energy for later use during periods of surplus solar output. On the other hand, stored energy is released to satisfy demand when solar generation is limited or demand exceeds generation, which results in less negative or positive PStorage values. This link emphasizes how crucial energy storage is for improving grid stability, maximizing energy use, and balancing supply and demand in renewable energy systems. The analysis shows the energy balance between solar power usage and electrolyzer operation by looking at PSolar and PElectrolyzer, with PSolar ranging from 230 to 250 and PElectrolyzer going from 179 to 195 (Figure 8). PElectrolyzer values rise as PSolar rises because more energy is available for electrolysis. On the other hand, lower PSolar inputs lead to lower PElectrolyzer values, which indicate a drop in the energy available to produce hydrogen. The analysis of PSolar (solar power generation) and PElectrolyzer (energy consumption by the electrolyzer) reveals the energy balance link between solar power usage and electrolyzer operation. The solar power output is represented by PSolar, which varies between 230 and 250, and PElectrolyzer, which varies between 179 and 195, which is the energy used by the electrolyzer to produce hydrogen. According to the analysis, PElectrolyzer values increase in tandem with PSolar, which is a measure of solar power generation. This positive association suggests that when solar power generation is abundant, more energy becomes accessible for electrolysis. The electrolyzer can function more effectively with additional solar input, using the extra energy to electrolyze hydrogen. PElectrolyzer values thus tend to rise during times of increasing solar power generation, indicating greater energy availability for the creation of hydrogen. On the other hand, PElectrolyzer values typically decline in tandem with a decrease in PSolar, which indicates a decrease in solar power output. This inverse relationship means that when solar input is reduced, there is less energy available for electrolysis. PElectrolyzer reflects decreased energy consumption numbers as a result of the electrolyzer receiving less energy to support hydrogen production when solar power generation is lowered. The fall in PElectrolyzer values highlights the reliance of the electrolyzer's functioning on solar power generation levels, as it signifies a reduction in the energy accessible for hydrogen production.