New challenges and opportunities arise with the Internet of Things (IoT), making it possible to link any objects of the real world with the virtual one. In recent years, IoT has become increasingly popular in industrial applications (e.g. for the inclusion of data related to the product history). It might therefore be asked what is the impact on real-time applications when accessing data from the object instead of accessing it from the database. To assess that impact, this paper develops an approach that uses jointly two simulators: CPN ToolsR and OPNET ModelerR.