-
Notifications
You must be signed in to change notification settings - Fork 11
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
🚧 3273 calculated bootstrap current fraction is overridden #3275
base: main
Are you sure you want to change the base?
🚧 3273 calculated bootstrap current fraction is overridden #3275
Conversation
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.
In addition to specific comments, you should also check the functionality with cboot
.
current_drive_variables.bscf_sauter = (
current_drive_variables.cboot * self.bootstrap_fraction_sauter()
) |
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 the changes.
Description
A new constraint equation
icc=92
and f-valuefboot_max
have been introduced to take over from:The above would override the calculated bootstrap current value from the model if its value ever went greater than
bscfmax
. Giving possible non-consistent solutions.This may cause solutions now harder to find due to the initial conditions on the input file which can easily give bootstrap fractions greater than one and causing the injected power constraint
icc=30
to crash also. Widening bounds is encouraged and the bootstrap fraction can still be directly set by settingbscfmax
to the negative of the required valueThe old
err242
error catching variable which would output that the bootstrap current fraction limit has been enforced has now been removed from all files.Checklist
I confirm that I have completed the following checks: