Get active components mask of component type in investment period(s).
See the pypsa.descriptors.components.Component.get_active_assets().
- Parameters:
c (string) – Component name
investment_period (int, str, Sequence) – Investment period(s) to check
- Returns:
Boolean mask for active components
- Return type:
pd.Series