Skip to content

Seperate ComponentMetricRequests from Resampling Actor #301

@matthias-wende-frequenz

Description

@matthias-wende-frequenz

What's needed?

The ComponentMetricResamplingActor should accept a receiver of samples instead of a ComponentMetricRequest.

Furthermore after this change we can rename it to ResamplingActor.

Proposed solution

The actors subscribe should simply accept a Receiver of Sample in order to make it usable in every stage of the data pipeline. Setting up a stream from the data sourcing actor should happen outside of the actor.

Use cases

The actor can then be used e.g. for second stage resampling (e.g. to further reduce the amount of data).

Alternatives and workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:actorAffects an actor ot the actors utilities (decorator, etc.)part:data-pipelineAffects the data pipelinepart:microgridAffects the interactions with the microgridpriority:lowThis should be addressed only if there is nothing else on the tabletype:enhancementNew feature or enhancement visitble to users

    Type

    No type

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions