Arc-Flash Energy, RK4 CT Saturation & Waveforms
brain_calc_arc_flash_ct_comtradeCompute enclosure arc-flash incident thermal energy (cal/cm2, J/cm2), arc-flash safety boundary, and PPE category across 0.208-15 kV panels, integrate nonlinear B-H current transformer flux saturation via 4th-order Runge-Kutta (RK4), synthesize asymmetric AC fault transients, and generate or parse ASCII CFG/DAT oscillographic fault records. When to use: Use for enclosure arc-flash PPE energy, nonlinear RK4 CT distortion waveforms, and fault oscillography. Do not use for: Steady-state inverse-time TCC curve grading or linear Ktd CT saturation screening -- call sodural_calc_selectivity_tcc or sodural_audit_protection_plan_physics instead. Behavior: Runs stateless, read-only empirical thermal and RK4 ODE solvers with zero side effects (HTTP rate-limited at 120 req/min/IP); invalid numeric arguments raise JSON-RPC -32602, defaulting to mode="arc_flash", 0.4 kV VCB 25 kA 0.12 s at 455 mm, includeWaveforms=false. Returns: mode, voltageKv, boltedFaultKa, arcingCurrentMaxKa, incidentEnergyCalCm2, arcFlashBoundaryMm, ppeCategory, ctSaturation, calculationTrace, and legalNotice.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "brain_calc_arc_flash_ct_comtrade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Calculation mode: arc-flash energy, RK4 CT transient, asymmetric waveform, or CFG/DAT export/parse. | arc_flash |
| cfgText | No | ASCII oscillographic configuration (.CFG) header text when mode="comtrade_parse". | |
| datText | No | ASCII oscillographic sample data (.DAT) text when mode="comtrade_parse". | |
| arcFlash | No | Enclosure arc-flash geometry, bolted fault, and clearing time parameters. | |
| ctTransient | No | Nonlinear RK4 current transformer saturation parameters. | |
| includeWaveforms | No | True to embed sample-by-sample transient waveform arrays in JSON output (defaults to false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Executed arc-flash, transient CT saturation, or waveform mode. | |
| voltageKv | No | Evaluated system line-to-line voltage in kilovolts (kV). | |
| legalNotice | No | Informational engineering compliance notice confirming SI physical scope and intellectual property rules. | |
| ppeCategory | No | Required arc-rated personal protective equipment hazard category. | |
| ctSaturation | No | Time-to-saturation, peak distortion, and error summary in ct_saturation or coupled arc_flash mode. | |
| boltedFaultKa | No | Evaluated bolted three-phase fault current in kiloamperes (kA). | |
| calculationTrace | No | Transparent audit trail detailing inputs, injected defaults, formulas, constants, principles, and assumptions. | |
| arcFlashBoundaryM | No | Safety distance boundary at 1.2 cal/cm2 in meters (m). | |
| arcFlashBoundaryMm | No | Safety distance boundary at 1.2 cal/cm2 in millimeters (mm). | |
| arcingCurrentMaxKa | No | Maximum estimated arcing fault current in kiloamperes (kA). | |
| arcingCurrentMinKa | No | Minimum estimated arcing fault current in kiloamperes (kA). | |
| incidentEnergyJCm2 | No | Incident thermal energy at working distance in J/cm2. | |
| incidentEnergyCalCm2 | No | Incident thermal energy at working distance in cal/cm2. |