.. Adapted from https://stackoverflow.com/a/62613202 flexmeasures.data.services.plan\_quotas ======================================= .. automodule:: flexmeasures.data.services.plan_quotas .. rubric:: Functions .. autofunction:: enforce_plan_quotas .. autofunction:: get_organisations_over_plan_quotas .. autofunction:: get_plan_quota_warning .. autofunction:: get_plan_usage .. rubric:: Exceptions .. autoexception:: PlanQuotaExceeded