orcaflex-mooring-iteration
Iterate mooring line lengths to achieve target pretensions using scipy optimization, Newton-Raphson, or EA-based methods. Use for mooring system design, pretension optimization, and CALM/SALM buoy configuration.
Best use case
orcaflex-mooring-iteration is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Iterate mooring line lengths to achieve target pretensions using scipy optimization, Newton-Raphson, or EA-based methods. Use for mooring system design, pretension optimization, and CALM/SALM buoy configuration.
Teams using orcaflex-mooring-iteration should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/mooring-iteration/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How orcaflex-mooring-iteration Compares
| Feature / Agent | orcaflex-mooring-iteration | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Iterate mooring line lengths to achieve target pretensions using scipy optimization, Newton-Raphson, or EA-based methods. Use for mooring system design, pretension optimization, and CALM/SALM buoy configuration.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Orcaflex Mooring Iteration
## When to Use
- Achieving target mooring line pretensions
- Optimizing line lengths for design loads
- CALM/SALM buoy mooring configuration
- Spread mooring system design
- Turret mooring optimization
- Multi-line tension balancing
- Mooring system verification
## Prerequisites
- OrcaFlex license (for simulation)
- Python environment with `digitalmodel` package installed
- Initial mooring model (close to target configuration)
- Target pretensions for each line
## Python API
### Basic Usage
```python
from digitalmodel.orcaflex.mooring_tension_iteration import (
MooringTensionIterator,
IterationConfig,
LineConfig,
ConvergenceConfig
)
# Define configuration
config = IterationConfig(
*See sub-skills for full details.*
### With Vessel Fixing
```python
from digitalmodel.orcaflex.mooring_tension_iteration import (
MooringTensionIterator,
IterationConfig,
VesselConfig
)
config = IterationConfig(
method="scipy",
vessel_config=VesselConfig(
*See sub-skills for full details.*
### Convergence Monitoring
```python
# After iteration
result = iterator.iterate_to_targets()
# Access convergence history
for i, error in enumerate(result.convergence_history):
print(f"Iteration {i+1}: Max error = {error:.2f}%")
# Plot convergence
import matplotlib.pyplot as plt
*See sub-skills for full details.*
### Generate Report
```python
# Generate comprehensive report
report = iterator.generate_report(output_path="iteration_report.txt")
print(report)
# Report includes:
# - Configuration summary
# - Target vs achieved tensions
# - Length modifications
# - Convergence history
```
## Related Skills
- [orcaflex-modeling](../orcaflex-modeling/SKILL.md) - Run OrcaFlex simulations
- [mooring-design](../mooring-design/SKILL.md) - Design mooring systems
- [orcaflex-line-wizard](../orcaflex-line-wizard/SKILL.md) - Configure line properties
- [catenary-riser](../catenary-riser/SKILL.md) - Catenary analysis
## References
- OrcaFlex Line Setup Wizard: Orcina Documentation
- API RP 2SK: Design and Analysis of Stationkeeping Systems
- DNV-OS-E301: Position Mooring
- Source: `src/digitalmodel/modules/orcaflex/mooring_tension_iteration/`
- Tests: `tests/modules/orcaflex/mooring-tension-iteration/`
## Sub-Skills
- [Basic Configuration (+1)](basic-configuration/SKILL.md)
- [Initial Model (+2)](initial-model/SKILL.md)
## Sub-Skills
- [Error Handling](error-handling/SKILL.md)
## Sub-Skills
- [Version Metadata](version-metadata/SKILL.md)
- [[1.0.0] - 2026-01-17](100-2026-01-17/SKILL.md)
- [1. Scipy Optimization (Recommended) (+2)](1-scipy-optimization-recommended/SKILL.md)
- [Scipy Method (+2)](scipy-method/SKILL.md)
- [Iteration Result (+1)](iteration-result/SKILL.md)
- [With Mooring Design (+1)](with-mooring-design/SKILL.md)Related Skills
OrcaFlex Specialist Skill
```yaml
orcaflex-reporting-fixture-proof-pattern
Build and extend fixture-backed OrcaFlex reporting proof paths in digitalmodel using stable metadata baselines, normalized HTML snapshots, and reusable reporting test helpers.
digitalmodel-orcawave-orcaflex-proof-workflows
Class-level digitalmodel OrcaWave/OrcaFlex readiness, semantic-proof, fixture-proof, and closeout workflows.
orcawave-orcaflex-readiness-audit
Audit the real readiness of digitalmodel OrcaWave/OrcaFlex spec-driven workflows by reconciling workspace-hub issues, source/tests, semantic-equivalence boundaries, and wiki synthesis gaps.
batch-syntax-fix-regex-iteration
Iteratively fix widespread syntax errors across many files using regex refinement when initial patterns fail
digitalmodel-orcawave-orcaflex-workflow
Current-state workflow for navigating and extending digitalmodel OrcaWave/OrcaFlex capabilities across code, tests, issues, queue tooling, and licensed-machine boundaries.
orcawave-orcaflex-semantic-proof-wave-closeout
Close out an OrcaWave/OrcaFlex semantic-proof wave after a PR merges, split unrelated CI blockers, and seed the next semantic-proof issue wave without duplicating existing issues.
orcawave-to-orcaflex
Integration specialist for converting OrcaWave diffraction results to OrcaFlex vessel types. Handles hydrodynamic database generation, RAO import, viscous damping addition, and coordinate system transformations.
orcaflex-yaml-gotchas
Production-proven OrcaFlex YAML traps and solutions covering dormant properties, boolean mismatches, section ordering, Pydantic integration, and section name aliases.
orcaflex-visualization
Generate visualizations from OrcaFlex and OrcaWave simulations using the shared OrcFxAPI — model views (SaveModelView), time series plots, range graphs, and interactive HTML reports. Covers both .dat/.sim (OrcaFlex) and .owd (OrcaWave) files via the same API surface.
orcaflex-vessel-setup
Configure 6-DOF vessels in OrcaFlex with hydrodynamic properties, RAO import from AQWA, and vessel type creation. Covers initial position, orientation, calculation settings, and motion options.
orcaflex-static-debug
Troubleshoot and resolve OrcaFlex static analysis convergence issues. Diagnose common problems including line connectivity, tensions, environmental conditions, and numerical instabilities.