Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

thermal-analysis

БесплатноБез исполняемых скриптовНе проверен

Electronic system thermal modeling and analysis skill for junction temperature calculation, heat sink selection, thermal resistance networks, and safe…

a5c-aiот a5c-ai★ 1 947 звёзд на GitHub

Об этом скилле

Thermal Analysis Skill

Electronic system thermal modeling and analysis for reliable component operation.

Purpose

This skill provides comprehensive capabilities for thermal analysis of electronic systems, from component-level junction temperature calculations to system-level thermal management design. It supports heat sink selection, thermal interface material evaluation, and safe operating area verification.

Capabilities

Junction-to-Ambient Thermal Resistance

  • Thermal resistance network modeling
  • Junction-to-case (theta_jc) calculations
  • Case-to-sink (theta_cs) with TIM analysis
  • Sink-to-ambient (theta_sa) characterization
  • Total thermal path analysis

Heat Sink Selection and Optimization

  • Natural convection heat sink sizing
  • Forced convection performance estimation
  • Fin optimization for given constraints
  • Heat sink comparison and selection
  • Custom heat sink specification
  • Mounting and interface considerations

Forced Convection Analysis

  • Fan airflow requirements calculation
  • Pressure drop through enclosures
  • Flow impedance matching
  • Thermal resistance vs airflow curves
  • Fan operating point determination

PCB Thermal Analysis

  • Copper spreading resistance calculation
  • Via thermal conductivity
  • Multi-layer board thermal modeling
  • Hot spot identification
  • Thermal relief pad analysis

Thermal Interface Material Selection

  • TIM thermal conductivity requirements
  • Contact resistance estimation
  • Phase change vs thermal grease vs gap pads
  • Bond line thickness effects
  • Long-term reliability considerations

Transient Thermal Analysis

  • Thermal time constant determination
  • Pulse power handling
  • Foster and Cauer RC network models
  • Transient thermal impedance curves
  • Peak temperature prediction

Safe Operating Area Verification

  • SOA curve interpretation
  • DC and pulsed operation limits
  • Secondary breakdown considerations
  • Thermal runaway detection
  • Derating for reliability

Derating Curve Application

  • Temperature-based power derating
  • Maximum junction temperature limits
  • Reliability vs performance tradeoffs
  • Component-specific derating guidelines

CFD Simulation Setup Guidance

  • Boundary condition definition
  • Mesh requirements for electronics
  • Turbulence model selection
  • Radiation modeling considerations
  • Results validation approaches

Prerequisites

Installation

pip install numpy scipy matplotlib pandas

Optional Dependencies

# For advanced thermal modeling
pip install CoolProp  # Fluid properties

# For optimization
pip install scipy

# For visualization
pip install plotly

Usage Patterns

Thermal Resistance Network Analysis

import numpy as np
from dataclasses import dataclass
from typing import List, Optional

@dataclass
class ThermalComponent:
    """Represents a thermal resistance element"""
    name: str
    theta: float  # Thermal resistance (C/W)
    power: float = 0.0  # Power dissipation (W)

class ThermalNetwork:
    """1D thermal resistance network for electronics"""

    def __init__(self):
        self.components: List[ThermalComponent] = []
        self.ambient_temp = 25.0  # Celsius

    def add_resistance(self, name: str, theta: float, power: float = 0.0):
        self.components.append(ThermalComponent(name, theta, power))

    def calculate_temperatures(self, total_power: float) -> dict:
        """Calculate temperature at each node"""
        temperatures = {'ambient': self.ambient_temp}
        current_temp = self.ambient_temp

        # Work from ambient back to junction
        for comp in reversed(self.components):
            delta_t = total_power * comp.theta
            current_temp += delta_t
            temperatures[comp.name] = current_temp

        return temperatures

    def total_thermal_resistance(self) -> float:
        return sum(c.theta for c in self.components)

    def max_power_for_tj(self, tj_max: float) -> float:
        """Calculate max power for given junction temperature"""
        theta_ja = self.total_thermal_resistance()
        return (tj_max - self.ambient_temp) / theta_ja

# Example: MOSFET thermal analysis
network = ThermalNetwork()
network.ambient_temp = 40.0  # Elevated ambient

# Add thermal path components
network.add_resistance('theta_jc', 0.5)   # Junction to case
network.add_resistance('theta_cs', 0.2)   # Case to sink (TIM)
network.add_resistance('theta_sa', 2.0)   # Sink to ambient

# Calculate temperatures
power = 50.0  # Watts
temps = network.calculate_temperatures(power)
print(f"Junction temperature: {temps['theta_jc']:.1f}C")
print(f"Case temperature: {temps['theta_cs']:.1f}C")
print(f"Sink temperature: {temps['theta_sa']:.1f}C")

# Maximum power calculation
tj_max = 150.0  # Maximum junction temp from datasheet
max_power = network.max_power_for_tj(tj_max)
print(f"Maximum power at Tambient={network.ambient_temp}C: {max_power:.1f}W")

Heat Sink Selection

import numpy as np

class HeatSinkCalculator:
Полный SKILL.md на GitHub

Установить thermal-analysis в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Write
Bash
Edit
Glob

FAQ

Что делает скилл thermal-analysis?

Electronic system thermal modeling and analysis skill for junction temperature calculation, heat sink selection, thermal resistance networks, and safe operating area verification.

Как установить скилл thermal-analysis?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл thermal-analysis запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить thermal-analysis с