pypsa.Network.get_active_assets# Network.get_active_assets(c, investment_period)# 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.