-
Notifications
You must be signed in to change notification settings - Fork 41
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
31
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
31 commits
Select commit
Hold shift + click to select a range
c441d68
Implement MPC usecase for the MonitoredUnit actor type
nils-prommersberger 4e150c2
Add and use allEntityTypesValid boolean instead of nil validEntityTypes
nils-prommersberger 74eb1d3
Update MPC to allow for updating multiple data points in one step
nils-prommersberger e7738bc
Make the mpc configurable. And support option stuff.
nils-prommersberger dcb14b5
Fix comments and formatting mentioned in review
sthelen-enqs 26038b7
Only add scenarios when they're supported
sthelen-enqs 1f92eb6
refactor the addFeatures method of the mpc
nils-prommersberger b44b373
Add test for the mpc-power-config PhaseConnection-function
nils-prommersberger 900a836
Ignore case for the SupportPhases function of the power config.
nils-prommersberger e511e7d
Add more tests with mocks
nils-prommersberger de9eb13
Remove panic statements with an additional wrapper struct.
nils-prommersberger 30811ca
little fixes
nils-prommersberger a7883c5
Test if the client-filters work with the data set by the server.
nils-prommersberger 4bb0866
Let the AddFeatures method return an error
nils-prommersberger 667883c
Add a function in the electrical connection to get or add a Electrica…
nils-prommersberger 1ce40ff
Update mocks and fix service_test
sthelen-enqs f73140a
Check AddFeatures return values in tests
sthelen-enqs 560632d
Increase test coverage
sthelen-enqs 75151fd
Address comments during code review
sthelen-enqs b632337
Ensure that MuMPCInterface includes UseCaseInterface
sthelen-enqs 9d10385
Delete unused variables in /usecases/mu/mpc/usecase_test.go and renam…
nils-prommersberger d968f8e
Add comment for the GetOrAddIdForDescription in electricalConnection …
nils-prommersberger 2764932
Return directly in GetOrAddIdForDescription if the id is found in the…
nils-prommersberger 2d14384
Make AddFeatures methods consistent and check if the features do exist.
nils-prommersberger 9aeace7
Add usecase tests
nils-prommersberger ddc70cb
Simplify mpc/public
nils-prommersberger 0768c8e
Add simple testcases for private functions and error cases from AddFe…
nils-prommersberger a4d0aff
Increase test coverage
nils-prommersberger dbd73a5
Add error coverage for NewMPC
nils-prommersberger f1e4add
- Update the mu-mpc APIs to use maps for per-phase measurement
mohamedeltawel 099ab86
go fmt
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.
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.