Skip to content

Allow Cyclus runs from within Cypher - #5

Merged
dean-krueger merged 3 commits into
mainfrom
milestone-two
Jun 22, 2026
Merged

Allow Cyclus runs from within Cypher#5
dean-krueger merged 3 commits into
mainfrom
milestone-two

Conversation

@dean-krueger

Copy link
Copy Markdown
Owner

The initial edge of Cypher was set conservatively to being able to generate Cyclus input files, but not to run them. It was always planned to allow Cyclus runs from within Cypher, similar to how you can run OpenMC. This PR adds the necessary code to allow:

sim = cypher.Simulation(control)

# Add RIF, recipes, etc

result = sim.run()

such that it should then be possible to do:

db = cymetric.dbopen(result.output_dir)
...

and hand the output of the simulation off to cymetric directly within the same notebook. This hopefully creates a seamless workspace experience for users, who should be able to only ever interact with Cyclus through an ipython notebook if they want.

@dean-krueger
dean-krueger merged commit 7cbb4e9 into main Jun 22, 2026
10 checks passed
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