-
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
Refactoring of ThermalGrid.handleInfeed
to fix thermal storage recharge correctly when empty
#931
Open
danielfeismann
wants to merge
105
commits into
dev
Choose a base branch
from
df/#930-refactor-handleInfeed
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
105 commits
Select commit
Hold shift + click to select a range
8ee3b77
refactor ThermalEnergyDemand
danielfeismann ced3b55
fmt
danielfeismann baabf85
Merge remote-tracking branch 'refs/remotes/origin/df/#926-Fix-determi…
danielfeismann 7659750
Merge remote-tracking branch 'refs/remotes/origin/df/#924-ThermalStor…
danielfeismann 0b1868d
Merge remote-tracking branch 'refs/remotes/origin/df/#922-Fix-activat…
danielfeismann e2d7133
Merge remote-tracking branch 'refs/remotes/origin/df/#928-Refactor-Th…
danielfeismann 64a67ec
Refactoring of ThermalGrid.handleInfeed to fix thermal storage rechar…
danielfeismann cb34618
Merge branch 'refs/heads/dev' into df/#930-refactor-handleInfeed
danielfeismann 9ce13f9
Merge branch 'refs/heads/dev' into df/#930-refactor-handleInfeed
danielfeismann 1573bcc
Merge branch 'refs/heads/dev' into df/#930-refactor-handleInfeed
danielfeismann 355d765
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann c1e37ee
Merge branch 'refs/heads/dev' into df/#930-refactor-handleInfeed
danielfeismann 47e4052
Merge branch 'refs/heads/dev' into df/#930-refactor-handleInfeed
danielfeismann de1b0c5
Merge branch 'refs/heads/dev' into df/#930-refactor-handleInfeed
danielfeismann b6c596f
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann e1df392
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann 339a020
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann 20664ab
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann 165371d
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann ba6b581
Merge branch 'df/#928-Refactor-ThermalGird-energyDemand' into df/#930…
danielfeismann 441359c
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann a669b5b
remove double entry in changelog
danielfeismann 7884541
Revert "remove double entry in changelog"
danielfeismann 86b3256
remove correct double entry in changelog
danielfeismann f4fa810
reintroduce demand booleans indicating demand when handle thermal infeed
danielfeismann 963670c
add some scala doc
danielfeismann bfd633b
handle sonar code smell
danielfeismann 9eee886
Revert "handle sonar code smell"
danielfeismann 122cb69
handle sonar code smell
danielfeismann eba3b89
fmt
danielfeismann 1f6311f
fix scala doc
danielfeismann 95d0562
refactor demand booleans of thermal units into ThermalDemandIndicator…
danielfeismann 30e4318
Merge branch 'df/#1023-zeroKW-and-kWh-in-test' into df/#930-refactor-…
danielfeismann 9fb1523
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann 94397ee
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann 7341e10
remove unnecessary value
danielfeismann b69dd06
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann 36ce30a
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann aa2db68
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann 41e2441
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann debae48
refactoring thermal demand indicators
danielfeismann a95a242
Merge branch 'refs/heads/dev' into df/#930-refactor-handleInfeed
danielfeismann 5c00a89
fix thermalPower determination in calcState of HpModel
danielfeismann cbd997e
fix EmAgentIT
danielfeismann a07b626
also turn Hp on in case house has additional demand and the Hp was ru…
danielfeismann 92e6c51
fix EmAgentIT
danielfeismann 481da32
fmt
danielfeismann b03b576
correct direction of thermal power of thermal heat storage
danielfeismann 7b58297
fix handleInfeed of thermal energy
danielfeismann c763b72
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann 8d452ec
enhance ThermalGridSpec when checking for required and additional demand
danielfeismann 07746a4
fix inputs for thermalGridWith specs plus add another test case
danielfeismann aa9ffc9
remove unused parameter
danielfeismann 6dabaf7
Merge branch 'df/#1049-Introduce-ThermalDemandWrapper' into df/#930-r…
danielfeismann 0d157db
fix after merging
danielfeismann 9a9096d
fmt
danielfeismann 7e8afb0
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann 81694cc
hard fix for zero values as minimum storage volume level to prevent n…
danielfeismann d9f859c
adapt ChpModelSpec and CylindricalThermalStorageSpec to zero for mini…
danielfeismann bed4f7b
adapt cases for handling thermal infeed into ThermalGrid
danielfeismann badd6d9
fix consider qDot as heat result of hp only when hp is running
danielfeismann ae84f16
fmt
danielfeismann dab5a85
fix wrong case within thermalGrid
danielfeismann 0adc6c9
split handleInfeed method a tiny bit
danielfeismann 1586bd3
fmt
danielfeismann 88c6e3a
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann be3b094
fix after merging dev
danielfeismann 6163afd
fix tests after merging dev
danielfeismann 634fbf4
fmt
danielfeismann 6b97e8e
fmt
danielfeismann 0e484c4
remove commented-out code
danielfeismann 3dc7523
adapted tests to new hasAdditionalDemand and put negative cases in br…
marvinheintze c6dda91
dev merge
marvinheintze b00f5f8
spotless
marvinheintze be33961
fix chp storage level check
danielfeismann 88c4e24
use table for testing purposes
danielfeismann 51fa462
fix ChpModelSpec
danielfeismann 42105bd
hopefully final fix for ChpModelSpec
danielfeismann 22cc86b
added exception for negative values + removed negative cases
marvinheintze c782ea9
Merge branch 'dev' into df/#917-Refactor-ThermalEnergyDemand
marvinheintze cae9db3
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann 8ad45f3
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann ef8556b
fmt
danielfeismann 81ded31
Merge branch 'dev' into df/#917-Refactor-ThermalEnergyDemand
marvinheintze 587bf8d
Merge branch 'dev' into df/#917-Refactor-ThermalEnergyDemand
staudtMarius 2e14fce
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann eb98330
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann 9887c47
fmt
danielfeismann ee6e326
correctly name thermalGridState
danielfeismann 35f601f
Apply suggestions from code review
danielfeismann e8be5c8
Merge remote-tracking branch 'origin/df/#930-refactor-handleInfeed' i…
danielfeismann 83866d3
split cases and handle another edge case
danielfeismann c34a83b
some comments for the cases
danielfeismann 6229c18
some more comments and rename of variables for better understanding
danielfeismann 85d92d4
Merge branch 'dev' into df/#930-refactor-handleInfeed
danielfeismann 1e27a27
Merge branch 'dev' into df/#917-Refactor-ThermalEnergyDemand
danielfeismann ff4a0bc
refactor nested if-clause
danielfeismann f86f221
fmt
danielfeismann 4a5d0d6
adapt def of hasAdditionalDemand
danielfeismann ff8feb5
Merge branch 'df/#917-Refactor-ThermalEnergyDemand' into df/#930-refa…
danielfeismann b7bb639
fix ThermalGridSpec
danielfeismann a067faa
fix ThermalGridSpec
danielfeismann 9331418
changelog
danielfeismann 216a932
fix imports of ThermalGridSpec
danielfeismann 4e0367d
Merge branch 'df/#917-Refactor-ThermalEnergyDemand' into df/#930-refa…
danielfeismann 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 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 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 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
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.
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.
Would love some help understanding what is being done here. Maybe we could enhance the overall code documentation here? To someone who knows the implementation well, these probably seem trivial, but for the untrained eye they're maybe not. For example:
HpState
, isqDot
the combined thermal power including storage, or just the heat pump, or just storage?qDot
in the house state include the heat loss of the building, or just infeed by the grid?Those are just some things that "jumped" at me...
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.
You're right! Even after some time understanding what happens here get's hard, to be honest...
Regarding your questions:
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.
partsly the interpretation of required and additional demand is handled here. Which we might merge before. #918