This paper discusses a comprehensive supervisor control for a hybrid system that comprises the photovoltaic generation , hydrogen system ( Fuel cell ,Electrolyse ) and an ac load is developed in this paper. The objectives of the supervisor control are, primarily, to satisfy the load power demand and, second, allows to store the gas through the electrolyser. For these purposes, the supervisor controller determines the operation mode online of the solar generation subsystem , switching from power regulation to maximum power conversion . Decision criteria for the supervisor based on measurable system variables are presented (voltages, and currents) . Finally, the performance of the supervisor controller is extensively assessed through computer simulation using a comprehensive nonlinear model .