dhd.exceptions

List of the custom exceptions used in the different modules of the package dhd.

Exceptions

exception dhd.exceptions.BarrierError[source]

Raised when a natural barrier of the system cannot be treated normally.

Used in the module dhd.city.

exception dhd.exceptions.GeometryError[source]

Raised when an operation between different geometries of the system fails.

Used in the modules dhd.city and dhd.connect.

exception dhd.exceptions.IncompatibilityError[source]

Raised if the dataframes vertices and terminals are incompatible.

Used in the module dhd.evolve.

exception dhd.exceptions.NoConnectionError[source]

Raised if a terminal without connection is in the set to be connected.

Used in the module dhd.evolve.

exception dhd.exceptions.NoMorePipe[source]

Raised when all the pipes have been merged into pipelines.

Used in the module dhd.load.

exception dhd.exceptions.SourceError[source]

Raised when a heating source of the system cannot be treated normally.

Used in the modules dhd.load and dhd.city.