-
Notifications
You must be signed in to change notification settings - Fork 44
Implement the MPC use case for Monitored Units #108
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
Open
sthelen-enqs
wants to merge
33
commits into
enbility:dev
Choose a base branch
from
ConsolinnoEnergy:feat/implement-mu-mpc
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
c9baa03
Implement MPC usecase for the MonitoredUnit actor type
nils-prommersberger fe93b88
Add and use allEntityTypesValid boolean instead of nil validEntityTypes
nils-prommersberger 72dfd67
Update MPC to allow for updating multiple data points in one step
nils-prommersberger 9bad2f3
Make the mpc configurable. And support option stuff.
nils-prommersberger c07debb
Fix comments and formatting mentioned in review
sthelen-enqs 37655f8
Only add scenarios when they're supported
sthelen-enqs c042ec6
refactor the addFeatures method of the mpc
nils-prommersberger 515e966
Add test for the mpc-power-config PhaseConnection-function
nils-prommersberger 78c450e
Ignore case for the SupportPhases function of the power config.
nils-prommersberger 74db007
Add more tests with mocks
nils-prommersberger b79b35a
Remove panic statements with an additional wrapper struct.
nils-prommersberger 9fa97d7
little fixes
nils-prommersberger 64f55b4
Test if the client-filters work with the data set by the server.
nils-prommersberger 0742569
Let the AddFeatures method return an error
nils-prommersberger 996c19a
Add a function in the electrical connection to get or add a Electrica…
nils-prommersberger 11103d5
Update mocks and fix service_test
sthelen-enqs e6489fc
Check AddFeatures return values in tests
sthelen-enqs fb953fc
Increase test coverage
sthelen-enqs 8a16cf3
Address comments during code review
sthelen-enqs 167f026
Ensure that MuMPCInterface includes UseCaseInterface
sthelen-enqs 9da6126
Delete unused variables in /usecases/mu/mpc/usecase_test.go and renam…
nils-prommersberger 1ae5146
Add comment for the GetOrAddIdForDescription in electricalConnection …
nils-prommersberger b068646
Return directly in GetOrAddIdForDescription if the id is found in the…
nils-prommersberger 580ee0b
Make AddFeatures methods consistent and check if the features do exist.
nils-prommersberger cb11064
Add usecase tests
nils-prommersberger 5ecc018
Simplify mpc/public
nils-prommersberger a25fa3c
Add simple testcases for private functions and error cases from AddFe…
nils-prommersberger 4f6c9a7
Increase test coverage
nils-prommersberger 5725907
Add error coverage for NewMPC
nils-prommersberger 56932e0
- Update the mu-mpc APIs to use maps for per-phase measurement
mohamedeltawel 7058f68
go fmt
sthelen-enqs 5905035
Implement Marshaler/Unmarshaler for UpdateData
sthelen-enqs ed77cc6
Expand on comment for empty HandleEvent method
sthelen-enqs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.