Restrict tf turn to correct supercon#4309
Conversation
…enums for clarity
…erty calculations and remove deprecated models
…ulations and improve code clarity
…perconductingTFCoil
…ulations and add fraction of superconducting material area
…ions and remove unused void area logic
…average and update related calculations
…dimensions for clarity
…s and improve variable naming
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4309 +/- ##
==========================================
- Coverage 48.79% 48.75% -0.04%
==========================================
Files 151 151
Lines 29339 29334 -5
==========================================
- Hits 14315 14301 -14
- Misses 15024 15033 +9 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
… CROCOSuperconductingTFCoil
timothy-nunn
left a comment
There was a problem hiding this comment.
Please could you also get a modeler to check this over too
There was a problem hiding this comment.
I am quite against changing the regression test setup (e.g. by changing the coil technology being used) as this will render the tracker useless. I would much rather you introduce another test (could be just an eval IN.DAT) that checks the CroCo coil (and possibly also tests some of our as-yet untested models)
There was a problem hiding this comment.
A discussion needs to be done about this as for st_regression the current configuration is an impossible design of tape conductors in a cable format. So the current regression is physically wrong. Will look at adding other CroCo tests
There was a problem hiding this comment.
See previous comment.
…perconductingTFCoil class
5ae9b52 to
23d3846
Compare
24bebb4 to
e033766
Compare
…ucture for area fractions
e033766 to
6c67923
Compare
This pull request makes several important changes to how the TF (Toroidal Field) coil conductor geometry and materials are represented and handled throughout the codebase. The main focus is on renaming and clarifying variable names related to conductor dimensions, expanding the data model for CroCo conductor materials, and updating tests and input files to match the new conventions.
Summary of most important changes:
Variable Renaming and Data Model Updates
Replaced ambiguous variables like
t_conductor,t_conductor_radial, andt_conductor_toroidalwith more descriptive names such asdx_tf_turn_conduit_full_average,dr_tf_turn_conduit_full, anddx_tf_turn_conduit_full_toroidalthroughout the codebase, improving clarity and consistency.Expanded the
SuperconductingTFDataclass to include additional fields for CroCo cable geometry and material fractions (copper, superconductor, Hastelloy, helium, solder, jacket, REBCO), and clarified their units and meanings.Plotting and Output Improvements
Physics Model Clarification
hijc_rebcoto explicitly refer to "critical current" instead of "critical current density," improving the accuracy of the documentation and variable naming.Test and Input File Updates
Variable Mapping
obsolete_vars.pyto reflect the new conductor width variable name.These changes improve code clarity, maintainability, and the accuracy of physical modeling and output.
Checklist
I confirm that I have completed the following checks: