Control and simulation of a stand-alone wind-hydrogen generation system