reV.hybrids.hybrid_methods.aggregate_capacity

aggregate_capacity(h)[source]

Compute the total capcity by summing the individual capacities.

Parameters:

h (reV.hybrids.Hybridization) – Instance of reV.hybrids.Hybridization class containing the attribute hybrid_meta, which is a DataFrame containing hybridized meta data.

Returns:

data (Series | None) – A series of data containing the aggregated capacity, or None if the capacity columns are missing.