This paper contains the results of simulation of small photovoltaic (PV)–fuel cell hybrid energy system. Simulation consists of photovoltaic (PV) a proton exchange membrane fuel cell (PEMFC), hydrogen storage tanks and power converter. The output of the PV is highly dependent on weather conditions, so the load is supplied from the PV with a fuel cell working in parallel. Whenever the PV system cannot completely meet load demands, the FC system provides power to meet the remaining load. FC power plant uses hydrogen and oxygen to convert chemical energy into electrical energy. When excess energy produced by photovoltaic is available, electrical energy can be converted into hydrogen using an electrolyzer and store in Hydrogen storage for later use in fuel cells. PID controller is used to control fuel cell system. The model is applied in MATLAB / SIMULINK based on the mathematical and electrical models.