During solar radiation, Power will be generated by PV system to feed load demand and the excess power will be compressed and stored in the form of hydrogen in a storage tank.
If there is no or low solar radiation, the PV system can’t provide sufficient electricity to feed load demand, the fuel cell will utilize H2 to produce electricity for the load demand.
Note that the electrolyzer and the fuel cell will not be operated simultaneously.