-
Notifications
You must be signed in to change notification settings - Fork 1
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
Recovery simulations #23
Conversation
@annehaley I pushed I believe I tested it enough to show it has feature parity with the existing implementation, but please give it a try to make sure I'm not missing anything, and/or otherwise lmk what you think. |
@AlmightyYakob I tried out 476273f and it works well. Thank you for optimizing that. |
Suggested by @AlmightyYakob Co-authored-by: Jacob Nesbitt <jjnesbitt2@gmail.com>
This PR adds a new Simulation type, "Recovery Scenario". For its input arguments, the user can select the following:
The implementation of this simulation utilizes a function written by Jack Watson at NEU, shared with us for this simulation. The options available in that function determine the list of available recovery modes.
The animation of the results of this simulation only required a slight modification to the
NodeFailureAnimation
component, now renamedNodeAnimation
. The component now accepts a list ofnode_recoveries
alongside the list ofnode_failures
. Ifnode_recoveries
is specified, the animation will subtract the current slice of recovered nodes from the list of failed nodes.