-
Notifications
You must be signed in to change notification settings - Fork 17
954 bootstrap current fraction scaling formula for steady state machines #3268
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
954 bootstrap current fraction scaling formula for steady state machines #3268
Conversation
This commit adds a new bootstrap current fraction model based on the Sakai formula. The `bootstrap_fraction_sakai` method is implemented in the `Physics` class in the `physics.py` file. This model calculates the bootstrap fraction using a set of parameters such as plasma beta, bootstrap current coefficient, safety factor, neoclassical viscosity parameters, and epsilon. The formula is derived from the work of Sakai et al. [^1^]. [^1^]: Sakai, R., Fujita, T., Okamoto, A. (2019). Derivation of bootstrap current fraction scaling formula for 0-D system code analysis. Fusion Engineering and Design, 149, 111322. https://doi.org/10.1016/j.fusengdes.2019.111322
stuartmuldrew
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment about diamagnetic current options
This commit modifies the `Physics` class in the `physics.py` file to update the calculation of the Sakai bootstrap current. The Sakai formula states that the ACCOME dataset used has the toroidal diamagnetic current included in the bootstrap current. Therefore, the commit removes the PROCESS calculated diamagnetic current from the bootstrap current calculation. This change improves the accuracy of the bootstrap current fraction model.
ce787b5 to
f1414f4
Compare
…g the Sakai scaling
|
Thanks - a helpful piece of work. |
stuartmuldrew
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy with error message addition.
Description
A new model by Sakai et al has been implemented

This should be applicable for all aspect ratios.
Unit tests created for large tokamak and ST case
Sakai et al. says at the start of the paper that the dataset used to fit the model includes the toroidal diamagnetic current. Thus we remove the diamagnetic fraction from the calculated value when the function is called
Checklist
I confirm that I have completed the following checks: