ukaea / PROCESS

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.
https://ukaea.github.io/PROCESS/
MIT License
36 stars 11 forks source link

[BUG] KeyError and Kernel dies for regression test files #3289

Open JaeBeom1019 opened 3 months ago

JaeBeom1019 commented 3 months ago

Dear Team,

Thank you for your prompt response to #3284; it is greatly appreciated.

I am currently testing other examples located in the /tests/regression/input_files directory. However, I encountered some issues while running the st_regression.IN.DAT and stellarator.IN.DAT files. I wanted to bring these to your attention and seek your guidance.

st_regression.IN.DAT file: I received a KeyError message after I tied to plot summary. Please see the attached screenshot for reference. image

stellarator.IN.DAT file: The Jupyter notebook kernel crashes every time I attempt to run this file. Additionally, I would like to clarify whether I need to load the stellarator.stella_conf.json file to execute stellarator.IN.DAT.

Here's a snippet of the code where the kernel dies

input_rel= "Path_to_stellarator"
temp_dir, temp_input_path = copy_to_temp_dir(input_rel)
single_run = SingleRun(str(temp_input_path))
single_run.run()  # Kernel crashes here!!!

I would greatly appreciate any assistance or insights you can provide on these matters.

Thank you once again for your support.

timothy-nunn commented 3 months ago

Dear @JaeBeom1019,

Thank you for raising this issue. The Stellarator input file is unfortunately not working at the moment. We hope to fix this soon in #3245. I will look at the key errors for the ST input file.

The Stellarator input file runs until it hits the maximum iteration limit, thus does not produce a useful MFile. I suspect that when this runs on the Jupyter kernel this results in the kernel dying.

Thank you again, and I will update you when the input file works again, Tim