We present a dynamic model of atmospheric magnetic field in which magnetic loop footpoints are advected by a velocity field computed using a simple n-body simulation and reproducing large spatial organization scales (e.g. mesogranulation). In this model, the advection of passive magnetic elements triggers multiple reconnection processes forcing magnetic field reconfigurations and ensuing fluctuations of total magnetic energy. The simulations reproduce a system with scale-free properties, provides frequency distribution functions for emitted magnetic energies, described by a power-law index alpha ˜ 2.4, and also frequency distribution for quiescent times between different energy emissions.