Agent-Based Modelling for Distributed Decision Support in an IoT Network