Hvac control

From XuShuwenn/RedAct · View interactive version

Hvac control is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Implement PID temperature controller for HVAC system to maintain 22.0C with specific performance requirements.

How to use this skill

Skill file

HVAC Temperature Controller

When to Use

Targets

Workflow

  1. Calibration: Run test (30+ seconds, 20+ data points) → calibration_log.json
  2. Parameter Estimation: Fit thermal model (K, tau) → estimated_params.json
  3. Gain Tuning: Calculate Kp, Ki, Kd → tuned_gains.json
  4. Closed-loop Control: Run to 22.0°C → control_log.json + metrics.json
  1. Verification & Finalization: Confirm the control run finished end-to-end; inspect estimated_params.json, tuned_gains.json, control_log.json, and metrics.json directly; compare every item in Targets against observed values using the original metric definitions; cross-check key requirements against the raw trajectory when needed; and only then report success or emit any exact runtime/task-specified completion token.

If any required metric fails, continue tuning and rerun or explicitly report the unmet requirement. If 2-3 retuning attempts produce the same failing pattern (especially settling time or oscillation), stop sweeping one gain knob and change the design: add measurement filtering, strengthen anti-windup, or switch tuning/control structure.

Execution Discipline

Execution Discipline

Model

First-order thermal system:

Output Files

Tips

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.