-
Notifications
You must be signed in to change notification settings - Fork 91
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
Fixing HexBlock rotation in plotBlockDiagram #1926
Conversation
First question without even looking at the code -- Can we get a picture of the correct plots? |
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 think also this chunk might need to be made aware of the orientation:
https://github.com/terrapower/armi/pull/1926/files#diff-0c52725b9d66a2bcefb306c31e4a9479fe8c206453c22b3e4cd268a1efef3c16R1181-R1185
@john-science Thank you for fixing those few comments. Please also note that there are a couple more things that would be good before approving this PR: |
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 currently poking around grid like things and some things here overlapped
…wer/armi into fix_plotBlockDiagram
This PR is temporarily on hold for another PR: #1947 I believe my solution in this was over-engineered to work AROUND the problem present in the other PR. Once that other PR merges, I should be able to simplify this PR. |
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.
Approved, thank you.
Please update the description in the top comment of the PR. In particular, that HexBlock.cornersUp()
method is no longer added.
Merge remote-tracking branch 'zprince/component_flux_up' into drewj/bu-rotate-with-pin-dep * zprince/component_flux_up: start rm'img things Fixing HexBlock rotation in plotBlockDiagram (#1926) Removing defunct import (#1986) Fixing wetted perimeter for hex inner ducts (#1985) Fixing sub-block grids (#1947) make history tracker respect control assemblies comment out print statements add defaults to pin level params add c.p.puFrac calc, move b.getPuMoles up the composite tree, add a pu frac comp params add c.p.molesHmBOL and populate it Adding component method to retrieve pin fluxes Revert "Moving pin flux parameters to component level" add pinPercentBu component param Moving pin flux parameters to component level
What is the change?
Fixed a bug in
plotBlockDiagram()
.Why is the change being made?
The method
plotBlockDiagram()
incorrectly plotsHexBlock
s if they are rotated to the "corners up" rotation.close #1421
Checklist
doc
folder.pyproject.toml
.