Linking Resources are not simulated but UI suggests they are

Description

Linking resources are currently not simulated in SimuLizar.

This is additionally problematic, since the UI suggests, that they are (since it is reused from SimuCom): The run configuration dialog of SimuLizar suggests that you can use different types of simulations for Networking (see attached picture).

As far as we can see, this has no effect on the simulation. It should be clear from either the launch configuration dialog or some log output that this is currently not supported in SimuLizar.

Steps to reproduce:

Environment

openjdk version "12.0.2" 2019-07-16
OpenJDK Runtime Environment (build 12.0.2+10)
OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)

Eclipse 2019-09 R Modeling Tools, installed Palladio Aggregatred from current nightly update site.

Activity

Show:
Dominik Werle
November 12, 2020, 5:51 PM

Duplicates SIMULIZAR-115, SIMULIZAR-116,

Martina Rapp
February 3, 2020, 2:02 PM
Edited

We decided to address the implementation of the lacking network simulation support in 2 separate tickets and

Sebastian Krach
January 10, 2020, 3:09 PM

and I just had a look at what is needed to be done. Supporting network simulation basically requires scheduling linking resource demand when ExternalCalls traverse ResourceContainer boundaries. In order to achieve the same feature set as SimuCom the following additions are necessary:

  • Extend ResourceEnvironmentSyncer with creation of SimulatedLinkingResource, similar to initialization of SimulatedResourceContainer

  • Extend caseAssemblyConnector of ComposedStructureInnerSwitch with heuristic to determine whether Connector crosses ResourceContainer boundaries (similar to the way it is done in the generated code of SimuCom). The linking resource can then be looked up via the ResourceRegistry.

  • Determining of the linking resource demand (based on parameter size) could be extracted into separate strategy.

Duplicate

Assignee

Dominik Werle

Reporter

Dominik Werle