|
| 1 | +{ |
| 2 | + "comments": [ |
| 3 | + "This file contains the configuration for exporting IED Information to a CSV File.", |
| 4 | + "Each column can be defined below in the section \"columns\".", |
| 5 | + "A Column must at least have a \"header\" defined.", |
| 6 | + "", |
| 7 | + "A selector can be defined to search for a Element, if no selector is defined, the IED Element is used.", |
| 8 | + "If the useOwnerDocument is set to true, the selector will be used on the whole document, otherwise on the IED Element", |
| 9 | + "There is a variable 'iedName' being replaced before executing the selector, put this between '{{' an '}}'.", |
| 10 | + "If a dataAttributePath is defined, the selector should return a LN(0) Element and the path is then used to search for a DAI/DA Element.", |
| 11 | + "The dataAttributePath should at least contain 2 names, because the minimum is always a DO(I) followed by a DA(I) element.", |
| 12 | + "", |
| 13 | + "If a attributeName is defined that attribute will be retrieved from the elements found by the selector.", |
| 14 | + "Otherwise the text content of the elements is retrieved." |
| 15 | + ], |
| 16 | + "columns": [ |
| 17 | + { |
| 18 | + "header": "IED Name", |
| 19 | + "attributeName": "name" |
| 20 | + }, |
| 21 | + { |
| 22 | + "header": "IP address", |
| 23 | + "selector": "Communication > SubNetwork > ConnectedAP[iedName=\"{{ iedName }}\"] > Address:first-child > P[type=\"IP\"]", |
| 24 | + "useOwnerDocument": true |
| 25 | + }, |
| 26 | + { |
| 27 | + "header": "Subnetmask", |
| 28 | + "selector": "Communication > SubNetwork > ConnectedAP[iedName=\"{{ iedName }}\"] > Address:first-child > P[type=\"IP-SUBNET\"]", |
| 29 | + "useOwnerDocument": true |
| 30 | + }, |
| 31 | + { |
| 32 | + "header": "IED Description", |
| 33 | + "attributeName": "desc" |
| 34 | + }, |
| 35 | + { |
| 36 | + "header": "IL1 Primary rated current", |
| 37 | + "selector": "AccessPoint > Server > LDevice > LN[prefix=\"IL1\"][lnClass=\"TCTR\"]", |
| 38 | + "dataAttributePath": ["ARtg", "setMag", "f"] |
| 39 | + }, |
| 40 | + { |
| 41 | + "header": "IL1 Network Nominal Current", |
| 42 | + "selector": "AccessPoint > Server > LDevice > LN[prefix=\"IL1\"][lnClass=\"TCTR\"]", |
| 43 | + "dataAttributePath": ["ARtgNom", "setMag", "f"] |
| 44 | + }, |
| 45 | + { |
| 46 | + "header": "IL1 Secondary rated current", |
| 47 | + "selector": "AccessPoint > Server > LDevice > LN[prefix=\"IL1\"][lnClass=\"TCTR\"]", |
| 48 | + "dataAttributePath": ["ARtgSec", "setVal"] |
| 49 | + }, |
| 50 | + { |
| 51 | + "header": "RES Primary rated current", |
| 52 | + "selector": "AccessPoint > Server > LDevice > LN[prefix=\"RES\"][lnClass=\"TCTR\"]", |
| 53 | + "dataAttributePath": ["ARtg", "setMag", "f"] |
| 54 | + }, |
| 55 | + { |
| 56 | + "header": "RES Network Nominal Current", |
| 57 | + "selector": "AccessPoint > Server > LDevice > LN[prefix=\"RES\"][lnClass=\"TCTR\"]", |
| 58 | + "dataAttributePath": ["ARtgNom", "setMag", "f"] |
| 59 | + }, |
| 60 | + { |
| 61 | + "header": "RES Secondary rated current", |
| 62 | + "selector": "AccessPoint > Server > LDevice > LN[prefix=\"RES\"][lnClass=\"TCTR\"]", |
| 63 | + "dataAttributePath": ["ARtgSec", "setVal"] |
| 64 | + }, |
| 65 | + { |
| 66 | + "header": "UL1 Primary rated voltage", |
| 67 | + "selector": "AccessPoint > Server > LDevice > LN[prefix=\"UL1\"][lnClass=\"TVTR\"]", |
| 68 | + "dataAttributePath": ["VRtg", "setMag", "f"] |
| 69 | + }, |
| 70 | + { |
| 71 | + "header": "UL1 Secondary rated voltage", |
| 72 | + "selector": "AccessPoint > Server > LDevice > LN[prefix=\"UL1\"][lnClass=\"TVTR\"]", |
| 73 | + "dataAttributePath": ["VRtgSec", "setVal"] |
| 74 | + }, |
| 75 | + { |
| 76 | + "header": "UL1 Devision ratio", |
| 77 | + "selector": "AccessPoint > Server > LDevice > LN[prefix=\"UL1\"][lnClass=\"TVTR\"]", |
| 78 | + "dataAttributePath": ["Rat", "setMag", "f"] |
| 79 | + }, |
| 80 | + { |
| 81 | + "header": "RES Primary rated voltage", |
| 82 | + "selector": "AccessPoint > Server > LDevice > LN[prefix=\"RES\"][lnClass=\"TVTR\"]", |
| 83 | + "dataAttributePath": ["VRtg", "setMag", "f"] |
| 84 | + }, |
| 85 | + { |
| 86 | + "header": "RES Secondary rated voltage", |
| 87 | + "selector": "AccessPoint > Server > LDevice > LN[prefix=\"RES\"][lnClass=\"TVTR\"]", |
| 88 | + "dataAttributePath": ["VRtgSec", "setVal"] |
| 89 | + }, |
| 90 | + { |
| 91 | + "header": "RES Devision ratio", |
| 92 | + "selector": "AccessPoint > Server > LDevice > LN[prefix=\"RES\"][lnClass=\"TVTR\"]", |
| 93 | + "dataAttributePath": ["Rat", "setMag", "f"] |
| 94 | + }, |
| 95 | + { |
| 96 | + "header": "Vendor", |
| 97 | + "selector": "AccessPoint > Server > LDevice > LN[lnClass=\"LPHD\"]", |
| 98 | + "dataAttributePath": ["PhyNam", "vendor"] |
| 99 | + }, |
| 100 | + { |
| 101 | + "header": "Model", |
| 102 | + "selector": "AccessPoint > Server > LDevice > LN[lnClass=\"LPHD\"]", |
| 103 | + "dataAttributePath": ["PhyNam", "model"] |
| 104 | + } |
| 105 | + ] |
| 106 | +} |
0 commit comments