API & MCP

Everything a person can do on Ohmforge Thermal Calculator: Junction, Heatsink, Board Map, Fan & Duct, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Ohmforge Thermal Calculator: Junction, Heatsink, Board Map, Fan & Duct

Five thermal estimates for electronics. Junction: the junction, case and heatsink temperatures from the power and the thermal resistances θJC, θCS and θSA (or θJA), with an optional parallel path through the board, the margin to Tj,max and the heatsink θSA you need. Heatsink: θSA of a plate-fin heatsink in still air from its dimensions, with fin efficiency and the optimum fin gap. Plate and board: a 2-D steady temperature map of a plate or of an Ohmforge board model whose parts have a power, from in-plane conduction (FR-4 and copper layers) and convection on both faces, with the temperature under every part. Fan & duct: the airflow a heat load needs, the pressure drop of the air path (ducts, fittings, filters, a ducted heatsink), the operating point of one or several fans from datasheet points, fan laws for another speed and the forced-convection coefficient over a board. Same engine as the Thermal tab of Ohmforge’s Circuit calculators; estimates, not certified engineering.

Inputs of Ohmforge Thermal Calculator: Junction, Heatsink, Board Map, Fan & Duct
FieldTypeDefaultDescription
modeselect (junction, heatsink, plate, board, fan)"junction"Calculation
powerWnumber—Power. Junction and heatsink: the heat the part dissipates.
ambientCnumber25Ambient temperature. Air around the part, heatsink or board (inside the enclosure, not the room).
tjMaxCnumber—Maximum junction temperature. Junction: from the datasheet (often 125 or 150 °C); gives the margin and the θSA needed.
thetaJCnumber—θJC junction to case. Junction: datasheet value. Heatsink: optional, to report the junction temperature too.
thetaCSnumber—θCS case to heatsink (interface). Thermal pad, grease or insulating washer: typically 0.1–1 K/W for TO-220.
thetaSAnumber—θSA heatsink to ambient. Junction: the heatsink datasheet value (or the result of the heatsink mode). Leave empty for a part without a heatsink and enter θJA.
thetaJAnumber—θJA junction to ambient (no heatsink). Junction without a heatsink: the datasheet value, measured on a JEDEC test board.
thetaJBnumber—θJB junction to board (parallel path). Optional second path through the leads and the board; needs θBA.
thetaBAnumber—θBA board to ambient. Optional: how well the board area around the part sheds heat (a board temperature map gives an estimate: rise ÷ power).
baseWidthMmnumber—Heatsink width (across the fins)
baseLengthMmnumber—Fin length (vertical, along the air flow)
baseThicknessMmnumber5Base thickness
finHeightMmnumber—Fin height
finThicknessMmnumber—Fin thickness
finCountinteger—Number of fins
conductivitynumber200Material conductivity. Heatsink or plate material: aluminium alloys 150–210, copper 390, steel 50, FR-4 0.3.
emissivitynumber0.8Surface emissivity. Heatsink radiation: anodised or painted about 0.8, bare aluminium about 0.1; 0 ignores radiation.
widthMmnumber—Plate width
heightMmnumber—Plate height
thicknessMmnumber1.6Plate thickness
sourcestextarea—Heat sources on the plate. Plate mode: one source per line — name x y width depth power (centre and size in mm from the lower-left corner, power in W).
boardtextarea—Board model (JSON). Board mode: the board of Ohmforge’s Board & enclosure dialog (format ohmforge-board) with powerW (W) on the parts that get warm. The outline, thickness and part footprints come from it.
copperLayersinteger2Copper layers. Board mode: number of copper layers (planes spread heat best).
copperUmnumber35Copper thickness per layer. 35 µm = 1 oz/ft², 70 µm = 2 oz.
copperCoveragenumber50Copper coverage. Board mode: average share of each layer covered by copper (pours and planes high, signal layers low).
hTopnumber10Convection coefficient, top face. Still air with radiation about 5–15, a fan 20–100.
hBottomnumber10Convection coefficient, bottom face
clampEdgeselect (none, left, right, bottom, top, left-right)"none"Clamped edge. An edge held at a fixed temperature, e.g. clamped to a chassis or cold plate.
clampCnumber—Clamp temperature. Default: the ambient temperature.
gridCellsinteger60Grid cells along the longer side. Finer grids resolve hot spots better; 60 is a good default.
airRiseKnumber10Allowed air temperature rise. Fan & duct: outlet minus inlet air temperature; with the power it sets the airflow needed, Q = P/(ρ·cp·ΔT).
altitudeMnumber0Altitude. Fan & duct: thinner air carries less heat and the fan makes less pressure.
fanCurvetextarea—Fan curve (datasheet points). Fan & duct: one point per line — flow and static pressure in the units below, from shut-off (flow 0) to free delivery (pressure 0).
flowUnitselect (m3h, cfm, ls)"m3h"Flow unit
pressureUnitselect (Pa, inH2O, mmH2O)"Pa"Pressure unit
fanCountinteger1Number of identical fans
fanArrangementselect (parallel, series)"parallel"Several fans
speedRationumber1Speed ratio (new speed ÷ datasheet speed). Fan laws: flow ∝ speed, pressure ∝ speed²; for example 0.7 for a fan slowed to 70 % by PWM.
systemtextarea—Air path (one component per line). Fan & duct, lengths in mm: duct L=300 d=80 (or w=… h=…, rough=0.0015 mm) · fitting elbow90 | elbow90-mitred | elbow45 | entrance | bellmouth | exit | tee | fan-guard | K=0.8 (n=2 for several) · perforated open=50 · filter, grille, guard dp=30 at=50 (Pa at a rated flow from the datasheet) · heatsink w=100 h=30 L=100 fins=12 t=1.5 (fully ducted).
frictionselect (colebrook, swamee-jain)"colebrook"Turbulent friction factor
boardLengthMmnumber—Board length along the air flow. Fan & duct, optional: gives the forced-convection coefficient h for the board map (flat plate, approximate).
channelWidthMmnumber—Free channel width around the board. Optional: cross-section the air passes the board through; empty = the first duct.
channelHeightMmnumber—Free channel height around the board

Example request

TO-220 regulator, 10 W, on a 4 K/W heatsink with a board path

curl -X POST https://ohmforgethermalcalculator.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"mode":"junction","powerW":10,"ambientC":40,"tjMaxC":125,"thetaJC":1.5,"thetaCS":0.5,"thetaSA":4,"thetaJB":10,"thetaBA":20}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "ohmforge-thermal-calculator": { "type": "http", "url": "https://ohmforgethermalcalculator.usefulweb.site/mcp" }
  }
}