# Orcaflex Mooring Iteration Scipy Method

> Sub-skill of orcaflex-mooring-iteration: Scipy Method (+2).

- Skill: `vamseeachanta/orcaflex-mooring-iteration-scipy-method` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/orcaflex-mooring-iteration-scipy-method`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/orcaflex-mooring-iteration-scipy-method/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/orcaflex-mooring-iteration-scipy-method

---


# Scipy Method (+2)

## Scipy Method


```
1. Define objective function: residual = current_tension - target_tension
2. Optimization variables: line lengths
3. scipy.optimize.fsolve minimizes residuals
4. Length changes distributed across sections proportionally
```

## Newton-Raphson Method


```
1. Calculate Jacobian: J[i,j] = ∂T_i/∂L_j
2. Calculate residuals: r_i = T_current_i - T_target_i
3. Solve: J × ΔL = -r
4. Update: L_new = L_old + damping × ΔL
5. Repeat until convergence
```

## EA-Based Method


```
1. From catenary theory: ΔL ≈ ΔT × L / EA
2. Calculate tension error: ΔT = T_current - T_target
3. Calculate length change: ΔL = ΔT × L / EA
4. Apply with damping
5. Repeat until convergence
```

