business.manufacturers.exceptions package¶
Submodules¶
business.manufacturers.exceptions.base module¶
Collection of the exceptions common to different typologies of products.
Example
Pumps may belong to different typologies (submersible, progressive) but, not withstanding their typology, there is a common exception “All pumps are unsuitable”
-
exception
business.manufacturers.exceptions.base.
AllElectricSourcesAreUnsuitable
¶ Bases:
business.commons.exceptions.RuralwaterException
The catalog of electric sources has no device capable of supplying the required electric power.
May be raised by any catalog of electric generators, or by a catalog of photovoltaic solar panels.
-
exception
business.manufacturers.exceptions.base.
AllPumpsAreUnsuitable
¶ Bases:
business.commons.exceptions.RuralwaterException
The catalog of pumps has no pump capable of supplying the required duty.
May be raised by any catalog of pumps, for example a catalog of submersibles or a catalog of positive displacement pumps.
business.manufacturers.exceptions.engines module¶
Collection of the exceptions raised inside manufacturers.components.engines package.
-
exception
business.manufacturers.exceptions.engines.
AllEnginesAreUnsuitable
¶ Bases:
business.commons.exceptions.RuralwaterException
The catalog of progressive displacement pumps has no pump capable of supplying the required duty.
This means, colloquially, that either all the pumps are ‘too big’ or they are ‘too small’.
-
exception
business.manufacturers.exceptions.engines.
EngineOverRevving
¶ Bases:
business.commons.exceptions.UnadvisableDuty
The Engine speed lies above the maximum advisable limit.
-
exception
business.manufacturers.exceptions.engines.
EngineOverload
¶ Bases:
business.commons.exceptions.UnadvisableDuty
The Engine load exceeds the maximum advisable limit specified by the manufacturer.
-
exception
business.manufacturers.exceptions.engines.
EngineUnderRevving
¶ Bases:
business.commons.exceptions.UnadvisableDuty
The Engine speed lies below the minimum advisable limit.
This condition is deemed unadvisable because it can lead to bad combustion and carbonation of the cylinders.
business.manufacturers.exceptions.pipes module¶
Collection of the exceptions raised inside manufacturers.components.pipes package.
-
exception
business.manufacturers.exceptions.pipes.
AllCommercialPipesAreUnsuitableBorewise
(message, borehole_casing_bore)¶ Bases:
business.commons.exceptions.RuralwaterException
No pipe has suitable bore to fit inside the borehole casing.
-
exception
business.manufacturers.exceptions.pipes.
AllCommercialPipesAreUnsuitableSpeedwise
(message, desired_flow, required_rating)¶ Bases:
business.commons.exceptions.RuralwaterException
No pipe is suitable to carry the desired _water_flow within the advisable _water_flow speed limits.
Raised by manufacturers.CommercialHdpePipes and manufacturers.CommercialGalvanisedSteelPipes.
-
exception
business.manufacturers.exceptions.pipes.
NoSuitableRatedWorkingPressureAvailableFromCatalog
¶ Bases:
business.commons.exceptions.RuralwaterException
The catalog of pipes has no pipe belonging to the required rated working pressure.
This means that the pipes are too ‘thin’ or ‘weak’ to sustain the hydraulic pressure required during the solution of the hydraulic design algorithm.
business.manufacturers.exceptions.progressives module¶
Collection of the exceptions raised inside manufacturers.components.progressives package.
-
exception
business.manufacturers.exceptions.progressives.
AllPumpCombinationsAreUnsuitable
¶ Bases:
business.manufacturers.exceptions.base.AllPumpsAreUnsuitable
The catalog of progressive progressives pumps has no pump capable of supplying the required duty.
This means, colloquially, that either all the pumps are ‘too big’ or they are ‘too small’.
-
exception
business.manufacturers.exceptions.progressives.
NonExistentDutyPoint
¶ Bases:
business.commons.exceptions.RuralwaterException
Base class for all cases where the duty point does not exist.
-
exception
business.manufacturers.exceptions.progressives.
PumpOverRevving
¶ Bases:
business.commons.exceptions.RuralwaterException
The Body shaft speed lies above the maximum advisable limit specified by the manufacturer.
business.manufacturers.exceptions.submersibles module¶
Collection of the exceptions raised inside manufacturers.components.submersibles package.
-
exception
business.manufacturers.exceptions.submersibles.
AllSubmersiblePumpsAreUnsuitable
¶ Bases:
business.manufacturers.exceptions.base.AllPumpsAreUnsuitable
The catalog of submesible pumps has no pump capable of supplying the required duty.