Solar flare model: Comparison of the results of numerical simulations and observations