Analysis and metrological characterization of the state of atmospheric pollution by means of mathematical models and agents