fastga_he.powertrain_builder.exceptions module
- exception fastga_he.powertrain_builder.exceptions.FASTGAHEUnknownComponentID[source]
Bases:
FastErrorClass for managing errors that result from trying to add a component to the power train with an ID that is not recognized.
- exception fastga_he.powertrain_builder.exceptions.FASTGAHEUnknownOption[source]
Bases:
FastErrorClass for managing errors that result from trying to add a component to the power train with options that are not recognized or not all options needed.
- exception fastga_he.powertrain_builder.exceptions.FASTGAHEInvalidOptionDefinition[source]
Bases:
FastErrorClass for managing errors that result from invalid value definitions for recognized component options.
- exception fastga_he.powertrain_builder.exceptions.FASTGAHEComponentsNotIdentified[source]
Bases:
FastErrorClass for managing errors that result from trying to run the _get_connection method before having identified the components in the power train with the _get_components method.
- exception fastga_he.powertrain_builder.exceptions.FASTGAHESingleSSPCAtEndOfLine[source]
Bases:
FastErrorClass for managing errors that result from connecting a dc line to an SSPC but only a single one. Because of the way equations were coded, if one end of a harness is connected to an SSPC, the other shall be as well to allow for a possible opening of the 2 SSPCs.
- exception fastga_he.powertrain_builder.exceptions.FASTGAHEIncoherentVoltage[source]
Bases:
FastErrorClass for managing errors that result from connecting two component that sets the voltage of their subgraph and set them with a different voltage. This will not cause an error at OpenMDAO level, but from experience, it will not converge, so we will make it fail as soon as possible.
- exception fastga_he.powertrain_builder.exceptions.FASTGAHEImpossiblePair[source]
Bases:
FastErrorClass for managing errors that result from trying to pair with a component that does not exist.
- exception fastga_he.powertrain_builder.exceptions.FASTGAHEComponentConnectionError[source]
Bases:
FastErrorClass for managing errors that result from component connections in powertrain configuration file.
- exception fastga_he.powertrain_builder.exceptions.FASTGAHECriticalComponentMissingError[source]
Bases:
FastErrorClass for managing errors that result from missing critical components aucha as proplusor or energy storage device in the powertrain configuration file.