Run the ampoule in real photon transport: budget, gate, synapse, boundary and dose - #15
Merged
Merged
Conversation
…dary and dose ampoule/ builds the sealed machine of transistor/SEALED.md and transistor/EMBODIMENT.md shell by shell in OpenMC 0.16 with the official ENDF/B-VIII.0 photoatomic library, drives it with the ⁹⁰Sr and ⁹⁰Y beta spectra of its own core through the thick target bremsstrahlung treatment, and calibrates the instrument first against NIST XCOM attenuation, exponential slab transmission and the thick target rule. Measured: 43.9 M photons per second leave the core at a mean 252 keV (0.057 per decay); the vessel deposits 183 µW against the 181 µW ledger; the 64 sites see 32.9 k/s in plastic and 1.02 M/s in CsI against a proposal budget of 10⁶; the boundary counts 3.25 M/s against the assumed 10⁷; the collar's ON/OFF contrast is 6.3 (11.9 with CsI); the 64 × 64 Green's function has nearest neighbour weights of 3×10⁻⁵ and a fan out of 0.1 percent; a 1 mm lead septum halves the coupling it sits across; the ambient dose is 68 µSv/h at the wall and 0.26 µSv/h at a metre. The notes are amended in place: the cells must be CsI, the mouth is a factor three narrower than priced, the aperture and the septum are analog knobs, and the dose figure the build note deferred is on the table. neutron/data.py now fetches the photoatomic files and the natural isotopes of the vessel's elements. Closes #14 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
MaxFreedomPollard
added a commit
that referenced
this pull request
Sep 4, 2026
Run the ampoule in real photon transport: budget, gate, synapse, boundary and dose
MaxFreedomPollard
added a commit
that referenced
this pull request
Sep 4, 2026
…nMC ones build.yml gains the three steps that #11, #13 and #15 could not carry because the token that pushed them lacked the workflow scope: the neutron report, the photon keystone census and the ampoule report, all from the committed data and none needing OpenMC or the network. openmc.yml is a second workflow, on changes to neutron/ or ampoule/ and on demand, that installs OpenMC 0.16 from conda-forge, streams the official ENDF/B-VIII.0 archive once into a cached data directory, and reruns the neutron gate and the ampoule at their quick budgets: the proof that the committed tallies can be regenerated from public code and data.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #14.
What this adds
A new directory,
ampoule/, that runs the sealed machine oftransistor/SEALED.mdandtransistor/EMBODIMENT.mdin real photon transport: the vessel shell by shell in OpenMC 0.16 with the official ENDF/B-VIII.0 photoatomic library, driven by the ⁹⁰Sr and ⁹⁰Y beta spectra of its own core through OpenMC's thick target bremsstrahlung treatment, calibrated first against references that are not OpenMC (NIST XCOM attenuation to 0.4 percent, slab transmission to 1.0 percent of the exponential, thick target bremsstrahlung within the textbook rule's tolerance, beta spectra within 2 percent of the ICRP 107 mean energies).What it measures
What it changes in the notes
Three of the design's numbers move and one holds. The power ledger holds. The cells must be CsI: in plastic the shell is 30× short of its proposal budget. The mouth is a factor 3.0 narrower than it was priced, so the 8 bit read rate is 50 per second rather than 153 at the present collection. And the two mechanical controls, the aperture and the septum, are analog knobs rather than switches, because the bremsstrahlung is hard and 2 mm of tungsten or 1 mm of lead is a filter for it: the same finding as the cadmium sheet of the neutron gate (#11), for the same reason. The dose figure the build note deferred is now on the table. SEALED.md and EMBODIMENT.md are amended in place, the README gains a section, and Open Problems 4 and 7 are updated with what is now measured.
Files
ampoule/beta.py,ampoule/calibrate.py,ampoule/model.py,ampoule/report.pyampoule/tallies.json,ampoule/calibration.json: the committed run (7.6 minutes of wall clock)ampoule/results.md,ampoule/README.md,figures/fig17_ampoule.{svg,png}neutron/data.py: the fetcher now also takes the photoatomic files and the natural isotopes of the vessel's elements from the official archiveREADME.md,transistor/SEALED.md,transistor/EMBODIMENT.mdNot in this PR: the CI line
python ampoule/report.pybelongs beside the neutron and photon report steps in.github/workflows/build.yml; it needs no OpenMC. The token available to me still lacksworkflowscope, so it joins the pending lines from #11 and #13.Provenance
OpenMC 0.16.0 (conda-forge); ENDF/B-VIII.0 official OpenMC HDF5 distribution, photoatomic data EPICS2014 based, streamed from the 3.4 GB archive; NIST XCOM (Hubbell and Seltzer) for the attenuation references, transcribed; ICRP 116 anterior posterior photon coefficients as shipped with OpenMC; ICRP 107 mean beta energies; the thick target bremsstrahlung treatment validated by Lund and Romano (2018).
🤖 Generated with Claude Code