What's needed?
We want to support filtering dispatches based on their is_active and is_dry_run statuses.
Proposed solution
Extend the DispatchFilter message to support filtering by is_active and is_dry_run statuses.
// Parameters for filtering the dispatch list
message DispatchFilter {
// Filter by component ID or category
repeated DispatchComponentSelector selectors = 1;
// Filter by time interval
// If no interval is provided, all dispatches starting from the
// current timestamp will be included.
TimeIntervalFilter time_interval = 2;
// Filter by active status
// If this field is not set, dispatches of any active status will be included.
optional bool is_active = 3;
// Filter by dry run status
// If this field is not set, dispatches of any dry run status will be included.
optional bool is_dry_run = 4;
}
Use cases
Receiving list of active and none-active microgrid dispatch events.
Alternatives and workarounds
Receiving the entire list and filtering on the receiving end.
Additional context
No response
What's needed?
We want to support filtering dispatches based on their
is_activeandis_dry_runstatuses.Proposed solution
Extend the DispatchFilter message to support filtering by
is_activeandis_dry_runstatuses.Use cases
Receiving list of active and none-active microgrid dispatch events.
Alternatives and workarounds
Receiving the entire list and filtering on the receiving end.
Additional context
No response