Compare two designs
compare_designsCompare two designs: what changed between them, and what the change did. Give each side as a design document, a saved design's designId, or a shipped templateId — mix them freely (a saved baseline against an edited document is the usual case). Returns changes (nodes added, removed and changed with every property's before/after, and wires added or removed), delta (source power, load power, total dissipation, efficiency and warning counts, each as { a, b, delta }), stages (the converters whose loss or efficiency moved), nodes (every node present in both whose voltage, current, power or junction temperature moved) and warnings.resolved / warnings.introduced. Solving both sides is unmetered. Pass monteCarlo: { trials, seed } to add yield — thermal-violation and protection-trip rates, efficiency and power statistics on both sides with the same seed, so the movement is attributable to the change; that is two metered Monte Carlo runs against the account's quota. USE THIS after every edit instead of reading two full solve results side by side; it is the cheap way to see whether a part swap helped. Needs a Pro or Team plan: a Free account is refused with PLAN_REQUIRED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | The baseline: a design document, or { designId }, or { templateId }. | |
| b | Yes | The candidate: a design document, or { designId }, or { templateId }. | |
| corner | No | Tolerance corner both sides are solved at. Default "nom". | |
| monteCarlo | No | Add a yield comparison: { trials (default 200), seed }. Omit for a plain solve comparison. | |
| ambientTemperature | No | Ambient in °C for both sides. Default is each design's own setting, else 25. |