Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
b2db669
Add CROCOAveragedTurnGeometry class and update CROCOSuperconductingTF…
chris-ashe Apr 17, 2026
07c0aa9
Remove unused i_tf_sc_mat parameter from CICCSuperconductingTFCoil an…
chris-ashe Apr 17, 2026
f322a3a
Refactor CICCSuperconductingTFCoil to simplify cable calculations by …
chris-ashe Apr 17, 2026
07e5966
Update main_plot to handle different superconducting turn types and i…
chris-ashe Apr 17, 2026
4c5eabe
Add output_croco_info method to CROCOSuperconductingTFCoil for detail…
chris-ashe Apr 17, 2026
d0be4d0
Add plot_tf_croco_turn function for visualizing TF coil CICC turn str…
chris-ashe Apr 17, 2026
4697d55
Remove unsupported integer turn geometry handling for CroCo conductor…
chris-ashe Apr 17, 2026
2513800
Refactor CROCOSuperconductingTFCoil to streamline conductor area calc…
chris-ashe Apr 17, 2026
bcd9706
Post rebase summary file changes
chris-ashe Apr 17, 2026
0336f2b
Add effective cable space area calculation in CROCOSuperconductingTFCoil
chris-ashe Apr 17, 2026
c6daae6
Refactor CROCOSuperconductingTFCoil to update Croco cable diameter va…
chris-ashe Apr 17, 2026
f10195c
Enhance CroCo cable geometry calculations by adding tape stack height…
chris-ashe Apr 17, 2026
fc164ff
Add CroCo cable geometry data class and summary box for plotting
chris-ashe Apr 20, 2026
1c1ae76
Add HTS tape geometry plotting function and update CroCo cable plot p…
chris-ashe Apr 20, 2026
d4922dc
Refactor CroCo strand calculations to use N_CROCO_STRANDS_TURN consta…
chris-ashe May 13, 2026
9c2673a
Refactor CroCo cable geometry calculations to return CroCoCableGeomet…
chris-ashe May 13, 2026
fa34f2e
Refactor CROCOSuperconductingTFCoil to utilize calculate_croco_cable_…
chris-ashe May 13, 2026
678c1b4
Refactor variable names for TF coil components
chris-ashe May 13, 2026
e182b0c
Update tests
chris-ashe May 13, 2026
7ded183
Rename croco superconductor
chris-ashe May 13, 2026
6124ee5
Pass out function terms
chris-ashe May 13, 2026
f28473d
Add CroCoCableSpaceGeometry class and refactor cable space calculatio…
chris-ashe May 14, 2026
134c025
Add TFSuperconductorLimits dataclass and refactor superconductor prop…
chris-ashe May 14, 2026
b46509e
Refactor CroCo cable geometry calculations and remove deprecated croc…
chris-ashe May 14, 2026
0b52bb0
Refactor jcrit_rebco function to return additional critical propertie…
chris-ashe May 14, 2026
bd91570
Refactor CroCo copper bar area variable and update related calculatio…
chris-ashe May 14, 2026
2d004ac
Refactor CroCo strand critical current variable and update related ca…
chris-ashe May 14, 2026
89c4786
Refactor CroCo copper area variables and update related calculations …
chris-ashe May 14, 2026
edaf02e
Rename `conductor_hastelloy_area` to `a_tf_turn_croco_hastelloy`
chris-ashe May 14, 2026
a717735
Refactor superconductor classes to add type hints and clean up unused…
chris-ashe May 14, 2026
555cc75
Update tests
chris-ashe May 14, 2026
44a59b7
Refactor output methods in TFCoil classes to use output_general_tf_in…
chris-ashe May 15, 2026
492001a
Move `e_tf_magnetic_stored_total` variable from superconducting to n…
chris-ashe May 15, 2026
5be82fe
Rename `oacdcp` to `j_tf_coil_full_area` across multiple files for cl…
chris-ashe May 15, 2026
aa39be3
Update TF coil variable descriptions for clarity and consistency
chris-ashe May 15, 2026
acb93f6
Refactor TFCoil output methods to use instance outfile and add genera…
chris-ashe May 15, 2026
ab5eaec
Post rebase changes
chris-ashe May 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
(
j_scaling[i, j],
_,
_,
_,
) = superconductors.jcrit_rebco(temp_grid[i, j], b_grid[i, j])
# Convert from A/m² to kA/mm² (1 A/m² = 1e-6 A/mm²)
j_scaling[i, j] *= 1e-9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,6 @@ WIP

WIP

### Superconductor properties | `supercon_croco()`
### Superconductor properties | `tf_croco_superconductor_properties()`

### Quench voltage | `croco_voltage()`
2 changes: 1 addition & 1 deletion process/core/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def check_process(inputs, data): # noqa: ARG001
data_structure.impurity_radiation_module.f_nd_impurity_electrons[imp]
)

# Stop the run if oacdcp is used as an optimisation variable
# Stop the run if j_tf_coil_full_area is used as an optimisation variable
# As the current density is now calculated from b_plasma_toroidal_on_axis without constraint 10

