Modeling of interactions between submodels