Skip to content

icsbep modifications#1

Open
northroj wants to merge 1 commit intoCEMeNT-PSAAP:mainfrom
northroj:feature/northroj/icsbep
Open

icsbep modifications#1
northroj wants to merge 1 commit intoCEMeNT-PSAAP:mainfrom
northroj:feature/northroj/icsbep

Conversation

@northroj
Copy link
Copy Markdown

Updates to the xml translator for use with the ICSBEP problems

When I was making this, I used the xml_translator.py content since it appeared to be a later version than the Translators.ipynb file, but put it in an interactive notebook. To merge it back in, I placed my changes into the Translators.ipynb file instead of the .py file. This unfortunately means that the git diff becomes very messy.

Most changes involve minor tweaks to accept variations in OpenMC's input such as comment blocks in the XML tree and extra whitespace in lists of numbers.

There is a line which specifically excludes U234, U236, Th232, and Pu241 from the MC/DC inputs if they are present in the OpenMC inputs.

This line exists in the geometry section: Written_Universes = Write_Universes(Geom_Root, py_file) (search "FIX" in the file to find the comment outlining it.) It had to be commented out because it broke all the ICSBEP problems (most of them) if they didn't have universes. I have it commented out, but I think it would need to be added back in to make problems WITH universes work again.

 reverting unwanted changes to the .py file
@northroj northroj force-pushed the feature/northroj/icsbep branch from 1ecdfc0 to d2c5cc6 Compare March 19, 2025 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant