Simulation of Resource Containers with HDD resource also requires CPU
When trying to simulate the HardDiskModel_Example SimuCom aborts with the following validation error. Simulating the same model in Simulizar works.
If the validation is due to enhanced simulation of HDD resources this feature should be optionally selectable.
Decision from concall 09.06.2020
is a CPU ressource always required in a resource container?
yes, for SimuCom because for accessing HDD, CPU demands occur
no for SimuLizar, because HDD simulation is much simpler and does not require CPUs
real question: transfer complex HDD simulation to Simulizar?
most probably no because we cannot maintain it and nobody has the required knowledge
HDD simulation not really useful anymore because SSDs are used nowadays and behavior is different
today this behavior could be modeled by resource interfaces
wont fix; add details later
kl Model mit 1 CPU ; nur per HDD auf modell zugreifen; frage: kommt min. Last an Platte an, falls 0 dann nur Warnugn existent, sonst ist noch Restcode vorhanden
Clarify the correct intended behavior.
Is this a general validation error which needs to be fixed or is it a problem due to a misconfigured model ?
Decide if problem fixing is required
Problem can be reproduced using Palladio Bench Nightly drop (2020-06-3) on example model HardDiskModel located at repository (firstname.lastname@example.org:PalladioSimulator/Palladio-Example-Models.git)
Start Palladio Bench Nightly drop
Launch Eclipse runtime instance
import HardDiskModel into workspace
run the model with Simulizar launchconfig
running the model with Simucom launchconfig
failed; reported validation error was displayed
the validation error is: "A ResourceContainer with a HDD must also contain a CPU"
Felix, please take over this bug and have a look at it. So far, we did not see where the problem comes from.