Quench models (moved from #337)
@grmtrkngtn is already working on this.
Since Sep 9, 2025.
Assessment
This issue has not been assessed yet.
Description
In GitLab by @mkovari on May 25, 2017, 14:41
I have written a new coil quench model.
- The fits to the integrated heat capacity and resistance functions have been replaced.
- The resistance of the dump resistor is taken to be constant (I think) in the old model. In fact the resistance will increase as the resistor is heated. This gives a slight beneficial effect by allowing the initial value of the resistance to be reduced, thereby reducing the effective dump time constant without increasing the peak voltage to ground, which occurs at the beginning of the quench. An alternative approach is to adjust the resistance dynamically to keep the voltage constant. I have implemented both models as options:
!+ad_vars quench_model /exponential/ : switch for TF coil quench model:<UL>
!+ad_varc <LI> = 'exponential' exponential quench with constant discharge resistor
!+ad_varc <LI> = 'linear' quench with constant voltage</UL>
!+ad_varc Only applies to REBCO magnet at present
character(len=12) :: quench_model = 'exponential'
- I have implemented a delay time in the model for quench detection
!+ad_vars quench_detection_ef /0.0/ : Electric field at which TF quench is detected and discharge begins (V/m)
real(kind(1.0D0)) :: quench_detection_ef = 0D0
!+ad_vars time1 : Time at which TF quench is detected (s)
real(kind(1.0D0)) :: time1 = 0D0
if(quench_detection_ef>1d-10)then
! Two-phase quench model is used.
! Phase 1
! Value of resistivity at which detection voltage is reached
etamax = quench_detection_ef * croco_cable%copper_fraction / jwptf
Check the temperature at which this resistivity is reached....
-
Only the TF coil is considered, not the CS.
I notice that there is a database of the thermo-physical properties of solid materials at cryogenic temperature at
https://supermagnet.sourceforge.io/solids.html, including references and Fortran code.
I have implemented a new integration approach with new materials data, in subroutine quench_integral and superconductors.f90.
At the moment this is only effective for the REBCO option, but we should rewrite the other options to use these routines.
@jmorris-uk Could you have a look through the revised and expanded quench model document attached above? Thanks
@jmorris-uk Could you have a look at the code in superconductors.f90, and the relevant parts of global_variables.f90 and sctfcoil.f90?
- Dominant language
- Python
- Stars
- 71
- Forks
- 27
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 33
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ukaea/PROCESS
-
papercut
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Blocked Command Line Interface Input/Output Files
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Command Line Interface
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
papercut
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100