Mixed Sim over the document: the netlist payload, a run, a parameter / temperature sweep or a seeded Monte Carlo on the circuit solver, and the SimView math (E7.12 + E7.17)
curl --request POST \
--url https://api.eddy.engineer/v1/eda.mixedsim \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"op": "<string>",
"analysis": {},
"at": 123,
"direction": "<string>",
"document": {},
"netlist": {},
"param": "<string>",
"record": true,
"runs": 123,
"seed": 123,
"solution": {},
"tolerances": [
{}
],
"values": [
123
],
"wave": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/eda.mixedsim"
payload = {
"op": "<string>",
"analysis": {},
"at": 123,
"direction": "<string>",
"document": {},
"netlist": {},
"param": "<string>",
"record": True,
"runs": 123,
"seed": 123,
"solution": {},
"tolerances": [{}],
"values": [123],
"wave": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
op: '<string>',
analysis: {},
at: 123,
direction: '<string>',
document: {},
netlist: {},
param: '<string>',
record: true,
runs: 123,
seed: 123,
solution: {},
tolerances: [{}],
values: [123],
wave: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/eda.mixedsim', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/eda.mixedsim",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'op' => '<string>',
'analysis' => [
],
'at' => 123,
'direction' => '<string>',
'document' => [
],
'netlist' => [
],
'param' => '<string>',
'record' => true,
'runs' => 123,
'seed' => 123,
'solution' => [
],
'tolerances' => [
[
]
],
'values' => [
123
],
'wave' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/eda.mixedsim"
payload := strings.NewReader("{\n \"op\": \"<string>\",\n \"analysis\": {},\n \"at\": 123,\n \"direction\": \"<string>\",\n \"document\": {},\n \"netlist\": {},\n \"param\": \"<string>\",\n \"record\": true,\n \"runs\": 123,\n \"seed\": 123,\n \"solution\": {},\n \"tolerances\": [\n {}\n ],\n \"values\": [\n 123\n ],\n \"wave\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/eda.mixedsim")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"op\": \"<string>\",\n \"analysis\": {},\n \"at\": 123,\n \"direction\": \"<string>\",\n \"document\": {},\n \"netlist\": {},\n \"param\": \"<string>\",\n \"record\": true,\n \"runs\": 123,\n \"seed\": 123,\n \"solution\": {},\n \"tolerances\": [\n {}\n ],\n \"values\": [\n 123\n ],\n \"wave\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/eda.mixedsim")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"op\": \"<string>\",\n \"analysis\": {},\n \"at\": 123,\n \"direction\": \"<string>\",\n \"document\": {},\n \"netlist\": {},\n \"param\": \"<string>\",\n \"record\": true,\n \"runs\": 123,\n \"seed\": 123,\n \"solution\": {},\n \"tolerances\": [\n {}\n ],\n \"values\": [\n 123\n ],\n \"wave\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Circuits (EDA)
Mixed Sim over the document: the netlist payload, a run, a parameter / temperature sweep or a seeded Monte Carlo on the circuit solver, and the SimView math (E7.12 + E7.17)
op = payload (the /v1/solve.circuit body the schematic produces — the page’s builder is the referee; `analysis` = {kind: dc_op | transient {stop, steps} | ac {fstart, fstop, points_per_decade}}; unsupported / unconnected components are reported in `notes` and `excluded`) | run (build + solve on the engine; `solution` carries nodes, branch currents, the transient trajectory `t` / `series` or the AC `freqs` / `ac_mag` / `ac_phase_deg`; `circuit_key` is the solve’s address, `sim_key` the payload’s) | sweep {param: R1 | D1.vf, values[1..64]} (one solve per value, inline) | temperature {values[1..64] in degrees C} (E7.17: one solve per temperature — the netlist’s `temperature_c`, ngspice’s IS(T) / Vt(T) on the junctions and tc1 / tc2 on the resistors) | monte_carlo {runs (default 16, max 256), seed (default 1), tolerances: [{select: R1 | resistor | D1.vf, pct, distribution: uniform | gaussian}]} (E7.17: seeded draws — xorshift64* from (seed, run), the draws recorded on every case, `stats` per node: / branch: output; the seed is in the answer) | measure {solution, wave} (min / max / mean / rms / peak-to-peak / rise / fall / period / frequency) | cursor {solution, wave, at} | peaks {solution, wave, at?, direction?} | fft {solution, wave} (radix-2 on a uniform resample) | csv {solution} | stress {netlist, solution} (power per resistor against its max_power) | models {document} (SPICE .model lines for the project’s kinds). Waves are `node:<net>` / `branch:<ref>` (transient), `ac:<net>` (AC magnitude), `phase:<net>`.
POST
/
v1
/
eda.mixedsim
Mixed Sim over the document: the netlist payload, a run, a parameter / temperature sweep or a seeded Monte Carlo on the circuit solver, and the SimView math (E7.12 + E7.17)
curl --request POST \
--url https://api.eddy.engineer/v1/eda.mixedsim \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"op": "<string>",
"analysis": {},
"at": 123,
"direction": "<string>",
"document": {},
"netlist": {},
"param": "<string>",
"record": true,
"runs": 123,
"seed": 123,
"solution": {},
"tolerances": [
{}
],
"values": [
123
],
"wave": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/eda.mixedsim"
payload = {
"op": "<string>",
"analysis": {},
"at": 123,
"direction": "<string>",
"document": {},
"netlist": {},
"param": "<string>",
"record": True,
"runs": 123,
"seed": 123,
"solution": {},
"tolerances": [{}],
"values": [123],
"wave": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
op: '<string>',
analysis: {},
at: 123,
direction: '<string>',
document: {},
netlist: {},
param: '<string>',
record: true,
runs: 123,
seed: 123,
solution: {},
tolerances: [{}],
values: [123],
wave: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/eda.mixedsim', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/eda.mixedsim",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'op' => '<string>',
'analysis' => [
],
'at' => 123,
'direction' => '<string>',
'document' => [
],
'netlist' => [
],
'param' => '<string>',
'record' => true,
'runs' => 123,
'seed' => 123,
'solution' => [
],
'tolerances' => [
[
]
],
'values' => [
123
],
'wave' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/eda.mixedsim"
payload := strings.NewReader("{\n \"op\": \"<string>\",\n \"analysis\": {},\n \"at\": 123,\n \"direction\": \"<string>\",\n \"document\": {},\n \"netlist\": {},\n \"param\": \"<string>\",\n \"record\": true,\n \"runs\": 123,\n \"seed\": 123,\n \"solution\": {},\n \"tolerances\": [\n {}\n ],\n \"values\": [\n 123\n ],\n \"wave\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/eda.mixedsim")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"op\": \"<string>\",\n \"analysis\": {},\n \"at\": 123,\n \"direction\": \"<string>\",\n \"document\": {},\n \"netlist\": {},\n \"param\": \"<string>\",\n \"record\": true,\n \"runs\": 123,\n \"seed\": 123,\n \"solution\": {},\n \"tolerances\": [\n {}\n ],\n \"values\": [\n 123\n ],\n \"wave\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/eda.mixedsim")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"op\": \"<string>\",\n \"analysis\": {},\n \"at\": 123,\n \"direction\": \"<string>\",\n \"document\": {},\n \"netlist\": {},\n \"param\": \"<string>\",\n \"record\": true,\n \"runs\": 123,\n \"seed\": 123,\n \"solution\": {},\n \"tolerances\": [\n {}\n ],\n \"values\": [\n 123\n ],\n \"wave\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Body
application/json
Response
The op’s result (payload / solution / measurements / text) and the vocabulary
The response is of type object.