This paper proposes a modeling of fuel cell which replaces dc source during simulation. Fuel cells are electrochemical devices that convert chemical energy in fuels into electrical energy. This system has high efficiency and heat, no environmental chemical pollutions and noise. Proton exchange membrane fuel cells(PEMFC) are commonly used as a residential generator. These fuel cells have different electrical characteristics such as a low voltage and high current compared with solar cells. And there are different behaviors in the V-Icurve in the temperature and pressure. Therefore, the modeling of fuel cell should consider wide voltage range and slow current response and the resulting electrical model is applied to boost converter with fuel cell as an input source.