-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Report grid connection point's current limit #19
Comments
The microgrid API needs to be enhanced to expose the grid connection component as well as the grid fuse limit property. This is needed for the PowerManager and other grid fuse protection layers to work properly. Right now this is needed for preventing the FCR test with multiple batteries to exceed the grid fuse limit. |
The API already exposes the grid connection component. It does not however report the fuse limit, as you indicated. This is precisely what this issue will address. |
@sahas-subramanian-frequenz and @leandro-lucarella-frequenz we should extend the SDK so that it already exposed a grid fuse limit for the grid connection even the API doesn't yet expose it as part of the PowerManager. Of course by default it would be NULL as in not available but that would help to have a more stable interface right away. |
Do you see this as metadata at the same level as the location of the microgrid? If so I guess it would make sense to have it as So, this value could be |
No the grid fuse limit is a property of the grid connection component. that has nothing to do with the metadata. Its just that the property is not yet exposed but will be soon. But in order to move fast we could have the SDK already provide that property even its not set yet. |
if there is no value given None should be fine. Its a good question if the system should run without. At least it should trigger a warning if its not set. |
OK, I'm trying to understand this, but at the microgrid API level there is no explicit "grid connection component", that would be just the root component (meter) in the component graph. Am I correct? So if this is so, should all meters have now this I think it would be a good idea to also add it to the microgrid API (this repo), specially if it could be null, the microgrid service could just not set it for now and all should be fine and just add it to the API specs should be pretty trivial (once the design is decided). Then it will much easier to know exactly how to plug it into the SDK, because we would have to think about it depending on where the data comes from (like if it will be just some other meter metric or what). |
No, there is a grid connection point category. The max current limit will be provided as a metadata of this category. |
I can see the |
Probably. This issue is just related to adding the max current grid connection point. There can be further fuses in sections of the microgrid, and that would cover the point you raised. This topic is already under our radar. More here: #32. |
It does not exist yet. The support for this feature will be added as a part of this issue. |
OK, I think before adding anything to the SDK we should have a clear design about where this will exist exactly, otherwise is very hard to put it anywhere, it will be useless at first (always |
OK, this is already included as a component category. Only thing thats missing is the fuse limit property. |
Given, that there is already a component category which will have one property fuse limit I see no reason to not move forward on the SDK side by exposing that to actors. Where is the problem of doing so? |
Are suggesting that we can create a new component in the SDK called If that is correct, then as I said before I see no point in doing this. What is the point on having an object that all it does is having a property that it is always assigned to I just think is putting energy in the wrong place at the moment, unless you have some use case in mind where this would be useful to have even if it is hardcoded to There is also the risk that if when implementing this in the microgrid service we figure this should actually be a property of all meters or somewhere else, then if anybody is using it even if it always returns So I just see downsides in adding this now in SDK and no upsides. But maybe I am missing something, if you see any upsides, please let me know. |
Indeed as its already existing:
|
Well the actors can already start using the property and correctly implement it. Otherwise we keep waiting and waiting and waiting. This is rather an important feature otherwise I wouldn't flag it as such. I also don't understand why we are creating an artificial dependency by saying we only implement it in the SDK once the Microgrid API exposes something else than |
That wasn't my intention, it is just that for me the requirements weren't clear enough to create an issue in the SDK. If you say it is enough to create a If you confirm this is enough, I'll create the issue in the SDK. |
Once this issue is being worked on the |
OK, I was thinking about this, an really to me the dependency is not really having it defined in the microgrid API, it is to have a definition, I feel I am missing a specification to know exactly how to implement this in the SDK. It was just that once there is a definition in the microgrid API, then the specification is suddenly almost done, as I can infer it from it :) But I think if we want to decouple both, then we should discuss this in the context of the SDK, as I have a few questions if we want to implement it now. I created a discussion in the SDK so we don't keep spamming this issue with SDK stuff :) |
see down below for more details. |
Closing this issue, since this was implemented in PR #38. |
What's needed?
Every microgrid has a limit on how much current is allowed to flow through the grid connection point. This is generally a static value, dictated by the fuses/circuit breakers placed in the microgrid.
The microgrid API should report this value, so that clients can incorporate it into their decision making mechanisms.
Proposed solution
No response
Use cases
This value can be used by clients to preemptively check if a command does not allow the current at a grid connection point to exceed its fuse's limits.
Alternatives and workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: