The energy management of Hybrid Electric Vehicles (HEV) has witnessed significant academic and industrial attention in recent years. Indeed, the use of different power sources in HEV requires both smart and efficient energy management scheme to split and manage power among them. The energy management strategy should enable continuous supply load balance. In HEVs, the energy management procedure should consider the constraints of load and the different available sources. The fundamental contribution of this paper is the energy management in the HEV in presence of faults in the fuel cell (FC) level while considering battery state of charge constraints. For the flexibility and durability of the proposed energy management scheme, the system mathematical modeling using Port-Controlled Hamiltonian (PCH) approach is developed. Therefore, the Interconnection and Damping Assignment Passivity Based Control (IDA-PBC) is used for a smartly energy management. According to the simulation results, the IDA-PBC is an adequate nonlinear control method that guarantees the stability of the system.