@timothy-nunn and I found that constraint 17 was no longer behaving as expected after #4299. In #4406 a temporary fix has been added to revert constraint 17 back to it's working state: > Reverts constraint 17 to pre-#4299. > > The issue is that constraint 17 used to be formatted as > > https://github.com/ukaea/PROCESS/blob/a68bb7f9af7774ad4b0cd5663bc9fa576c429ee5/process/core/solver/constraints.py#L594-L605 > > Importantly, it used `pden_plasma_rad_mw`. Now, the constraint uses `f_p_plasma_separatrix_rad` which is calculated as > > https://github.com/ukaea/PROCESS/blob/024a2f2e5a9ac750132f6ed010cbe03a34351916/process/models/physics/physics.py#L1037-L1042 > > However this uses `p_plasma_rad_mw` which also includes the SOL radiation > > https://github.com/ukaea/PROCESS/blob/a68bb7f9af7774ad4b0cd5663bc9fa576c429ee5/process/models/stellarator/stellarator.py#L2170 > > which is never accounted for in pden_plasma_rad_mw. This changed the constraint, making the problem harder to solve, and led to constant failures when running the `stellarator-helias` test. > > The diffs in the `stellarator-helias` test should revert it back to [this file](https://github.com/timothy-nunn/process-tracking-data/blob/master/stellarator_helias_MFILE_a68bb7f9af7774ad4b0cd5663bc9fa576c429ee5.DAT). > > Thanks @clmould for identifying constraint 17 was the problem! This needs to be investigated by people with stellarator knowledge - was constraint 17 wrong all along? Does something need to change in the stellarator? Or with the new format of constraint 17? @grmtrkngtn