-
Notifications
You must be signed in to change notification settings - Fork 7
Support returning max allowed current at grid connection point #38
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
Support returning max allowed current at grid connection point #38
Conversation
|
An alternative would have been to just add a |
9f7790b to
7c6417e
Compare
leandro-lucarella-frequenz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the few comments, LGTM.
7c6417e to
e7d02e5
Compare
38e3f07 to
fdb41b4
Compare
|
Updated the docs to specify that the limit applies individually to all the 3 phases. |
fdb41b4 to
3e6512d
Compare
leandro-lucarella-frequenz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As said in the previous comment, I would add a comment about the gap in the code for extra clarity, but not a blocker, so approving.
3e6512d to
ca41154
Compare
|
Following our discussion here, I have updated the PR to introduce a |
ca41154 to
efa6030
Compare
|
I reverted the last change according to the latest discussions and inputs. Now we just have the following: // The grid connection point metadata.
message Metadata {
// The rating of the fuse at the grid connection point.
// This rating specifies the maximum amount of current, measured in amperes,
// that can flow in or out of each of the 3 phases individually.
// The current _i_ A at the grid connection point must comply with the
// following constraint: : `-max_fuse_current <= i <= max_fuse_current`
uint32 max_fuse_current = 1;
}
|
Shall we call it |
|
It is quite unfortunate that no matter what it is still ambiguous and could be misunderstood as the limit rigth now instead of the limit on the electrons flow. |
|
How about |
true. |
efa6030 to
d39fc49
Compare
Done. Ready for another look. |
leandro-lucarella-frequenz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than a few comments about outdated docs, it looks like we have a winner!
This metadata is returned in response to `ListComponents` calls, in a new message variable `Component.metadata`. This is a more general way of representing category-specific metadata, like type, and removes `Component.type`. Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
This commit introduces a `grid.Metadata` message, which contains the item `rated_fuse_current`. This is the rating of the fuse at the grid connection point. This rating specifies the maximum amount of current, measured in amperes, that can flow in or out of each of the 3 phases individually. The current _i_ A at the grid connection point must comply with the following constraint: : `-rated_fuse_current <= i <= rated_fuse_current` Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
d39fc49 to
d501ba1
Compare
leandro-lucarella-frequenz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless there is any pending topic in the SDK discussion that need to be considered here, this is, as far as I am concerned, ready to go! ![]()
|
@thomas-nicolai-frequenz Do you have any further input on this? If not, we can get this merged. |
|
I think I have created enough trouble :-) Lets merge it! |
This PR