Recommendations for setting Reactor.p.time for calendar time? #1475
Unanswered
drewj-usnctech
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@drewj-usnctech Your analysis is spot-on. Check out this issue, it has some context that probably answers your question: #1100 Long story short, right now this time parameter is advanced by our internal depletion plugin. I don't think there is any particularly good reason for that. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can't seem to find anything inside the ARMI framework that sets the calendar time for a simulation. There's this
Reactor.p.time
parameterarmi/armi/reactor/reactorParameters.py
Lines 78 to 83 in 6603c1d
with a depletion description
but it doesn't seem to be set inside ARMI. It looks like the cycle and node integers are serialized, but then something must set
Reactor.p.time
in order for it to be useful in e.g., report generationarmi/armi/physics/neutronics/reports.py
Line 98 in 6603c1d
And it seems to me that this is something that the main
Operator
or a shipped interface could handle relatively easily? TheOperator
handles marching from(cycle, node)
to(cycle, node)
, so it could conceivably also setReactor.p.time
We have a kind of complex routine that re-constructs the time from the
(cycle, node)
value atinteractEveryNode
and it's got me thinking there's got to be a better way.So the question(s) are
Reactor.p.time
in a depletion rune?Interface.interact*
?Beta Was this translation helpful? Give feedback.
All reactions