Modelling of distributed system in one single simulation model: a way to study communications within distributed systems