A Software Agent Based Simulation Model for Systems with Decision Units