fastga_he.models.propulsion.components.source.pemfc.components.perf_pemfc_layer_voltage module

class fastga_he.models.propulsion.components.source.pemfc.components.perf_pemfc_layer_voltage.PerformancesPEMFCStackSingleLayerVoltageEmpirical(**kwargs)[source]

Bases: Group

This class groups all the required calculation to obtain single layer voltage of the PEMFC stack for the empirical model.

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

class fastga_he.models.propulsion.components.source.pemfc.components.perf_pemfc_layer_voltage.PerformancesPEMFCStackSingleLayerVoltageAnalytical(**kwargs)[source]

Bases: Group

This class groups all the required calculation to obtain single layer voltage of the PEMFC stack for the analytical model.

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