euniversal / umei-api-specification

UMEI API specifications
Apache License 2.0
3 stars 0 forks source link

Baselines for DSO #15

Open narve opened 2 years ago

narve commented 2 years ago

DSOs want to have the possibility to fetch baselines for a given grid node. The baselines should presumably be an aggregated value for each FSP based on portfolios on that grid node.

In some markets, the DSOs may only see the aggregated value pr grid node, not pr FSP. In some markets the DSO may not see any baselines at all.

All of these scenarios must be supported by the API.

cdmNSIDE commented 2 years ago

Hello Narve,

Is there a need to change the API for that ? I think all those scenarios could be handled by the access rights of the different market participants, isn't it ?

narve commented 2 years ago

Some of this can be handled by access rights, yes. However, fetching baselines for a given grid node is not part of the api for now. See issue #18 . Adding an optional parameter "gridNodeId" on /gridnodes would be sufficient as a minimum, I think.

cdmNSIDE commented 2 years ago

Adding an optional parameter "gridNodeId" on /gridnodes would be sufficient as a minimum

I do not understand. Could you please explain ? I think we can simply add a filter in the GET /BaselinesIntervals request to filter them by gridNodeId, isn't it ? I think we may also add a filter there based on the portfolioId

narve commented 2 years ago

yes, sorry, meant filter on GET /BaselineIntervals like you said