RFC: Power modelling tool#127
Open
creideiki wants to merge 6 commits into
Open
Conversation
UPS object can be pointed to from anywhere in the physical location hierarchy (chassis, rack, room, or building), but use a room as an example.
The warehouse stores max power draw per chassis and max load per UPS. Add up the max power draw for all chassies connected to each UPS and report percentage of capacity used. This is still mostly a proof of concept. Obvious deficiencies include: * UPS capacity is in VA, but chassis load in W * Chassis load is wildly over-estimated at nominal max * Loose physical hierarchy data model makes for messy code
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.
The warehouse stores max power draw per chassis and max load per UPS. That means we can make a tool to add up the max power draw for all chassis connected to each UPS and report percentage of capacity used.
Do we want to do that? Would it be useful? It's never going to compete with having proper SNMP-enabled UPS:en feeding their load into a time-series database with a graphing web front-end, but for those who don't have that, is it better than nothing? Are the differences between nominal max draw and actual draw too great and fluctuating for it to be of any use? Could those deficiencies be remedied by asking the service processor for the real power draw (at some random moment when the load is assumed to be typical) and insert that value into the warehouse?
Obvious deficiencies in the current code include:
chassisloads are not considered