def operational_periods_by_storage_vintage(mod, prj, v): return operational_periods_by_project_vintage( periods=getattr(mod, "PERIODS"), period_start_year=getattr(mod, "period_start_year"), period_end_year=getattr(mod, "period_end_year"), vintage=v, lifetime_yrs=mod.stor_new_lin_lifetime_yrs[prj, v], )
def operational_periods_by_generator_vintage(mod, prj, v): return operational_periods_by_project_vintage( periods=getattr(mod, "PERIODS"), vintage=v, lifetime=mod.gen_new_lin_lifetime_yrs_by_vintage[prj, v])
def operational_periods_by_storage_vintage(mod, prj, v): return operational_periods_by_project_vintage( periods=mod.PERIODS, vintage=v, lifetime=mod.stor_new_bin_lifetime_yrs[prj, v])