-
Notifications
You must be signed in to change notification settings - Fork 13
🔄 Update constraint variable names 1 #3706
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3706 +/- ##
=======================================
Coverage 37.63% 37.63%
=======================================
Files 88 88
Lines 22830 22830
=======================================
Hits 8592 8592
Misses 14238 14238 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Some old var names still need updating:
ft_burn
: examples/data in 3 files - large_tokamak_IN.DAT, scan_example_file_IN.DAT and scan_MFILE.DAT
fpinj
: examples/data/large_tokamak_IN.DAT
cpttf_max
: tests/integration/data/scan_MFILE.DAT
fcpttf
: tests/integration/data/scan_MFILE.DAT
fwalld
is still in plot_solutions, so this needs re-running to update this to fpflux_fw_neutron_max_mw
Also some conflicts need resolving too
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.
Looks good, can the conflicts be fixed
…across physics and Fortran modules
…e data files and test cases to improve clarity and maintain consistency in the codebase.
…a files and codebase
… files to improve clarity and consistency.
…ve clarity regarding its purpose as the f-value for flux-swing (V-s) requirement in steady state.
…mproved clarity and consistency regarding the minimum burn time.
…ed_mw across multiple data files and test scripts to enhance clarity and maintainability.
…d_mw across multiple files for clarity and consistency.
…ss multiple files for improved clarity and consistency regarding the permitted neutral beam e-decay lengths to plasma centre.
…ited across multiple files to enhance clarity regarding the fraction of alpha power deposited in plasma.
…o enhance clarity regarding the maximum allowable value for the toroidal magnetic field.
…iple files for clarity and consistency
…tiple data files and scripts to standardize the naming convention for injected power.
…ple files for improved clarity regarding the maximum current drive gamma.
…iple files for improved clarity regarding the maximum current drive gamma.
…mproved clarity regarding the first wall peak temperature.
…in multiple files and updated related comments.
…proved clarity regarding the minimum cycle time.
…r improved clarity regarding the maximum TF coil current per turn.
…improved clarity regarding the maximum TF coil current per turn.
… for improved clarity regarding the upper limit on radiation wall load.
…tf to c_tf_turn_max across multiple files.
2166a27
to
cac323e
Compare
This PR is just done by quickly skimming some of the variables in
constraints.py
and making them be in line with the new style guide🔄 Renames
piepv
->pden_ion_electron_equilibriation_mw
dnla
->nd_electron_line
beam_density_out
->nd_beam_ions_out
walalw
->pflux_fw_neutron_max_mw
fwalld
->fpflux_fw_neutron_max_mw
fvs
->fvs_plasma_total_required
ftburn
->fr_burn_min
pnetelin
->p_plant_electric_net_required_mw
fpnetel
->fp_plant_electric_net_required_mw
tbeamin
->n_beam_decay_length_core_required
f_alpha_plasma
->f_p_alpha_plasma_deposited
bmxlim
->b_tf_inboard_max
fpeakb
->fb_tf_inboard_max
fpinj
->fp_hcd_injected_total_mw
gammax
->eta_cd_norm_hcd_primary_max
fgamcd
->feta_cd_norm_hcd_primary_max
frpeak
->ftemp_fw_max
tcycmn
->t_cycle_min
ftcycl
->ft_cycle_min
cpttf_max
->c_tf_turn_max
fcpttf
->fc_tf_turn_max
fradwall
->fplfux_fw_rad_max
Checklist
I confirm that I have completed the following checks: