Skip to content
/ hisp Public
forked from kaelyndunnell/hisp

Hydrogen Inventory Simulations for PFCs (HISP) is a series of code that uses FESTIM to simulate deuterium and tritium inventories in a fusion tokamak first wall and divertor PFCs.

License

Notifications You must be signed in to change notification settings

ehodille/hisp

 
 

Repository files navigation

CI docs

HISP

Hydrogen Inventory Simulations for PFCs (HISP) is a series of code that uses FESTIM to simulate deuterium and tritium inventories in a fusion tokamak first wall and divertor PFCs.

How to Run:

Clone the repository:

git clone https://github.com/kaelyndunnell/hisp
cd hisp

Run this command to create a new environment with the right dependencies (eg. dolfinx):

conda env create -f environment.yml

Then, activate the environment:

conda activate hisp-env

Install the hisp package with:

python -m pip install -e .

This will also install the pip dependencies like h-transport-materials and FESTIM.

NOTE: Using -e with pip will install the package in editable mode, meaning the source code can be modified without having to reinstall the package.

Run the tests

After cloning the repo and installing hisp, run:

python -m pytest test

NOTE: Make sure to install the test dependencies with python -m pip install -e .[test]

About

Hydrogen Inventory Simulations for PFCs (HISP) is a series of code that uses FESTIM to simulate deuterium and tritium inventories in a fusion tokamak first wall and divertor PFCs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%