10000 Add a kludge to identify and avoid temp_margin failure by timothy-nunn · Pull Request #3688 · ukaea/PROCESS · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add a kludge to identify and avoid temp_margin failure #3688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

timothy-nunn
Copy link
Contributor

No description provided.

@timothy-nunn timothy-nunn marked this pull request as draft June 12, 2025 13:21
@timothy-nunn timothy-nunn linked an issue Jun 12, 2025 that may be closed by this pull request
)
# print(root_result) # Diagnostic for newton method
tmarg = t_zero_margin - thelium
if superconductors.current_density_margin(thelium, *arguments) < 0:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn m B9BA ore.

Suggested change
if superconductors.current_density_margin(thelium, *arguments) < 0:
if superconductors.current_density_margin(1e-6, *arguments) < 0:

??

@timothy-nunn timothy-nunn self-assigned this Jun 12, 2025
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 38.13%. Comparing base (84ea827) to head (47faa72).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
process/superconducting_tf_coil.py 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3688      +/-   ##
==========================================
- Coverage   38.13%   38.13%   -0.01%     
==========================================
  Files          88       88              
  Lines       22470    22471       +1     
==========================================
  Hits         8570     8570              
- Misses      13900    13901       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Newton solve crashing when calculating t_zero_margin
2 participants
0