Skip to content

🐛 Cannot --full-output ST regression tests #4464

Description

@timothy-nunn

The following error occurs when trying to run either the optimising or eval ST regression tests:

Traceback (most recent call last):
  File "/Users/tnunn/Codes/PROCESS/.venv/bin/process", line 6, in <module>
    sys.exit(process_cli())
  File "/Users/tnunn/Codes/PROCESS/.venv/lib/python3.10/site-packages/click/core.py", line 1514, in __call__
    return self.main(*args, **kwargs)
  File "/Users/tnunn/Codes/PROCESS/.venv/lib/python3.10/site-packages/click/core.py", line 1435, in main
    rv = self.invoke(ctx)
  File "/Users/tnunn/Codes/PROCESS/.venv/lib/python3.10/site-packages/click/core.py", line 1880, in invoke
    rv = super().invoke(ctx)
  File "/Users/tnunn/Codes/PROCESS/.venv/lib/python3.10/site-packages/click/core.py", line 1298, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/tnunn/Codes/PROCESS/.venv/lib/python3.10/site-packages/click/core.py", line 853, in invoke
    return callback(*args, **kwargs)
  File "/Users/tnunn/Codes/PROCESS/.venv/lib/python3.10/site-packages/click/decorators.py", line 34, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/tnunn/Codes/PROCESS/process/main.py", line 241, in process_cli
    plot_summary(mfile_path)
  File "/Users/tnunn/Codes/PROCESS/process/core/io/plot/summary.py", line 16581, in plot_summary
    pages_of_plots = main_plot(
  File "/Users/tnunn/Codes/PROCESS/process/core/io/plot/summary.py", line 16273, in main_plot
    plot_quench_time_evolution(
  File "/Users/tnunn/Codes/PROCESS/process/core/io/plot/summary.py", line 14980, in plot_quench_time_evolution
    ) * calculate_quench_protection_current_density(
  File "/Users/tnunn/Codes/PROCESS/process/models/tfcoil/quench.py", line 539, in calculate_quench_protection_current_density
    i_he, i_cu, i_sc = _quench_integrals(
  File "/Users/tnunn/Codes/PROCESS/process/models/tfcoil/quench.py", line 392, in _quench_integrals
    ihe_i, icu_i, isc_i = _quench_integrand_at_temperature(
  File "/Users/tnunn/Codes/PROCESS/process/models/tfcoil/quench.py", line 334, in _quench_integrand_at_temperature
    ihe_integrand = he_properties.specific_heat_const_p * he_properties.density / nu_cu
  File "/Users/tnunn/Codes/PROCESS/process/core/coolprop_interface.py", line 38, in specific_heat_const_p
    return _specific_heat_const_p(self._coolprop_inputs)
  File "/Users/tnunn/Codes/PROCESS/process/core/coolprop_interface.py", line 127, in _specific_heat_const_p
    return PropsSI("C", *coolprop_inputs)
  File "CoolProp/CoolProp.pyx", line 491, in CoolProp.CoolProp.PropsSI
  File "CoolProp/CoolProp.pyx", line 571, in CoolProp.CoolProp.PropsSI
  File "CoolProp/CoolProp.pyx", line 458, in CoolProp.CoolProp.__Props_err2
ValueError: Inputs in Brent [15700.120670,40108.760765] do not bracket the root.  Function values are [-5.515390,-18.843815] : PropsSI("C","T",0.6557294004,"P",600000,"He")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions