← Back to list

integral-action-design
by benchflow-ai
SkillsBench evaluates how well skills work and how effective agents are at using them
⭐ 251🍴 170📅 Jan 23, 2026
SKILL.md
name: integral-action-design description: Adding integral action to MPC for offset-free tension tracking.
Integral Action for Offset-Free Control
Why Integral Action?
MPC with model mismatch may have steady-state error. Integral action eliminates offset by accumulating error over time.
Implementation
u_I = gamma * u_I - c_I * dt * (T - T_ref)
u_total = u_mpc + u_I
Where:
- u_I: Integral control term
- gamma: Decay factor (0.9-0.99)
- c_I: Integral gain (0.1-0.5 for web systems)
- dt: Timestep
Tuning Guidelines
Integral gain c_I:
- Too low: Slow offset correction
- Too high: Oscillations, instability
- Start with 0.1-0.3
Decay factor gamma:
- gamma = 1.0: Pure integral (may wind up)
- gamma < 1.0: Leaky integrator (safer)
- Typical: 0.9-0.99
Anti-Windup
Limit integral term to prevent windup during saturation:
u_I = np.clip(u_I, -max_integral, max_integral)
For R2R Systems
Apply integral action per tension section:
for i in range(num_sections):
u_I[i] = gamma * u_I[i] - c_I * dt * (T[i] - T_ref[i])
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
✓人気
GitHub Stars 100以上
+5
○最近の活動
3ヶ月以内に更新がある
0/10
✓フォーク
10回以上フォークされている
+5
○Issue管理
オープンIssueが50未満
0/5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon