First order pi thermal control

From XuShuwenn/RedAct · View interactive version

First order pi thermal control is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Design, tune, and verify a PI controller for first-order thermal systems using calibration data, simple model identification, and noise-robust performance metrics.

How to use this skill

Skill file

Model-Based PI Control for Thermal Systems

This skill provides a reusable workflow to implement a temperature controller for single-zone HVAC-like systems. It covers: running a calibration step test, estimating a first-order model, computing PI gains with a closed-loop time constant target, implementing a safe controller with anti-windup, and evaluating performance with noise-robust metrics.

Use this when you need to: 1) identify simple thermal dynamics from a step test, 2) tune a PI controller for setpoint tracking, and 3) satisfy constraints on steady-state error, settling time within a specified band, overshoot, control duration, and maximum temperature.

When to Use

Core Workflow

  1. Inspect the environment
  1. Calibration (open-loop step test)
  1. Parameter estimation (first-order model)
  1. Controller tuning (PI)
  1. Closed-loop control implementation
  1. Performance evaluation (noise-robust)
  1. Iterate if needed

Verification

Common Pitfalls and How to Avoid Them

Optional Script Usage

Success Criteria (example set)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.