NetworkSim.simulation.tools.publication.plot_delay_heatmap

NetworkSim.simulation.tools.publication.plot_delay_heatmap(simulator, data_rate, span='e', delay='td')[source]

Plot mean delay statistics of a specified data rate in a ParallelSimulator.

Parameters
  • simulator (ParallelSimulator) – The simulator used.

  • data_rate (float) – The chosen data rate.

  • span (str, optional) – The time span of the delay statistics in the simulation, by default extended, chosen from the following:

    • overall or all

      The entire duration of the simulation.

    • final batch or fb

      The statistics from the final batch when simulation converges.

    • extended or e

      The extended period of the simulation.

  • delay (str, optional) – The type of delay to be plotted, by default td, chosen from the following:

    • qd, queueing delay or queueing

      The overall queueing delay.

    • td, transfer delay or transfer

      The transfer delay.

Returns

fig – The figure plotted.

Return type

Figure