Browse Source

0.8.37

* added grid profiles
* format version of grid profile
pull/1512/head
lumapu 1 year ago
parent
commit
f5b0bacbe6
  1. 1002
      src/CHANGES.md
  2. 2
      src/defines.h
  3. 199
      src/web/html/grid_info.json
  4. 3
      src/web/html/visualization.html

1002
src/CHANGES.md

File diff suppressed because it is too large

2
src/defines.h

@ -13,7 +13,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 8
#define VERSION_PATCH 36
#define VERSION_PATCH 37
//-------------------------------------
typedef struct {

199
src/web/html/grid_info.json

@ -1,6 +1,8 @@
{
"type": [
{"0x0100": "?"},
{"0x0300": "DE_VDE4105_2018"},
{"0x0301": "DE_VDE4105_2011"},
{"0x0a00": "DE NF_EN_50549-1:2019"},
{"0x0c00": "AT_TOR_Erzeuger_default"},
{"0x0d04": "France NF_EN_50549-1:2019"},
@ -94,6 +96,52 @@
}
]
},
{
"0x0008": [
{
"name": "Nominal Voltage",
"div": 10,
"def": 230,
"unit": "V"
},
{
"name": "Low Voltage 1",
"div": 10,
"min": 170,
"max": 184,
"def": 184,
"unit": "V"
},
{
"name": "LV1 Maximum Trip Time",
"div": 10,
"def": 0.1,
"unit": "s"
},
{
"name": "High Voltage 1",
"div": 10,
"min": 264.5,
"max": 270,
"def": 264.5,
"unit": "V"
},
{
"name": "HV1 Maximum Trip Time",
"div": 10,
"def": 0.1,
"unit": "s"
},
{
"name": "10 mins Average High Voltage",
"div": 10,
"min": 253,
"max": 260,
"def": 253,
"unit": "V"
}
]
},
{
"0x000a": [
{
@ -286,6 +334,54 @@
}
]
},
{
"0x1002": [
{
"name": "Nominal Frequency",
"div": 100,
"def": 50,
"unit": "Hz"
},
{
"name": "Low Frequency 1",
"div": 100,
"unit": "Hz"
},
{
"name": "?",
"div": 10
},
{
"name": "?",
"div": 100,
"unit": "Hz"
},
{
"name": "?",
"div": 10,
"unit": "s"
},
{
"name": "?",
"div": 100,
"unit": "Hz"
},
{
"name": "?",
"div": 10,
"unit": "s"
},
{
"name": "?",
"div": 100
},
{
"name": "?",
"div": 10,
"unit": "s"
}
]
},
{
"0x1003": [
{
@ -415,6 +511,62 @@
}
]
},
{
"0x3007": [
{
"name": "Reconnect Time",
"div": 10,
"min": 10,
"max": 300,
"def": 65,
"unit": "s"
},
{
"name": "Reconnect High Voltage",
"div": 10,
"min": 253,
"max": 264.5,
"def": 264.5,
"unit": "V"
},
{
"name": "Reconnect Low Voltage",
"div": 10,
"min": 184,
"max": 210,
"def": 184,
"unit": "V"
},
{
"name": "Reconnect High Frequency",
"div": 100,
"max": 52,
"min": 50.5,
"def": 51.5,
"unit": "Hz"
},
{
"name": "Reconnect Low Frequency",
"div": 100,
"min": 47,
"max": 49.9,
"def": 47.5,
"unit": "Hz"
},
{
"name": "Short Interruption Reconnect Time",
"div": 10,
"def": 8,
"unit": "s"
},
{
"name": "Short Interruption Time",
"div": 10,
"def": 3,
"unit": "s"
}
]
},
{
"0x4000": [
{
@ -435,6 +587,42 @@
}
]
},
{
"0x5000": [
{
"name": "FW Function Activated",
"div": 1,
"min": 0,
"max": 1,
"def": 1
},
{
"name": "Start of Frequency Watt Droop",
"div": 100,
"min": 50.2,
"max": 52,
"def": 50.2,
"unit": "Hz"
},
{
"name": "FW Droop Slope",
"div": 10,
"min": 16.7,
"max": 100,
"def": 40,
"unit": "Pn%/Hz"
},
{
"name": "Recovery Ramp Rate",
"div": 100,
"min": 0.1,
"max": 50,
"def": 0.5,
"unit": "Pn%/s"
}
]
},
{
"0x5001": [
{
@ -563,6 +751,17 @@
}
]
},
{
"0x7000": [
{
"name": "APC Function Activated",
"div": 1,
"min": 0,
"max": 1,
"def": 1
}
]
},
{
"0x7002": [
{

3
src/web/html/visualization.html

@ -356,6 +356,7 @@
var glob = {offs:0, grid:obj.grid, info: data}
var content = [];
var g = getGridType(glob.info.type, getGridIdentifier(glob))
var v = getGridValue(glob);
if(null === g) {
if(0 == obj.grid.length) {
content.push(ml("div", {class: "row"}, ml("div", {class: "col"}, ml("p", {}, "Profile was not read until now, maybe turned off?"))))
@ -366,7 +367,7 @@
}
} else {
content.push(ml("div", {class: "row"},
ml("div", {class: "col my-3"}, ml("h5", {}, g + " (Version " + getGridValue(glob).toString(16) + ")"))
ml("div", {class: "col my-3"}, ml("h5", {}, g + " (Version " + (Math.round(v / 0x1000)) + "." + (Math.round((v & 0x0ff0) / 0x10)) + "." + (v & 0x0F) + ")"))
))
while((glob.offs*3) < glob.grid.length) {

Loading…
Cancel
Save