In this paper, a solar based hydrogen production in the city of Tehran, the capital of Iran is simulated and the cost of produced hydrogen is evaluated. Local solar power profile is obtained using TRNSYS software for a typical parking station in Tehran. The generated electricity is used to supply power to a Proton Exchange Membrane (PEM) electrolyzer for hydrogen production. Dynamic nature of s...