if (data_structure.numerics.ixc[: data_structure.numerics.nvar] == 12).any():
Expand Down
16 changes: 8 additions & 8 deletions process/core/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def __post_init__(self):
"copper_rrr": InputVariable(
data_structure.rebco_variables, float, range=(1.0, 10000.0)
),
"dx_hts_tape_copper": InputVariable(
"dx_tf_hts_tape_copper": InputVariable(
data_structure.rebco_variables, float, range=(0.0, 0.001)
),
"copperaoh_m2": InputVariable(
Expand Down Expand Up @@ -329,7 +329,7 @@ def __post_init__(self):
"crane_arm_h": InputVariable("buildings", float, range=(1.0, 100.0)),
"crane_clrnc_h": InputVariable("buildings", float, range=(0.0, 10.0)),
"crane_clrnc_v": InputVariable("buildings", float, range=(0.0, 10.0)),
"dx_croco_strand_copper": InputVariable(
"dx_tf_croco_strand_copper": InputVariable(
data_structure.rebco_variables, float, range=(0.001, 0.1)
),
"cryomag_h": InputVariable("buildings", float, range=(1.0, 100.0)),
Expand Down Expand Up @@ -623,7 +623,7 @@ def __post_init__(self):
"gas_buildings_w": InputVariable("buildings", float, range=(10.0, 1000.0)),
"ground_clrnc": InputVariable("buildings", float, range=(0.0, 10.0)),
"n_ecrh_harmonic": InputVariable("current_drive", float, range=(1.0, 10.0)),
"dx_hts_tape_hastelloy": InputVariable(
"dx_tf_hts_tape_hastelloy": InputVariable(
data_structure.rebco_variables, float, range=(1e-08, 0.001)
),
"hccl": InputVariable("buildings", float, range=(0.0, 10.0)),
Expand Down Expand Up @@ -740,7 +740,7 @@ def __post_init__(self):
data_structure.physics_variables, float, range=(0.0, 1e21)
),
"nflutfmax": InputVariable("constraints", float, range=(0.0, 1e24)),
"oacdcp": InputVariable(
"j_tf_coil_full_area": InputVariable(
data_structure.tfcoil_variables, float, range=(10000.0, 1000000000.0)
),
"f_a_cs_turn_steel": InputVariable(
Expand Down Expand Up @@ -846,7 +846,7 @@ def __post_init__(self):
"reactor_hall_w": InputVariable("buildings", float, range=(10.0, 1000.0)),
"reactor_roof_thk": InputVariable("buildings", float, range=(0.25, 25.0)),
"reactor_wall_thk": InputVariable("buildings", float, range=(0.25, 25.0)),
"dx_hts_tape_rebco": InputVariable(
"dx_tf_hts_tape_rebco": InputVariable(
data_structure.rebco_variables,
float,
range=(1e-08, 0.0001),
Expand Down Expand Up @@ -981,10 +981,10 @@ def __post_init__(self):
"t_turn_tf_max": InputVariable(
data_structure.tfcoil_variables, float, range=(0.0, 1.0)
),
"dx_hts_tape_total": InputVariable(
"dx_tf_hts_tape_total": InputVariable(
data_structure.rebco_variables, float, range=(0.0, 0.1)
),
"dr_hts_tape": InputVariable(
"dr_tf_hts_tape": InputVariable(
data_structure.rebco_variables, float, range=(0.0, 0.1)
),
"tauee_in": InputVariable(
Expand Down Expand Up @@ -1213,7 +1213,7 @@ def __post_init__(self):
"ccls_ma": InputVariable(data_structure.pfcoil_variables, float, array=True),
"cfind": InputVariable("costs", float, array=True),
"i_blkt_coolant_type": InputVariable("fwbs", int, choices=[1, 2]),
"coppera_m2_max": InputVariable(
"tf_coppera_m2_max": InputVariable(
data_structure.rebco_variables, float, range=(1.0e6, 1.0e10)
),
"cost_model": InputVariable("costs", int, choices=[0, 1, 2]),
Expand Down
12 changes: 6 additions & 6 deletions process/core/io/obsolete_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,12 +420,12 @@
"t_structural_vertical": "dz_cs_turn_conduit",
"t_cable_tf": "dx_tf_turn_cable_space_general",
"t_turn_tf": "dx_tf_turn_general",
"copper_thick": "dx_hts_tape_copper",
"croco_thick": "dx_croco_strand_copper",
"hastelloy_thickness": "dx_hts_tape_hastelloy",
"rebco_thickness": "dx_hts_tape_rebco",
"tape_thickness": "dx_hts_tape_total",
"tape_width": "dr_hts_tape",
"copper_thick": "dx_tf_hts_tape_copper",
"croco_thick": "dx_tf_croco_strand_copper",
"hastelloy_thickness": "dx_tf_hts_tape_hastelloy",
"rebco_thickness": "dx_tf_hts_tape_rebco",
"tape_thickness": "dx_tf_hts_tape_total",
"tape_width": "dr_tf_hts_tape",
"beta": "beta_total_vol_avg",
"beta_max": "beta_vol_avg_max",
"beta_min": "beta_vol_avg_min",
Expand Down
2 changes: 1 addition & 1 deletion process/core/io/plot/scans.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def plot_scan(
2: "pflux_div_heat_load_max_mw",
3: "p_plant_electric_net_mw",
4: "hfact",
5: "oacdcp",
5: "j_tf_coil_full_area",
6: "pflux_fw_neutron_max_mw",
7: "beamfus0",
8: "Obsolete", # OBSOLETE
Expand Down
Loading
Loading