charging_station.py 434 B

1234567891011
  1. from flexmeasures.data.models.planning.storage import StorageScheduler
  2. def schedule_charging_station(*args, **kwargs):
  3. import warnings
  4. warnings.warn(
  5. "The schedule_charging_station method is deprecated and will be removed from flexmeasures in a future version. Replace with StorageScheduler().schedule to suppress this warning.",
  6. FutureWarning,
  7. )
  8. return StorageScheduler().schedule(*args, **kwargs)