fastga_he.models.propulsion.assemblers.energy_consumption_mission_vector module

class fastga_he.models.propulsion.assemblers.energy_consumption_mission_vector.PowerTrainPerformancesFromFileWithInterface(**kwargs)[source]

Bases: Group

This group is solely meant to be used as an interface with the vector mission, if the user wish to run a standalone analysis of a power train, use the SUBMODEL_POWER_TRAIN_PERF service.

This is the reason why the add_solver options will be set to False without access to it on mission level. This also allows to not have to set up another dummy option in the propulsion_basic.py file.

Set the solvers to nonlinear and linear block Gauss–Seidel by default.

initialize()[source]

Perform any one-time initialization run at instantiation.

setup()[source]

Build this group.

This method should be overidden by your Group’s method. The reason for using this method to add subsystem is to save memory and setup time when using your Group while running under MPI. This avoids the creation of systems that will not be used in the current process.

You may call ‘add_subsystem’ to add systems to this group. You may also issue connections, and set the linear and nonlinear solvers for this group level. You cannot safely change anything on children systems; use the ‘configure’ method instead.

Available attributes:

name pathname comm options