Wardn Hub
MCP ServersSkillsCategoriesAPI docsSubmit server
Submit server
Wardn HubTrusted MCP server directory.

Registry

  • MCP Servers
  • Skills
  • Categories

Resources

  • API docs
  • Score method

Contribute

  • Submit server
  • Advertise
© 2026 Wardn Hub
Wardn Hub
MCP ServersSkillsCategoriesAPI docsSubmit server
Submit server
skills/benchflow-ai/skillsbench/tasks-r2r-mpc-control-environment-skills-mpc-horizon-tuning

tasks-r2r-mpc-control-environment-skills-mpc-horizon-tuning

1
benchflow-ai/skillsbench·Audit pending·Snapshot 08fb656cd1d2

Summary

This source did not publish a separate summary. Review SKILL.md before using the skill.

SKILL.md

MPC Tuning for Tension Control

Prediction Horizon Selection

Horizon N affects performance and computation:

  • Too short (N < 5): Poor disturbance rejection
  • Too long (N > 20): Excessive computation
  • Rule of thumb: N ≈ 2-3× settling time / dt

For R2R systems with dt=0.01s: N = 5-15 typical

Cost Matrix Design

State cost Q: Emphasize tension tracking

Q_tension = 100 / T_ref²  # High weight on tensions
Q_velocity = 0.1 / v_ref²  # Lower weight on velocities
Q = diag([Q_tension × 6, Q_velocity × 6])

Control cost R: Penalize actuator effort

R = 0.01-0.1 × eye(n_u)  # Smaller = more aggressive

Trade-offs

Higher QEffect
Faster trackingMore control effort
Lower steady-state errorMore aggressive transients
Higher REffect
Smoother controlSlower response
Less actuator wearHigher tracking error

Terminal Cost

Use LQR solution for terminal cost to guarantee stability:

P = solve_continuous_are(A, B, Q, R)

Related skills

testing-python
13f-analyzer
Automatic Speech Recognition (ASR)
Multimodal Fusion for Speaker Diarization
Speaker Clustering Methods