Add relays and precharge components#104
Merged
tiyash-basu-frequenz merged 2 commits intofrequenz-floss:v0.x.xfrom Aug 14, 2023
Merged
Add relays and precharge components#104tiyash-basu-frequenz merged 2 commits intofrequenz-floss:v0.x.xfrom
tiyash-basu-frequenz merged 2 commits intofrequenz-floss:v0.x.xfrom
Conversation
f5f31e0 to
3522599
Compare
This was
linked to
issues
Aug 10, 2023
711e953 to
c0229ce
Compare
Contributor
Author
Right, that's the plan. That's why I did not enable auto-merge in these PRs, because I was going to pull these manually. |
Contributor
Author
|
Marked blocked until #103 is merged. |
TalweSingh
reviewed
Aug 11, 2023
Contributor
TalweSingh
left a comment
There was a problem hiding this comment.
LGTM, will approve now since it's just a nitpick.
c0229ce to
290043b
Compare
Contributor
Author
|
#103 is merged. Unblocked this PR. |
niklas-timpe
approved these changes
Aug 11, 2023
niklas-timpe
approved these changes
Aug 11, 2023
Relays are electromagnetic switches that control circuit breakers in the microgrid, e.g., to connect or disconnect an inverter from the grid. This commit allows clients to expect data for such relays in a microgrid, and invoke the following commands: - `StartComponent` - `StopComponent` Note that the relay.Relay message does not have `properties` or `data`. `state` and `errors` should be enough to capture the information we need. Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
Precharging a DC (Direct Current) bus refers to a controlled process in electrical systems, e.g., when connecting an inverter to a battery, where the voltage across a DC bus is gradually increased from a low level to a desired level before connecting a load or initiating normal operation. This process is primarily used to prevent sudden surges of current that can occur when a load is directly connected to a high-voltage DC source. This commits adds support for interacting with precharge modules to the Microgrid API. Clients can expect data from such components, and can invoke the following RPCs: - `StartComponent` - `StopComponent` Note that the precharge_module.PrechargeModule message does not have `properties` or `data`. `state` and `errors` should be enough to capture the information we need. Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
290043b to
dceef22
Compare
TalweSingh
approved these changes
Aug 12, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR add support for two new components to the Microgrid API: