Conversation
…nges over years. A new input "num_years" has been added. The multi-year feature is based on the same structure as for the "cases". At the moment I have removed the "cases" option, but I can add it back in depending on how would you like to proceed. The multi-year feature projects random increases in the number of users and appliances over the years. Additionally, new appliances can be defined according to the excel file. I have added a template file. Initially I tried to implement in such a way that the new appliances are defined inside an excel file. I have attached a template along with the python code to call the new function and plot the load. Future iterations could include not only increases but also decreases in load as well as changes in the consumption patterns.
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 is the code for a multi-year feature for the RAMP model which I made during my Master Thesis project.
A new input of "num_years" have been added. The new feature has the same idea as the "cases" option. I have removed the "cases" option for the time being but I can add it back in depending on how you would like to proceed.
The code randomly increases the number of users and appliances over the years. Additionally, new appliances can be added based on a template excel file I have added. I had issues adding the new appliances to the same user instances, so I ended up creating new user instances for the new appliances.
Future work could include not only increasing but also decreasing the number of users and appliances and potentially removing some appliances as well as changing the usage patterns depending on what is interesting.
It is worth noting that I have not worked with GitHub before, therefore, please let me know whether everything is in order so far.
Additionally, this is only my first attempt on creating the feature. Since I did not end up using this in my work I had left it as is, but I am happy to come back and help making it more functional and robust.
Nils Lurie