In this study, an improved energy management controller (EMC) is proposed for a grid-connected hybrid system (HS), composed of wind–photovoltaic generation and an energy storage system (ESS). The main contributions of this study are as follows: first, we developed an intelligent supervisory controller based on a recurrent neural network, namely Elman neural network (ENN), to alleviate the complexity and requirement of a rule-based structure or prior mathematical modeling. Second, we designed an energy management strategy (EMS) using Stateflow (SF) approach to extract the training and testing datasets for construction of the ENN controller. The proposed framework was compared with a multilayer perceptron neural network (MLPNN) strategy to evaluate their performances. The simulation results indicated that the strategy proposed is a suitable option to efficient energy management control based on a predictive model, as it is not very complex and does not require a high processing machine.