# pypdevsbbl.extra package

Within this package, you will be able to find a set of classes and functions that allow for additional functionality that can be used in the building blocks.

This goes about file handing, mathematical helper functions, an implementation for a heap, a set of packaging classes as required for the `pypdevsbbl.generic.transformers.Pack` and `pypdevsbbl.generic.transformers.Unpack` blocks and a set of inverse cumulative distribution functions that can be used in the `pypdevsbbl.generic.generators.RandomNumberGenerator`.

`pypdevsbbl.extra.``toDot`(model: pypdevs.DEVS.CoupledDEVS, filename: str)

  Simple function for creating a Graphviz file for a Coupled DEVS.

  The submodels become the nodes and the connections become the directed edges.

  Note

  The graphical representation that will be created is not a valid visual concrete syntax and should therefore only be used as confirmation on the validity of models.

  Parameters:

  - model (CoupledDEVS) – A `CoupledDEVS` model.
  - filename (str) – The filename to write the graph to.

## Subpackages

- pypdevsbbl.extra.rngstreams package
  - Submodules
    - pypdevsbbl.extra.rngstreams.distributions module

## Submodules

- pypdevsbbl.extra.equations module
- pypdevsbbl.extra.fileutils module
- pypdevsbbl.extra.heap module
- pypdevsbbl.extra.mathutils module
- pypdevsbbl.extra.packaging module
- pypdevsbbl.extra.queues module
- pypdevsbbl.extra.spatial module