pypsa.Network.get_active_assets# Network.get_active_assets(c: str, investment_period: ArrayLike) → pd.Series# Getter function. Get True values for elements of component c which are active at a given investment period. These are calculated from lifetime and the build year.