Skip to main content

PathSim-Fusion Logo

Fusion fuel cycle and balance-of-plant blocks for PathSim

PyPI License

Homepage • Documentation • GitHub


PathSim-Fusion extends the PathSim simulation framework with specialized blocks. All blocks follow the standard PathSim block interface and can be connected into simulation diagrams.

Blocks

Block Description Key Parameters
IonisationChamber Flow-through tritium ionisation chamber (signal = ε(c)·c, flux passes through) detection_efficiency, func_efficiency, detection_threshold
Bubbler4 Four-vial tritium sampling bubbler (soluble + insoluble chains, catalytic conversion, scheduled vial replacement) conversion_efficiency, vial_efficiency, replacement_times
GLC Counter-current bubble-column gas–liquid contactor for tritium extraction from LiPb (Malara 1995, on BVP1D) P_in, L, D, T, BCs

Install

pip install pathsim-fusion

Quick Example

from pathsim import Simulation, Connection
from pathsim.blocks import Constant, Source, Scope
from pathsim_fusion import IonisationChamber

flux = Source(lambda t: 1e-3 * float(t > 1))  # tritium flux, step at t = 1
flow = Constant(0.5)  # carrier gas flow rate
ic = IonisationChamber(detection_efficiency=0.9)
sco = Scope(labels=["flux", "signal"])

sim = Simulation(
    blocks=[flux, flow, ic, sco],
    connections=[
        Connection(flux, ic["flux_in"], sco[0]),
        Connection(flow, ic["flow_rate"]),
        Connection(ic["signal"], sco[1]),
    ],
    dt=0.01,
)
sim.run(5)
sco.plot()

Development

pip install -e ".[test,lint]" mypy
ruff check .                # lint
ruff format .               # format
mypy src/pathsim_fusion    # type check
pytest tests/ -v            # run tests

License

MIT

Metadata

Release files for pathsim-fusion 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pathsim-fusion 0.1.4
File Size Uploaded Provenance Actions
pathsim_fusion-0.1.4.tar.gz 72.1 kB With provenance Details for pathsim_fusion-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pathsim-fusion 0.1.4
File Interpreter ABI Platform Actions
pathsim_fusion-0.1.4-py3-none-any.whl Python 3 none any Details for pathsim_fusion-0.1.4-py3-none-any.whl

Total release size: 91.9 kB

Release files / pathsim_fusion-0.1.4.tar.gz

Download URL pathsim_fusion-0.1.4.tar.gz
Size 72.1 kB
Tags Source
SHA-256 checksum
How to use checksums
93805e2fa55156970ab9061830b49e4cc6763036313ef0db5f7c987809013931
BLAKE2b-256 checksum
How to use checksums
a7f0088f6ee315b942710edcda4be986844fdbf3b780420804565f0ae4beb585
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / pathsim_fusion-0.1.4-py3-none-any.whl

Download URL pathsim_fusion-0.1.4-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66311447b475ebad9e07c95f1d5f3016c4733ae9c9394143481509223e094498
BLAKE2b-256 checksum
How to use checksums
6a4d5ffe1bd64bfa4e3cb979562a7302653a8b57f529fe867848baf7e172590b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for pathsim-fusion 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pathsim_fusion-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page