Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3548 implement variable dt ratio #3549

Merged
merged 10 commits into from
Feb 20, 2025
Merged

Conversation

ym1906
Copy link
Collaborator

@ym1906 ym1906 commented Feb 19, 2025

Description

Added f_tritium as an iteration variable and a constraint to ensure the fuel mixture fractions add up to 1

Checklist

I confirm that I have completed the following checks:

  • My changes follow the PROCESS style guide
  • I have justified any large differences in the regression tests caused by this pull request in the comments.
  • I have added new tests where appropriate for the changes I have made.
  • If I have had to change any existing unit or integration tests, I have justified this change in the pull request comments.
  • If I have made documentation changes, I have checked they render correctly.
  • I have added documentation for my change, if appropriate.

@ym1906 ym1906 linked an issue Feb 19, 2025 that may be closed by this pull request
@chris-ashe chris-ashe assigned chris-ashe and unassigned chris-ashe Feb 19, 2025
@chris-ashe chris-ashe added the Physics Relating to the physics models label Feb 19, 2025
@chris-ashe chris-ashe self-requested a review February 19, 2025 11:50
@codecov-commenter
Copy link

codecov-commenter commented Feb 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 31.18%. Comparing base (b7aefc2) to head (a23c5a7).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3549      +/-   ##
==========================================
- Coverage   31.55%   31.18%   -0.37%     
==========================================
  Files          82       83       +1     
  Lines       19565    20024     +459     
==========================================
+ Hits         6173     6245      +72     
- Misses      13392    13779     +387     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ym1906 ym1906 requested a review from chris-ashe February 20, 2025 13:11
Copy link
Collaborator

@chris-ashe chris-ashe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy for this to be merged

@ym1906 ym1906 merged commit 6fc1dea into main Feb 20, 2025
18 checks passed
@ym1906 ym1906 deleted the 3548-implement-variable-dt-ratio branch February 20, 2025 15:02
chris-ashe added a commit that referenced this pull request Feb 21, 2025
* Added f_tritium as iteration variable

* Added new constraint to check D/T ratio is equal to 1, subject to f_tritium being ixc

* updated fuel composition to note availability of ixc and cc for f_tritium

* Removed excess blank space

* 📝 Enhance documentation on fuel ions mixture self-consistency and iteration variable usage for f_tritium

* ✅ Add missing False values in NamedTuple initializations for consistency

* removed blank spaces for better md formatting

* Set boundl of f_tritium to 0

* Fixed typo in deuterium

* Renamed constraint label for D/T mix

---------

Co-authored-by: mn3981 <[email protected]>
chris-ashe added a commit that referenced this pull request Feb 21, 2025
* Added f_tritium as iteration variable

* Added new constraint to check D/T ratio is equal to 1, subject to f_tritium being ixc

* updated fuel composition to note availability of ixc and cc for f_tritium

* Removed excess blank space

* 📝 Enhance documentation on fuel ions mixture self-consistency and iteration variable usage for f_tritium

* ✅ Add missing False values in NamedTuple initializations for consistency

* removed blank spaces for better md formatting

* Set boundl of f_tritium to 0

* Fixed typo in deuterium

* Renamed constraint label for D/T mix

---------

Co-authored-by: mn3981 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Physics Relating to the physics models
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement variable D/T ratio
3 participants