Skip to content
Open
Changes from all commits
Commits
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
3 changes: 1 addition & 2 deletions process/models/stellarator/build.py

@timothy-nunn timothy-nunn Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to clarify to anyone reviewing what was going on here. Before this change the calculation for available radial space was essentially:

data.build.available_radial_space = (
    data.stellarator.r_coil_minor * data.stellarator.f_coil_shape
    - data.physics.rminor
)

This bit of code was not doing anything and it was not changing the available_radial_space.

+data.stellarator_config.stella_config_derivative_min_lcfs_coils_dist * (
    data.physics.rminor
    - data.stellarator.f_st_rmajor * data.stellarator_config.stella_config_rminor_ref
)

It would be good for someone with stellarator knowledge to confirm that this was a mistake @jjwalkowiak @grmtrkngtn

Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ def st_build(stellarator, f_output: bool, data: DataStructure):
data.build.available_radial_space = (
data.stellarator.r_coil_minor * data.stellarator.f_coil_shape
- data.physics.rminor
)
+data.stellarator_config.stella_config_derivative_min_lcfs_coils_dist * (
) + data.stellarator_config.stella_config_derivative_min_lcfs_coils_dist * (
data.physics.rminor
- data.stellarator.f_st_rmajor * data.stellarator_config.stella_config_rminor_ref
)
Expand Down
Loading