-
Notifications
You must be signed in to change notification settings - Fork 65
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
Feature/877 add battery capacity fault capability #879
Conversation
src/simulation/power/simpleBattery/_UnitTest/test_simpleBatteryFault.py
Outdated
Show resolved
Hide resolved
src/simulation/power/simpleBattery/_UnitTest/test_simpleBatteryFault.py
Outdated
Show resolved
Hide resolved
@Yume27 , your pre-commit test failed. Be sure to install the pre-commit support by reading https://avslab.github.io/basilisk/Support/Developer/CodingGuidlines.html. Look near the bottom for the link to CONTRIBUTING.md. It talks about how to include the checks, and how to many force check specific files if needed. |
4f179b6
to
bf15fb5
Compare
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.
Great PR! Left some really minor suggestions, but otherwise LGTM!
bf15fb5
to
699dca5
Compare
699dca5
to
7216864
Compare
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.
I'm good with this PR now. I moved the commit that added the new fault message declaration to the top of the stack. Otherwise, if someone pulls an earlier commit the code would not compile.
Also added a minor fix to another script to address matplotlib warning.
Description
This added the capability to simulate a fault in the
simpleBattery
module that reduces the actual storage capacity without directly altering the stated capacity.Verification
Added unit test to verify that
Documentation
Updated rst file associated with simpleBattery module.
Future work
None