Linking Resources are not simulated but UI suggests they are
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:
Take the LinkingResource-Test project https://github.com/PalladioSimulator/Palladio-Example-Models/tree/master/LinkingResource_Test
Create Monitor for Usage Scenario (Response time)
Simulate the Model with SimuLizar three times for each option in the drop down
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.
Duplicates SIMULIZAR-115, SIMULIZAR-116,
We decided to address the implementation of the lacking network simulation support in 2 separate tickets and
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.