edisgo.flex_opt.charging_strategies =================================== .. py:module:: edisgo.flex_opt.charging_strategies Functions --------- .. autoapisummary:: edisgo.flex_opt.charging_strategies.charging_strategy edisgo.flex_opt.charging_strategies.harmonize_charging_processes_df Module Contents --------------- .. py:function:: charging_strategy(edisgo_obj, strategy = 'dumb', timestamp_share_threshold = 0.2, minimum_charging_capacity_factor = 0.1, charging_park_ids = None) Applies charging strategy to set EV charging time series at charging parks. See :attr:`~.edisgo.EDisGo.apply_charging_strategy` for more information. :param edisgo_obj: :type edisgo_obj: :class:`~.EDisGo` :param strategy: Defines the charging strategy to apply. See `strategy` parameter :attr:`~.edisgo.EDisGo.apply_charging_strategy` for more information. Default: 'dumb'. :type strategy: str :param timestamp_share_threshold: Percental threshold of the time required at a time step for charging the vehicle. See `timestamp_share_threshold` parameter :attr:`~.edisgo.EDisGo.apply_charging_strategy` for more information. Default: 0.2. :type timestamp_share_threshold: float :param minimum_charging_capacity_factor: Technical minimum charging power of charging points in p.u. used in case of charging strategy 'reduced'. See `minimum_charging_capacity_factor` parameter :attr:`~.edisgo.EDisGo.apply_charging_strategy` for more information. Default: 0.1. :type minimum_charging_capacity_factor: float .. py:function:: harmonize_charging_processes_df(df, edisgo_obj, len_ts, timestamp_share_threshold, strategy=None, minimum_charging_capacity_factor=0.1, eta_cp=1.0) Harmonizes the charging processes to prevent differences in the energy demand per charging strategy. :param df: Charging processes DataFrame. :type df: :pandas:`pandas.DataFrame` :param len_ts: Length of the timeseries. :type len_ts: int :param timestamp_share_threshold: See description in :func:`~.flex_opt.charging_strategies.charging_strategy`. :type timestamp_share_threshold: float :param strategy: See description in :func:`~.flex_opt.charging_strategies.charging_strategy`. :type strategy: str :param minimum_charging_capacity_factor: See description in :func:`~.flex_opt.charging_strategies.charging_strategy`. Default: 0.1. :type minimum_charging_capacity_factor: float :param eta_cp: Charging point efficiency. Default: 1.0. :type eta_cp: float