In this paper, the energy budgets of two single-loop like flares observed in X-ray are analysed under the assumption that non-thermal electrons (NTEs) are the only source of plasma heating during all phases of both events. The flares were observed by RHESSI and GOES on February 20 th , 2002 and June 2 nd , 2002, respectively. Using a 1D hydrodynamic code for both flares the energy deposited in the chromosphere was derived applying RHESSI observational data. The use of the Fokker-Planck formalism permits the calculation of distributions of the non-thermal electrons in flaring loops, thus spatial distributions of the X-ray non-thermal emissions and integral fluxes for the selected energy ranges which were compared with the observed ones. Additionally, a comparative analysis of the spatial distributions of the signals in the RHESSI images was conducted for the footpoints and for the entire flare loops in selected energy ranges with these quantities fluxes obtained from the models. The best compatibility of the model and observations was obtained for the June 2 nd , 2002 event in the 0.5-4 Å GOES range and total fluxes in the 6-12 keV, 12-25 keV, 20-25 keV and 50-100 keV energy bands. Results of photometry of the individual flaring structures in a high energy range shows that the best compliance occurred for the June 2 nd , 2002 flare, where the synthesized emissions were 30% or more higher than the observed emissions. For the February 20 th , 2002 flare, synthesized emission is about 4 times lower than the observed one. However, in the low energy range the best conformity was obtained for the February 20 th , 2002 flare, where emission from the model is about 11% lower than the observed one. The larger inconsistency occurs for the June 2 nd , 2002 solar flare, where synthesized emission is about 12 times greater or even more than the observed emission. Some part of these differences may be caused by inevitable flaws of the applied methodology, like by an assumption that the model of the flare is symmetric and there are no differences in the emissions originating from the feet of the flares loop and by relative simplicity of the applied numerical 1D code and procedures. No doubt a significant refinement of the applied numerical models and more sophisticated implementation of the various physical mechanisms involved are required to achieve