bw2calc.errors#

Exceptions#

AllArraysEmpty

Can't load the numpy arrays if all of them are empty

BW2CalcError

Base class for bw2calc errors

EfficiencyWarning

Least squares is much less efficient than direct computation for square, full-rank matrices

EmptyBiosphere

Can't do impact assessment with no biosphere flows

MalformedFunctionalUnit

The given functional unit cannot be understood

NoSolutionFound

No solution to set of linear equations found within given constraints

NonsquareTechnosphere

The given data do not form a square technosphere matrix

OutsideTechnosphere

The given demand array activity is not in the technosphere matrix

Module Contents#

exception bw2calc.errors.AllArraysEmpty[source]#

Bases: BW2CalcError

Inheritance diagram of bw2calc.errors.AllArraysEmpty

Can’t load the numpy arrays if all of them are empty

Initialize self. See help(type(self)) for accurate signature.

exception bw2calc.errors.BW2CalcError[source]#

Bases: Exception

Inheritance diagram of bw2calc.errors.BW2CalcError

Base class for bw2calc errors

Initialize self. See help(type(self)) for accurate signature.

exception bw2calc.errors.EfficiencyWarning[source]#

Bases: RuntimeWarning

Inheritance diagram of bw2calc.errors.EfficiencyWarning

Least squares is much less efficient than direct computation for square, full-rank matrices

Initialize self. See help(type(self)) for accurate signature.

exception bw2calc.errors.EmptyBiosphere[source]#

Bases: BW2CalcError

Inheritance diagram of bw2calc.errors.EmptyBiosphere

Can’t do impact assessment with no biosphere flows

Initialize self. See help(type(self)) for accurate signature.

exception bw2calc.errors.MalformedFunctionalUnit[source]#

Bases: BW2CalcError

Inheritance diagram of bw2calc.errors.MalformedFunctionalUnit

The given functional unit cannot be understood

Initialize self. See help(type(self)) for accurate signature.

exception bw2calc.errors.NoSolutionFound[source]#

Bases: UserWarning

Inheritance diagram of bw2calc.errors.NoSolutionFound

No solution to set of linear equations found within given constraints

Initialize self. See help(type(self)) for accurate signature.

exception bw2calc.errors.NonsquareTechnosphere[source]#

Bases: BW2CalcError

Inheritance diagram of bw2calc.errors.NonsquareTechnosphere

The given data do not form a square technosphere matrix

Initialize self. See help(type(self)) for accurate signature.

exception bw2calc.errors.OutsideTechnosphere[source]#

Bases: BW2CalcError

Inheritance diagram of bw2calc.errors.OutsideTechnosphere

The given demand array activity is not in the technosphere matrix

Initialize self. See help(type(self)) for accurate signature.