Skip to content

fix: settle the static start of a lightly loaded Syrope rope - #190

Merged
SMI-Lab-Inha merged 1 commit into
devfrom
fix/syrope-static-start
Nov 25, 2026
Merged

SMI-Lab-Inha merged 1 commit into
devfrom
fix/syrope-static-start

Conversation

@SMI-Lab-Inha

Copy link
Copy Markdown
Owner

Summary

A Syrope line with a SYROPE IC history whose Tmax0 lies well above the installed tension could fail to start with "the static secant EA of the Syrope elements of LINE n did not converge in 50 iterations". The iteration was converging, only too slowly.

Cause

Each Syrope element starts from a secant EA iterated to its rest curve, and one update contracts by 1 - secant/tangent. For a lightly loaded rope the secant is a fifth or less of the tangent along the whole line, so all elements contract slowly together. The existing acceleration works element by element and cannot see the strain the elements share.

Implementation

  • From iteration 30 on, line_step combines the last six solves of the whole line into the secants that minimise the relative residual of the tension update (Anderson acceleration, least squares by modified Gram-Schmidt, dependent differences left out).
  • The step is used only while every secant stays within half to twice the newest one. Otherwise the element steps stand.
  • Convergence is still tested on the unmodified tension update.
  • A line that settles in fewer than 30 iterations is unchanged.

Checks

  • New case 9 of syrope_composite: a 644 m, 60-element rope on a linear working curve at four past tensions. Without the change three of the four fail. With it every element sits on its rest curve to better than 1e-9.
  • Fast tier: 347 of 347. Syrope and linearisation tests: 29 of 29. Debug build with run-time checks: the Syrope tests that were built pass.
  • The outputs of the three shipped Syrope examples are identical to those of the unmodified program.

A Syrope line starts from per-element secant stiffnesses iterated to the
rest curve. Each update contracts by 1 - secant/tangent. A rope whose
rest tension is a small part of its past one (a SYROPE IC Tmax0 well
above the installed tension) has secants far below the tangent along the
whole line, so every element contracts slowly at once, and the element
steps cannot see the strain the elements share. The start then ran out
of its 50 iterations: a 644 m rope stopped at 1.2e-10 against 1e-10.

From iteration 30 on, the next secants are the combination of the last
six solves of the whole line that minimises the relative residual of the
tension update (Anderson acceleration), kept only while every secant
stays within half to twice the newest one; otherwise the element steps
stand. Convergence is still tested on the unmodified tension update, and
a line that settles in fewer iterations is unchanged.

The regression case is a 60-element rope on a linear working curve at
four past tensions. Three of them fail without the change.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
@SMI-Lab-Inha

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T08:16:44.678728Z 5aa09ff Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 CableDyn | 🛠️ Build #36154079 | 📁 Comparing 5aa09ff against latest (ac5809f)

  🔍 Preview build  

1 file changed
± changelog.html

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 5aa09ff1b1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@SMI-Lab-Inha
SMI-Lab-Inha merged commit e1bf61f into dev Nov 25, 2026
16 checks passed
@SMI-Lab-Inha
SMI-Lab-Inha deleted the fix/syrope-static-start branch November 30, 2026 01:51
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.

1 participant