PROCESS is a systems code at UKAEA that calculates in a self-consistent manner the parameters of a fusion power plant with a specified performance, ensuring that its operating limits are not violated, and with the option to optimise to a given function of these parameters.
supercon subroutine is producing sometimes an infinity in the output variable "tmarg" (the only abnormal value I could find was a high te)
The value is originated inside the "solve_for_tmarg" loop, which uses the Newton-Raphson method for the calculation. If it is meaningful I would suggest to explore changing it by a bracketing method.
In GitLab by @jcrivas on Jun 22, 2017, 11:45
supercon subroutine is producing sometimes an infinity in the output variable "tmarg" (the only abnormal value I could find was a high te)
The value is originated inside the "solve_for_tmarg" loop, which uses the Newton-Raphson method for the calculation. If it is meaningful I would suggest to explore changing it by a bracketing method.