.. Adapted from https://stackoverflow.com/a/62613202 flexmeasures.data.models.planning.utils ======================================= .. automodule:: flexmeasures.data.models.planning.utils .. rubric:: Functions .. autofunction:: add_tiny_price_slope .. autofunction:: ensure_prices_are_not_empty .. autofunction:: extend_to_edges .. autofunction:: fallback_charging_policy .. autofunction:: get_continuous_series_sensor_or_quantity .. autofunction:: get_power_values .. autofunction:: get_quantity_from_attribute .. autofunction:: get_series_from_quantity_or_sensor .. autofunction:: idle_after_reaching_target .. autofunction:: initialize_device_commitment .. autofunction:: initialize_df .. autofunction:: initialize_energy_commitment .. autofunction:: initialize_index .. autofunction:: initialize_series .. autofunction:: nanmin_of_series_and_value .. autofunction:: process_time_series_segments