Skip to content

Task 14: iterative Weight Windows via Python API #274

Answered by shimwell
kingyue737 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your kind comment and also for the PR fix for those typos earlier.

I did have a go at doing the same thing with the pure python api and you can do some weight windows. It has a disadvantage compared to the openmc.lib approach as openmc lib can build on the current simulation, avoid reloading nuclear data and ends up being a bit quicker.

The repo I made still exists so feel free to look at the source code over here https://github.com/fusion-energy/openmc_weight_window_generator

  • max_realizations

    • what the docs say max_realizations (int) – The upper limit for number of tally realizations when generating weight windows.
    • my interpetation. When running the openmc.WeightWindowGenera…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kingyue737
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants