- 
                Notifications
    You must be signed in to change notification settings 
- Fork 7
          Adding updated BdewStandardLoadProfiles.
          #1312
        
          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
          
     Merged
      
      
            danielfeismann
  merged 23 commits into
  dev
from
ms/#1292-add-updated-bdew-standard-load-profiles
  
      
      
   
  Jul 25, 2025 
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            23 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      3ed7d1e
              
                Adding updated `BdewStandardLoadProfiles`.
              
              
                staudtMarius a91c505
              
                fmt
              
              
                staudtMarius cbd353b
              
                Merge branch 'dev' into ms/#1292-add-updated-bdew-standard-load-profiles
              
              
                staudtMarius 5a63d66
              
                Merge branch 'dev' into ms/#1292-add-updated-bdew-standard-load-profiles
              
              
                staudtMarius e3376a6
              
                Merge branch 'dev' into ms/#1292-add-updated-bdew-standard-load-profiles
              
              
                staudtMarius 505e18a
              
                Adapted `CHANGELOG`.
              
              
                staudtMarius bf69af7
              
                Merge branch 'dev' into ms/#1292-add-updated-bdew-standard-load-profiles
              
              
                staudtMarius a9f37a6
              
                Merge branch 'dev' into ms/#1292-add-updated-bdew-standard-load-profiles
              
              
                staudtMarius fe60de2
              
                Enhancing load profile time series documentation.
              
              
                staudtMarius 2aba803
              
                Merge branch 'dev' into ms/#1292-add-updated-bdew-standard-load-profiles
              
              
                staudtMarius ac673db
              
                Merge branch 'dev' into ms/#1292-add-updated-bdew-standard-load-profiles
              
              
                staudtMarius bf029c1
              
                Refactoring `BdewLoadValues`.
              
              
                staudtMarius 22a5c81
              
                Simplify expected scheme in `BdewLoadProfileFactoryTest`
              
              
                staudtMarius 32d2e10
              
                Refactoring getters in `BdewLoadValues`
              
              
                staudtMarius 794597d
              
                fmt
              
              
                staudtMarius 4b20d8b
              
                Fixing sonarqube issues.
              
              
                staudtMarius f620aca
              
                Merge branch 'dev' into ms/#1292-add-updated-bdew-standard-load-profiles
              
              
                staudtMarius b612f00
              
                Fixing sonarqube issues.
              
              
                staudtMarius 6b6d98c
              
                Merge branch 'dev' into ms/#1292-add-updated-bdew-standard-load-profiles
              
              
                staudtMarius 175ba56
              
                Merge branch 'dev' into ms/#1292-add-updated-bdew-standard-load-profiles
              
              
                staudtMarius 2e91707
              
                Update CHANGELOG.
              
              
                staudtMarius c3c38f7
              
                Merge branch 'dev' into ms/#1292-add-updated-bdew-standard-load-profiles
              
              
                staudtMarius 0ec4ad8
              
                Refactor calculation of max power for `BdewLoadValues`.
              
              
                staudtMarius 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
    
  
  
    
              
        
          
          
            27 changes: 27 additions & 0 deletions
          
          27 
        
  src/main/java/edu/ie3/datamodel/io/processor/GetterMethod.java
  
  
      
      
   
        
      
      
    
  
    
      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
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| /* | ||
| * © 2025. TU Dortmund University, | ||
| * Institute of Energy Systems, Energy Efficiency and Energy Economics, | ||
| * Research group Distribution grid planning and operation | ||
| */ | ||
| package edu.ie3.datamodel.io.processor; | ||
|  | ||
| import java.lang.reflect.InvocationTargetException; | ||
| import java.lang.reflect.Method; | ||
|  | ||
| public record GetterMethod(String name, Getter getter, String returnType) { | ||
|  | ||
| public GetterMethod(Method method) { | ||
| this(method.getName(), method::invoke, method.getReturnType().getSimpleName()); | ||
| } | ||
|  | ||
| public Object invoke(Object object) | ||
| throws IllegalAccessException, IllegalArgumentException, InvocationTargetException { | ||
| return getter.get(object); | ||
| } | ||
|  | ||
| @FunctionalInterface | ||
| public interface Getter { | ||
| Object get(Object object) | ||
| throws IllegalAccessException, IllegalArgumentException, InvocationTargetException; | ||
| } | ||
| } | 
  
    
      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
    
  
  
    
              
      
      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.