Solar Flare Statistics with a One-Dimensional Mhd Model