跳到正文
cccskills
免费在 GitHub 公开

integral-action-design

Adding integral action to MPC for offset-free tension tracking.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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])

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Redact text from PDF documents for blind review anonymization

中文简介正在准备中。当前显示原文说明。

agentscope-ai/PawBench1192026年8月3日 更新

Use this skill when reading sensor data from CSV files, writing simulation results to CSV, processing time-series data with pandas, or handling missing values in datasets.

中文简介正在准备中。当前显示原文说明。

agentscope-ai/PawBench1192026年8月3日 更新

DC power flow analysis for power systems. Use when computing power flows using DC approximation, building susceptance matrices, calculating line flows and loading percentages, or performing sensitivity analysis on transmission networks.

中文简介正在准备中。当前显示原文说明。

agentscope-ai/PawBench1192026年8月3日 更新

A library for building, validating, visualizing, and serializing dialogue graphs. Use this when parsing scripts or creating branching narrative structures.

中文简介正在准备中。当前显示原文说明。

agentscope-ai/PawBench1192026年8月3日 更新

docx

免费

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of "Word doc", "word document", ".docx", or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a "report", "memo", "letter", "template", or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

中文简介正在准备中。当前显示原文说明。

agentscope-ai/PawBench1192026年8月3日 更新

Generator economic dispatch and cost optimization for power systems. Use when minimizing generation costs, computing optimal generator setpoints, calculating operating margins, or working with generator cost functions.

中文简介正在准备中。当前显示原文说明。

agentscope-ai/PawBench1192026年8月3日 更新

查看 agentscope-ai 的全部技能

报告此技能的问题