Giter Site home page Giter Site logo

je-cook / bluemira_public Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fusion-power-plant-framework/bluemira

0.0 0.0 0.0 66.68 MB

Bluemira is an integrated inter-disciplinary design tool for future fusion reactors. It incorporates several modules, some of which rely on other codes, to carry out a range of typical conceptual fusion reactor design activities.

Home Page: https://bluemira.readthedocs.io/

License: GNU Lesser General Public License v2.1

Shell 0.41% Python 99.50% Dockerfile 0.09%

bluemira_public's Introduction

DOI docs codecov

Bluemira

image

Bluemira is an integrated inter-disciplinary design tool for future fusion reactors. It incorporates several modules, some of which rely on other codes, to carry out a range of typical conceptual fusion reactor design activities.

Bluemira was created from two similar codes: BLUEPRINT and MIRA (see publications).

Work in Progress!

The bluemira team has been working hard since mid-2021 to combine BLUEPRINT and MIRA into a single reactor design framework. We took the opportunity to embark upon a significant refactor of both code bases, delivering improved functionality, code quality, and hopefully maintainability. This, along with some resourcing issues has caused our feature roadmap to slip. A lot of functionality that was present in BLUEPRINT and MIRA is not yet available in bluemira.

Bluemira is very much under active development, and will likely be subject to API changes in the near future. We apologise in advance for these. Please do get in touch before starting to use any modules, so we can warn you of changes to come.

Below is an overview of our development roadmap for 2023/24:

Bluemira Roadmap

Modules

Bluemira is composed of various modules:

  • balance_of_plant: power balance solver and tools
  • base: the software backbone of the bluemira framework
  • codes: interfaces to external codes (both API and file PI)
  • display: plotting and display module
  • equilibria: equilibrium solvers and objects
  • fuel_cycle: fuel cycle model
  • geometry: the geometry "engine" of the bluemira framework
  • magnetostatics: magnetostatics solvers
  • materials: materials module
  • plasma_physics: 0-D plasma physics tools
  • radiation_transport [WIP]: radiation and advection transport solvers
  • structural: beam finite element structural solver
  • utilities: collection of utility toolboxes for file IO, databases, machine learning, and misc.

Publications

The bluemira code and its modules are described in the following publications:

  • TBD

As bluemira is the result of an integration between two historical codes, some previous publications may also be of interest.

The BLUEPRINT code and its modules are described in the following publications:

The MIRA code and its modules are described in the following publications:

Terms of use

Bluemira is released under the LGPLv2.1 license, but we also ask that you show professional courtesy when using this code:

  1. Since you are benefiting from work on bluemira, we ask that you submit any improvements you make to the code to us by submitting a pull request to this repository. If you are looking to develop aspects of this code or add parts to it, please contact us beforehand so that we can help/advise if necessary.

  2. If you use bluemira results in a paper or professional publication, we ask that you discuss your work and results with one of the bluemira authors first so that we can check them. It is not necessary to list bluemira developers as co-authors. If one or more of the bluemira team are involved in preparing results or new functionality used in your work, then those members should be offered a co-authorship.

  3. If you use bluemira or any of its modules in your work, please help ensure that all the authors get the credit they deserve by citing the relevant bluemira, BLUEPRINT, and MIRA papers.

For a full list of existing publications, see here.

Code of conduct

See code of conduct.

Installation

See our installation guide.

Developing

For working on bluemira you will also need to install the development dependencies and the git pre-commit hook:

python -m pip install --no-cache-dir  -e .'[dev]'
pre-commit install -f

Please see the guidelines for contributing to bluemira.

Tests are run with pytest. To run the main tests:

pytest

To run all the tests:

pytest --reactor --longrun --plotting-on

pytest also supports running individual test files and selecting tests by name or using a regular expression. See the pytest documentation.

After a test run an html report of the results can be found in report.html. A test coverage report can be found in the htmlcov directory.

Building Documentation

The documentation is built with Sphinx. In addition the API documentation is created by sphinx-apidoc.

To build the html documentation execute this command:

sphinx-build documentation/source documentation/build

New pages can be added by adding them to the documentation/source directory and adding a link in the toctree section of index.rst. The index page lives at documentation/build/index.html. API documentation will be automatically generated from the bluemira source code.

bluemira_public's People

Contributors

dependabot[bot] avatar coronelbuendia avatar je-cook avatar danshort12 avatar hsaunders1904 avatar ivanmaione avatar oliverfunk avatar alexanderianblair avatar shaildesai96 avatar dariov86 avatar helen-brooks avatar sebkahn avatar geograham avatar cmacmackin avatar ichiang99 avatar jmorris-uk avatar oceannuclear avatar s-aria avatar aaleksa1 avatar fabrizio-franza avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.