The produced oxygen from the electrolyzer is to be considered as the main output. While the hydrogen is supplied to the fuel cell and the total energy from the fuel cell is returned back to the electrolyzer. In this case, the fuel cell will run on hydrogen and air.