RCAIDE.Library.Components.Powertrain.Converters.Generic_Fuel_Cell_Stack

Generic_Fuel_Cell_Stack#

class Generic_Fuel_Cell_Stack(*args, **kwarg)[source]#

Bases: Component

This is a fuel cell component.

Assumptions: None

Source: None

compute_performance(state, bus, coolant_lines, t_idx, delta_t)[source]#

Computes the state of the NMC battery cell.

Assumptions:

None

Source:

None

Parameters:
  • self – battery [unitless]

  • state – temperature [K]

  • bus – pressure [Pa]

  • discharge (boolean) – discharge flag [unitless]

Returns:

None

append_operating_conditions(segment, bus)[source]#
append_fuel_cell_segment_conditions(bus, conditions, segment)[source]#
reuse_stored_data(state, bus, stored_results_flag, stored_fuel_cell_tag)[source]#
compute_moments_of_inertia(vehicle, center_of_gravity=[[0, 0, 0]])[source]#

Computes the moment of inertia tensor for a fuel cell.

Parameters:

center_of_gravity (list, optional) – Reference point coordinates for moment calculation, defaults to [[0, 0, 0]]

Returns:

I – 3x3 moment of inertia tensor in kg*m^2

Return type:

ndarray

compute_center_of_gravity(vehicle)[source]#

Computes the center of gravity for a fuel cell.

Parameters:

center_of_gravity (list, optional) – Reference point coordinates for moment calculation, defaults to [[0, 0, 0]]

Returns:

I – 3x3 moment of inertia tensor in kg*m^2

Return type:

ndarray