Skip to main content
Version: Next

configuring

Configuration for the PoF Network Extractor is specified in a JSON file.

OptionDescriptionRequired
pofConfigFileThe path to the PoF configuration used by this tool.
Refer to PoF Configuration below.
Yes
ewbDataPathThe path to the ewb data directory.Yes
meterSourceTypeIndicates the source of meters. One of TCS or MAPPING_FILE. Default: MAPPING_FILENo
meterMappingsObject that holds meter mapping related config if meter source is MAPPING_FILE.
Refer to Meter Mapping Config below.
No
connectionPointIdentifierName to use for the connection point identifier. E.g. NMI in Australia or ICP in New Zealand. Default: NMI.No
Meter Mapping Config

The PoF extractor can take meter mapping files to provide a mapping of meters and supply points to transformers. Each file is required to have its date in the file name so the appropriate mapping file can be used. All the options in this config object are required if it is included.

OptionDescription
pathThe path to the directory containing meter mapping files.
filePatternA regex to match meter mapping files.
This needs to have a single group capture that captures the date in the file name.
datePatternThe pattern of the date captured from the file name.
If any paths in the configuration are given as relative paths, they will be relative to the working directory of the JVM.

The following is a sample configuration file

Sample Configuration File
{
"ewbDataPath": "/users/release/ewb/data",
"pofConfigFile": "/users/release/ewb/conf/pof_config.json",
"meterMappings": {
"path": "/path/to/directory/with/mapping/files",
"filePattern": "NMI_TX_MAPPING_(\\d{8}).csv",
"datePattern": "yyyyMMdd"
}
}

PoF Configuration

The following describes PowerOn Fusion specific data configuration that allows the PoF Network Extractor to convert components from PoF to EWB network model assets.

OptionDescriptionType
distTransformerClassesA list of component class IDs for all distribution transformers.[int]
isoTransformerClassesA list of component class IDs for all isolation transformers.[int]
regulatorClassesReversibleA list of component class IDs for reversible regulators.[int]
regulatorClassesNonReversibleA list of component class IDs for non reversible regulators.[int]
zoneTransformerClassesA list of component class IDs for zone transformers.[int]
feederCbClassesA list of component class IDs for feeder circuit breakers.[int]
cbClassesA list of component class IDs for all other circuit breakers.[int]
fuseClassesA list of component class IDs for fuses.[int]
isolatorClassesA list of component class IDs for isolaters.[int]
recloserClassesA list of component class IDs for reclosers.[int]
switchClassesA list of component class IDs for all generic switch types. Only use this list if the switch does not fall into one of the explicit categories.[int]
faultIndicatorClassesA list of component class IDs for fault indicators.[int]
brokenBridgeClassesA list of component class IDs for broken bridges.[int]
generatorClassesA list of component class IDs for generators.[int]
capacitorClassesA list of component class IDs for capacitors.[int]
hvSupplyPointClassesA list of component class IDs for HV supply points.[int]
poleClassesA list of component class IDs for poles.[int]
ignoreSourcesA list of component class IDs which cannot be converted to sources.[int]
feederClassesA list of component class IDs for feeder start points.[int]
siteClassesA list of component class IDs for site components.[int]
worldsA list of world IDs to be included in the extract.[int]
zoneCloneIdsA list of component IDs that zones were cloned from. This is used to find the zone elements in the component hierarchy.[string]
businessesObject that holds businesses config.
Refer to Business Config below.
{}
transformerTypesObject that holds transformer types config.
Refer to Transformer Types Config below.
{}
equalLatLonCheckFlag to indicate if the latitudes and longitude for a component should be checked to see if they have the exact same value. Defaults to false.boolean
treatUnknownLengthAsZeroFlag to indicate if conductors with a missing length should have their length set to 0 rather than being left as null. Defaults to false.boolean
eastingNorthingStoreLongLatFlag to indicate if the Easting/Northing fields actually contain Longitude/Latitude values. Defaults to false.boolean
undergroundPatternRegular expression used to determine if a cable is underground from the component class name. Defaults to hvugc.string
txRatingAttributeThe name of the attribute that stores the transformer rating. Defaults to Rating (kVA).string
conductorNamingChoose which COMPONENT_HEADER field to use as the conductor name (COMPONENT_PATHNAME, COMPONENT_ALIAS or COMPONENT_ID). Defaults to COMPONENT_PATHNAME.string
geoGraphicsInterpolatorTraceStopVoltageThe voltage to stop at when tracing the network for interpolating missing geographic points. Defaults to 66000.int
Transformer Types Config

