Class JMVAtoJSIMConvertor

java.lang.Object
common.definitions.convertors.JMVAtoJSIMConvertor

public class JMVAtoJSIMConvertor extends Object
Converts a JMVA model into the corresponding JSIM model.
  • Constructor Details

    • JMVAtoJSIMConvertor

      public JMVAtoJSIMConvertor()
  • Method Details

    • convert

      public static List<String> convert(ExactModel input, CommonModel output)
      Converts a JMVA model to JSIM. Conversion is performed by equalling service times in every LI station (adjusting visits) and creating FCFS queues with exponential service time distribution.
      Visits are converted with routing probability, to maintain correctness of computed response time values a "virtual" node called RefStation is added as a reference station for closed classes and routed when (in terms of mean values) a single visit is performed in the system. (as visits values are scaled to compute probability distribution).
      Note that a single router node, called "Router" is used to route jobs through the entire network, simplifying its topology. Stations (LI, LD and Delays) are connected in a parallel form with the Router.
      Parameters:
      input - JMVA model (read only access)
      output - target JSIM or JMODEL model. This is expected to be empty
      Returns:
      a List with all found warnings during conversion (in String format).