code: def curtail(self, methodology, curtailment_timeseries, **kwargs):
          
          CurtailmentControl(edisgo=self, methodology=methodology,
                             curtailment_timeseries=curtailment_timeseries,
                             **kwargs)
docs: Sets up curtailment time series.
  
          Curtailment time series are written into
          :class:`~.grid.network.TimeSeries`. See
          :class:`~.grid.network.CurtailmentControl` for more information on
          parameters and methodologies.