curl --request POST \
--url https://api.eddy.engineer/v1/power.dynamics.bench.tests \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"include_list": true,
"plant": {},
"plant_key": "<string>",
"settings": {},
"table": 123
}
'import requests
url = "https://api.eddy.engineer/v1/power.dynamics.bench.tests"
payload = {
"include_list": True,
"plant": {},
"plant_key": "<string>",
"settings": {},
"table": 123
}
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({include_list: true, plant: {}, plant_key: '<string>', settings: {}, table: 123})
};
fetch('https://api.eddy.engineer/v1/power.dynamics.bench.tests', 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/power.dynamics.bench.tests",
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([
'include_list' => true,
'plant' => [
],
'plant_key' => '<string>',
'settings' => [
],
'table' => 123
]),
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/power.dynamics.bench.tests"
payload := strings.NewReader("{\n \"include_list\": true,\n \"plant\": {},\n \"plant_key\": \"<string>\",\n \"settings\": {},\n \"table\": 123\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/power.dynamics.bench.tests")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"include_list\": true,\n \"plant\": {},\n \"plant_key\": \"<string>\",\n \"settings\": {},\n \"table\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/power.dynamics.bench.tests")
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 \"include_list\": true,\n \"plant\": {},\n \"plant_key\": \"<string>\",\n \"settings\": {},\n \"table\": 123\n}"
response = http.request(request)
puts response.read_body{}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}DMAT v3.0's test list as the bench reads it; with a plant, every test expanded for it
AEMO’s Dynamic Model Acceptance Test guideline v3.0, tables 2 to 17, encoded as data cited to AEMO under its copyright permissions (ss.power.dmat_tests/1, DY13; D3). Without a plant: the tables (number, section, label, tools, how many tests). With a plant (inline or by key): every test as the bench expands it for that plant, with its subset letter (149a), its set-up (SCR, X/R, P, Q, the event), and whether the RMS bench runs it or why not (unbalanced faults, EMT-only tests, modulation). An Eddy run is never a DMAT. Refused by name: POWER_REQUEST (400), POWER_SETTINGS (400), BENCH_PLANT_INVALID (400), POWER_DYNAMICS_NOT_FOUND (404).
curl --request POST \
--url https://api.eddy.engineer/v1/power.dynamics.bench.tests \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"include_list": true,
"plant": {},
"plant_key": "<string>",
"settings": {},
"table": 123
}
'import requests
url = "https://api.eddy.engineer/v1/power.dynamics.bench.tests"
payload = {
"include_list": True,
"plant": {},
"plant_key": "<string>",
"settings": {},
"table": 123
}
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({include_list: true, plant: {}, plant_key: '<string>', settings: {}, table: 123})
};
fetch('https://api.eddy.engineer/v1/power.dynamics.bench.tests', 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/power.dynamics.bench.tests",
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([
'include_list' => true,
'plant' => [
],
'plant_key' => '<string>',
'settings' => [
],
'table' => 123
]),
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/power.dynamics.bench.tests"
payload := strings.NewReader("{\n \"include_list\": true,\n \"plant\": {},\n \"plant_key\": \"<string>\",\n \"settings\": {},\n \"table\": 123\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/power.dynamics.bench.tests")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"include_list\": true,\n \"plant\": {},\n \"plant_key\": \"<string>\",\n \"settings\": {},\n \"table\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/power.dynamics.bench.tests")
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 \"include_list\": true,\n \"plant\": {},\n \"plant_key\": \"<string>\",\n \"settings\": {},\n \"table\": 123\n}"
response = http.request(request)
puts response.read_body{}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Body
The plant on DY13's bench, INVENTED or the engineer's: name, network (from the connection point down, with a grid source at it), dynamics, grid_source, poc_bus, device (the inverter), connection_branch (from the connection point into the plant), rated_w, poc_scr, poc_x_r, input_model (a wind plant's aerodynamic model, for Table 17), note. Give it or plant_key
The bench's own choices, each optional: step_s (0.001), event_at_s (1), event_run_s (10), step_at_s (5), step_run_s (15), mfrt_pre_s (5), mfrt_post_s (10), mfrt_seed, bolted_fault_zs (1e-3: a bolted fault through this fraction of |Zs|), keep_channels (false: each test's start, extremes and end only; true: its series at the connection point and terminal, Ipcmd, Iqcmd and the plant controller's frequency). An unknown member is refused
Response
schema, hash, source (AEMO, the guideline, its version and URL), scope, statement, tables, and with a plant plant {name, check} and tests [{test, table, label, set_up, run, reason}]
The response is of type object.