Repository navigation
fix: the slip of a full-slip increment of the distributed friction model is unique - #11
Merged
Merged
Conversation
…del is unique With every helix node on its bound the equations of the distributed model fix the forces, the tractions and u - p, but not a slide common to u and p of all nodes: any slide that keeps every node slipping in the direction of its traction is in equilibrium and does the same friction work. The solver left one node exactly on its bound, chosen between candidate nodes at round-off, so the kept slip field and the armour slip of kinematic_history(friction_model="distributed") (slip_m from p, slipping from the step slip) could move with any round-off change: on a 32-node helix a relative change of 1e-15 in the curvature moved the full-slip slip by 12 % of the largest step slip (uniform bound), and the pitch-mean slip jumped by up to 2.7 % of the step slip between full-slip steps. The increment now takes the slide that gives the step slip a zero pitch mean, or the admissible slide nearest to it (_full_slip_slide). A uniform curvature puts no net axial force on a wire over a pitch and slides no wire as a whole; this is the convention of the pointwise laws in kinematic_history, which keep the pitch mean of the slip over a step in which no station sticks. Partial slip is unchanged. 66 kV template, kinematic_history with the distributed law, planar and rotating bending at 0.01 and 0.05 1/m, 121 and 601 samples: armour slip changes by at most 4.9 um (0.3 % of station slip amplitudes of 0.3-2.0 mm), no slipping flag changes, the pitch-mean slip no longer moves over full-slip steps, stresses and friction work change by at most 1.7e-15 relative. No validation row or documentation example output changes. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Owner
Author
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Over an increment in which every helix node slips, the distributed friction model fixes the forces, the tractions and$u - p$ , but not a slide $c$ common to $u$ and $p$ of all nodes. Any $c$ that keeps each node slipping in the direction of its traction is in equilibrium and does the same friction work, because the tractions sum to zero over the pitch.
Before this PR the solver left one node exactly on its bound, chosen between candidate nodes at round-off. So the kept slip field, and the armour slip that$p$ ,
kinematic_history(friction_model="distributed")reports from it (slip_mfromslippingfrom the step slip), could move with any round-off change.Measured on a 32-node helix:
Change
A full-slip increment now takes the slide that gives the step slip a zero pitch mean,
clamped to the admissible interval. Each node must keep slipping in the direction of its traction:$\Delta p_j + c \ge 0$ where $t_j > 0$ , and $\le 0$ where $t_j < 0$ . The new function is
_full_slip_slide, called at the end of_advance.kinematic_historyalready follow this convention: they keep the pitch mean of the slip over a step in which no station sticks.Effect
66 kV template,
kinematic_historywith the distributed law, planar and rotating bending at 0.01 and 0.05 1/m, 121 and 601 samples:No validation row and no documentation example output changes.
Checks
tests/test_distributed_slide.py(9 tests). They check:CABLEXSEC_DISABLE_NUMBA=1: 4235 passed, 114 skipped.mypy srcreports no issues in 118 files.checkandformat --checkare clean on the CI paths.dev.