fastga_he.exceptions module

Module for custom Exception classes.

exception fastga_he.exceptions.FastOadGaHeError[source]

Bases: Exception

Base Class for exceptions related to the FAST-OAD-GA-HE framework.

exception fastga_he.exceptions.ControlParameterInconsistentShapeError[source]

Bases: FastOadGaHeError

Control Parameter Inconsistent Shape Error.

This exception is used when the shape of a parameter used for the mission is not consistent. It should be equal to 1 (same value for the whole mission), 3 (one value for each phase) or number_of_points (one value for each point).

exception fastga_he.exceptions.ImpactUnavailableForPlotError[source]

Bases: FastOadGaHeError

This exception is used when the user try to ask for an impact inside of a post-processing function but its results were not computed