This object is a JSON version of the TRANSFORMER_TYPES table in the PowerOn Fusion database.

OptionDescriptionType
typeThe identifier of this transformer type (can be repeated).string
ratingMinThe minimum rating of a transformer to match against this type. Set to 0 if this is the lowest range for the type.int
ratingMaxThe maximum rating of a transformer to match against this type. Set to 999999999 if this is the highest range fo the type.int
cyclicRatingFactorMultiplication factor applied to the transformers rating when running in emergency situations.double
powerFactorThe power factor of this type of transformer.double
Businesses Config
OptionDescriptionType
nameThe name to give the business in the EWB model.string
rootsA list of the highest level component IDs in the hierarchy that have network assets for the specified business. All zones found under these roots will be added to this business.[string]
Sample Configuration File
Remember that this configuration is a sample. The lists for these options will likely be substantially larger than shown here for a real PoF

system.

{
"distTransformerClasses": [
1,
2
],
"isoTransformerClasses": [
3,
4
],
"regulatorClassesReversible": [
5,
6
],
"regulatorClassesNonReversible": [
7,
8
],
"zoneTransformerClasses": [
9,
10
],
"feederCbClasses": [
11,
12
],
"cbClasses": [
13,
14
],
"fuseClasses": [
15,
16
],
"isolatorClasses": [
17,
18
],
"recloserClasses": [
19,
20
],
"switchClasses": [
21,
22
],
"faultIndicatorClasses": [
23,
24
],
"brokenBridgeClasses": [
25,
26
],
"generatorClasses": [
27,
28
],
"capacitorClasses": [
29,
30
],
"hvSupplyPointClasses": [
31,
32
],
"poleClasses": [
33,
34
],
"ignoreSources": [
35,
36
],
"feederClasses": [
37,
38
],
"siteClasses": [
39,
40
],
"worlds": [
41,
42
],
"zoneCloneIds": [
"a00000001COMP",
"a00000002COMP"
],
"businesses": [
{
"name": "Business 1",
"roots": [
"a00000003COMP"
]
},
{
"name": "Business 2",
"roots": [
"a00000004COMP",
"a00000005COMP"
]
}
],
"transformerTypes": [
{
"type": "P",
"ratingMin": 0,
"ratingMax": 999999999,
"cyclicRatingFactor": 1.5,
"powerFactor": 0.95
},
{
"type": "K",
"ratingMin": 0,
"ratingMax": 100000,
"cyclicRatingFactor": 1.20,
"powerFactor": 0.9
},
{
"type": "K",
"ratingMin": 100001,
"ratingMax": 200000,
"cyclicRatingFactor": 1.25,
"powerFactor": 0.9
},
{
"type": "K",
"ratingMin": 200001,
"ratingMax": 999999999,
"cyclicRatingFactor": 1.30,
"powerFactor": 0.92
}
],
"equalLatLonCheck": true,
"treatUnknownLengthAsZero": false,
"eastingNorthingStoreLongLat": false,
"undergroundPattern": "hvugc",
"txRatingAttribute": "Rating (kVA)",
"conductorNaming": "COMPONENT_PATHNAME",
"geoGraphicsInterpolatorTraceStopVoltage": 66000
}

Environment Variables

The following system environment variables are used by the tool. The default is applied if the environment variable does not exist.

VariableDescriptionDefault
ENMAC_USERThe user for the PoF Oracle database.enmac
ENMAC_PASSWORDThe password for the PoF Oracle database.password