monte_carlo
Run tolerance-based statistical simulations over circuit components to quantify metric variation, returning mean, standard deviation, min, max, and every run.
Instructions
Monte Carlo over component tolerances: tolerances {"R1":"5%","C1":"10%"} (gauss: sigma = tol/3; uniform: +-tol). metric as in sweep(). Returns mean/std/min/max and every run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spec": "<spec>",
"tolerances": "<tolerances>",
"metric": "<metric>"
},
"name": "monte_carlo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | mc | |
| runs | No | ||
| seed | No | ||
| spec | Yes | ||
| metric | Yes | ||
| tolerances | Yes | ||
| distribution | No | gauss |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| max | No | ||
| min | No | ||
| std | No | ||
| mean | No | ||
| runs | Yes | ||
| error | No |