Class OpenModel

  • All Implemented Interfaces:

    
    public class OpenModel
    
                        

    Examples of open queueing networks

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenModel()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static Network oqn_basic() Simple open network with delay and queue in series.
      static Network oqn_oneline() Tandem PS network with delay station using matrix notation.
      static Network oqn_cs_routing() Three-class open network with class switching.
      static Network oqn_trace_driven() Open network with trace-driven service using Replayer.
      static Network oqn_vsinks() Open network with probabilistic routing to multiple virtual sinks.
      static Network oqn_fourqueues() Complex multi-class open network with four queues.
      static void main(Array<String> args) Main method for testing and demonstrating open model examples.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OpenModel

        OpenModel()
    • Method Detail

      • oqn_basic

         static Network oqn_basic()

        Simple open network with delay and queue in series.

        Features: - Single open class with exponential arrivals (rate 0.1) - Delay node with HyperExp service distribution - FCFS queue with exponential service - Serial routing: Source → Delay → Queue → Sink

        Returns:

        configured open network model

      • oqn_oneline

         static Network oqn_oneline()

        Tandem PS network with delay station using matrix notation.

        Features: - Uses Matrix-based constructor for PS queues with delay - Lambda matrix defines arrival rates for two classes - D matrix defines service demands at stations - Z matrix defines service times at delay stations

        Returns:

        configured tandem PS network

      • oqn_cs_routing

         static Network oqn_cs_routing()

        Three-class open network with class switching.

        Features: - Three open classes (A, B, C) with Class C having no arrivals - Class switching from A→C and B→C at ClassSwitch node - Two PS queues with different service rates per class - Demonstrates class transformation in open networks

        Returns:

        configured open network with class switching

      • oqn_trace_driven

         static Network oqn_trace_driven()

        Open network with trace-driven service using Replayer.

        Features: - Single open class with exponential arrivals - Queue service driven by trace file (example_trace.txt) - Demonstrates empirical service time distributions - Simple Source → Queue → Sink topology

        Returns:

        configured trace-driven network model

      • oqn_vsinks

         static Network oqn_vsinks()

        Open network with probabilistic routing to multiple virtual sinks.

        Features: - Two open classes with different routing patterns - Class1: 60% to VSink1, 40% to VSink2 - Class2: 10% to VSink1, 90% to VSink2 - Router nodes as intermediate destinations - Demonstrates probabilistic routing patterns

        Returns:

        configured network with probabilistic routing

      • oqn_fourqueues

         static Network oqn_fourqueues()

        Complex multi-class open network with four queues.

        Features: - Three open classes with different arrival rates - Four queues: FCFS (Queue1,2,4) and PS (Queue3) - Complex routing patterns with probabilistic splits - Different service rates for each class at each queue

        Returns:

        configured multi-class open network

      • main

         static void main(Array<String> args)

        Main method for testing and demonstrating open model examples.

        Currently configured to run oqn_cs_routing() and solve it using multiple solvers (CTMC, Fluid, MVA, MAM, NC, JMT, SSA) for comparison. This matches the structure of the oqn_cs_routing.ipynb notebook.

        Parameters:
        args - command line arguments (not used)