engineering.ac_impedance
Calculate AC impedance magnitude and phase for series or parallel resistor, inductor, and capacitor networks using frequency and component values.
Instructions
R, L, C 조합의 AC 합성 임피던스 크기와 위상각을 구한다. frequency(Hz, 0 초과), resistance(Ω), inductance(H), capacitance(F)는 0 이상 Decimal 문자열이고 topology='series' 또는 'parallel'. 반환: magnitude(Ω), phase_deg(도), real, imag. 값 0은 그 소자가 없다는 뜻이며 단락이나 0 용량이 아니다. 병렬에서 소자를 모두 생략하면 오류.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topology | No | series | |
| frequency | Yes | ||
| inductance | No | 0 | |
| resistance | No | 0 | |
| capacitance | No | 0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imag | Yes | ||
| real | Yes | ||
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| magnitude | Yes | ||
| phase_deg | Yes |