This paper aims to design and run a standalone hybrid renewable energy System (HRES) feeding residential building load. The suggested HRES encompasses photovoltaic panels and wind turbines as energy sources, combined with a hydrogen subsystem and a bank of batteries for energy storage. The meteorological input data includes irradiance, temperature, and wind speed for four seasonal weeks. These data sets are collected for a rural site situated in the town of Ras Munif, northern Jordan. The load profiles characterize a selected benchmark residential building. Consequently, a bi-level mixed integer nonlinear programming (BMINLP) problem is formulated to incorporate the designing problem with the energy management process. The upper level represents the sizing problem, while the lower level problem denotes the energy management strategy (EMS). Each problem has its independent objective function, constraints, and optimization variables. The EMS is an economic-based single objective optimization problem expressed as a mixed integer linear programming (MILP) problem. On the contrary, a mixed integer nonlinear programming (MINLP) approach frames the sizing problem to optimize a techno-economic-based multi-objective function. The interaction between the two problems is that the lower problem is an embedded constraint of the upper problem. Moreover, the candidate solutions from the upper problem are treated as fixed parameters in the lower problem. A multi-objective genetic algorithm is used to execute the overall problem by the MATLAB toolbox. The technical and economic performance parameters, including the investment cost, maintenance, operating costs, and others, are assessed based on the best findings. The key finding demonstrates that the summer week has the lowest total cost and energy loss factor, with around 132,000 $ and 0, respectively. Furthermore, the findings reveal that the entire system's energy loss factor for each sample period is less than 0.0009. This value is substantially less than the permitted limit of 0.01.