-
Notifications
You must be signed in to change notification settings - Fork 36
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
Vacuum costing and valve graphic fix #172
Conversation
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.
Hey @yoelcortes, I updated the costing function for small vacuum pumps with F_vol_cfm
< 3.01 using data I found for commercial vacuum pumps with 3 cfm and 1.5 cfm design capacities here. It seems by previous assumptions, when F_vol_cfm
< 3.01, the design and cost of the vacuum pumps would be fixed at F_vol_cfm
= 3.01, which would disproportionally inflate the costs of very small systems. Do you think the new assumption makes sense? Can we update the doctest accordingly?
Thanks for making this pull request! General comment: More detailed comments:
Regarding the documentation:
Testing:
Thanks! |
@yoelcortes, thanks for the comments! Regarding your general comment: To your detailed comments:
I think it's a good idea to increase the feed flow rate in the doctest. Do you have a test function somewhere for the original code? I can add to that. Thanks! |
Excellent! The old code for flow rate < 3.01 was a place holder... but it might have been better if I had let it error since a good solution was not implemented. It's great that a better solution is being added now. We can add a TODO for the 2023 CEPCI. I believe I can find it later. I think it would be a good idea to add the test function in a new module called Once you're done making changes, I'll go ahead and make any minor edits and merge :) Thanks! |
New costing algorithm for small vacuum pumps has been added per our discussion above (here). Please review and make edits as you see fit! Thanks! |
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.
Amazing work! Love the tests. Feel free to add your name to the copyright in the module when making significant changes, otherwise I'll add it later.
Thanks!
Minor updates, one is from @joyxyz1994 on vacuum costs, the other is about the valve graphic, currently an error will be triggered if using the valve and has
graphviz_format
set tosvg
, I don't think the svg issue has been fixed for valves (or maybe I'm not using it correctly...)Thanks!