sandbox.flamiingo.com
← Index Nº 05 Reference

Feeder
data model.

Nº 01

Filename anatomy

Convention
feeder_NT08_NTVT0521__primary.json
prefix feeder — fixed namespace token.
feeder id NT08 — matches the feeder field inside the JSON.
cabinet / substation NTVT0521 — short identifier for the feeding station.
kind primary, trans, or omitted — selects which export this is.
The four files in /data/
FilenameRole
feeder_NT08_NTVT0521_.json Full feeder export — GIS topology (17 layers) + per-transformer hourly demand. Big file (~650 KB). See Nº 07.
feeder_NT08_NTVT0521__primary.json PV-capacity rollup by primary meter. See Nº 04.
feeder_NT08_NTVT0521__trans.json PV-capacity rollup by transformer. See Nº 04.
Globals_1.0-DR.xlsx Globals workbook — system-wide equipment-models library (conductors, transformers, switches, voltage levels). Dedicated page →
Nº 02

Hierarchy

Feeder → meter → premiss
Feeder // envelope, identical in both files │ feeder, SumSupplayForFeeder, DatabaseID, SoftwareVersion │ ├── primaryMeters[ ] // only in *__primary.json │ │ OBJECTID, SumSupplayForPrimary │ └── Premisses[ ] │ PremissObjectID, PremissID, PremissEID, supplay │ └── transformers[ ] // only in *__trans.json │ transformerID, SumSupplayForTransformer └── Premisses[ ] PremissObjectID, PremissID, PremissEID, supplay
Both files describe the same physical feeder from two angles: one rolls the customer premises up to the primary meter that serves them, the other rolls them up to the distribution transformer. The leaf Premisses[ ] record schema is shared.
See it View the sample data as a diagram
Nº 03

Shared envelope

Top-level, both files
FieldTypeDescription
feeder string Feeder identifier. Matches the NT08 segment in the filename. The unit of analysis: each file describes exactly one feeder.
SumSupplayForFeeder number Installed PV generation capacity (kVA) on the feeder, summed across all children. A non-zero value flags this node as PV-generating; multiply by the normalized PV curve to get instantaneous output (see Nº 08). supplay is the source spelling and is preserved verbatim.
DatabaseID string Source database tag (e.g. nisresbsayp) — identifies the system of record that produced the export.
SoftwareVersion string Date-stamp of the producing exporter (7/12/2023). Treat as a build marker, not as the export run-time.
primaryMeters / transformers array One of two mutually exclusive arrays — see Nº 04. The key present tells you which file you are reading.
Nº 04

Two variants

primary · trans

Primary meter

__primary.json
Aggregation by the medium-voltage primary meter sitting upstream of customer premises.
FieldTypeDescription
primaryMeters[ ] array List of primary meters on this feeder.
· OBJECTID number GIS object id of the meter (e.g. 53452) — the join key into the spatial layer.
· SumSupplayForPrimary number Installed PV capacity (kVA) at this primary meter. Non-zero → PV-generating primary; multiply by the PV curve (Nº 08) for the time-series.
· Premisses[ ] array Customer premises fed by this primary meter — see Nº 05.

Transformer

__trans.json
Aggregation by the distribution transformer downstream of the primary, stepping medium to low voltage.
FieldTypeDescription
transformers[ ] array List of distribution transformers on this feeder.
· transformerID string Asset id of the transformer (e.g. "145573"). Note: string, not number.
· SumSupplayForTransformer number Installed PV capacity (kVA) at this transformer. Non-zero → PV-generating transformer; multiply by the PV curve (Nº 08) for the time-series.
· Premisses[ ] array Customer premises fed by this transformer — see Nº 05.
Symmetry: only the parent key (OBJECTID vs transformerID) and the sum label differ. Everything else — including the Premisses sub-record — is identical. A single consumer can normalize the two into one shape with little effort.
Nº 05

The Premiss leaf

Identical in both files
FieldTypeDescription
PremissObjectID number GIS object id of the customer premise feature (e.g. 4587359). Use this to join into the spatial premises layer.
PremissID number Business/contract id of the premise (e.g. 602906865). The customer-facing key — what billing and CRM use.
PremissEID number Premise external/electrical id (e.g. 4083756) — typically the connection-point id from the electrical model.
supplay number Installed PV capacity (kVA) for this single premise. Rolls up into the parent's SumSupplayFor…. For primary-side premises, the absolute consumption curve lives in a separate per-customer file (see Nº 08).
Nº 06

Linked objects

Where each id points
Nº 07

Full feeder export

No suffix · the big sibling

The file with no __primary / __trans suffix is structurally different: a full GIS export of the feeder's physical network (17 feature classes) plus per-transformer hourly demand. It's roughly 650 KB — three orders of magnitude bigger than the rollups.

Envelope

no suffix · .json
FieldTypeDescription
SoftwareVersionstringDate-stamp of the exporter (e.g. "29/6/2023").
FeederIDstringFeeder identifier — "NT08". Note: capital-F variant of feeder from the rollups.
TimeOfExportstringActual export run timestamp (e.g. "4/14/2024 8:05:19 PM"). Not present in the rollups.
DatabaseIDstringSource DB tag ("nisresbsayp"), same as the rollups.
AllFcNamesarray17 GIS feature classes (lines + points) that together describe the network.
AllTransformersarrayPer-transformer hourly consumption curves (not PV).

AllFcNames[ ] — GIS feature classes

ESRI-style layers
Each entry is one feature-class layer with its schema (Fields), coded-value lookups (Domains), and rows (data).
FieldTypeDescription
InternalNamestringDB-side layer name, e.g. "NIS.PrimaryMeter". The NIS. prefix is the source schema.
DisplayNamestringHebrew label, e.g. "מיכל מדידה" (primary meter).
fcTypestring"Polyline" (conductors, bridges, connectors) or "Point" (devices: meters, transformers, switches, premises).
Subtypes·Code / ·DescarraySub-classification codes and Hebrew descriptions (e.g. an MV bus has subtypes "internal jumper", "MV cell", "MV bus").
DomainsarrayCoded-value lookups used by the Fields — each is {DomainName, DomainCode[ ], DomainDesc[ ]}. Lets you translate raw codes (e.g. DISTRICT="9") into descriptions ("ירושלים והנגב").
FieldsarrayColumn definitions for data[ ]. Each is {FieldName, FieldDisplayName, DomainName}.
dataarrayThe actual feature rows. Each row has an OBJECTID plus the columns named in Fields. Polyline rows include an EIDs[ ] array with multi-segment geometry (From_EID, To_EID, Length, geo.paths in projected coords).

The 17 layers — sample feeder NT08

8 lines + 9 points
InternalNameShapeLayerRows
NIS.MVInnerConnectionlineMV bus · פס צבירה34
NIS.OHMVElectricLinelineOverhead MV line26
NIS.UGMVElectricLinelineUnderground MV cable10
NIS.OHLVElectricLinelineOverhead LV line7
NIS.UGLVElectricLinelineUnderground LV cable3
NIS.ConnectorlineMV connector16
NIS.BridgelineLV bridge7
NIS.UG_CouplinglineUnderground splice3
NIS.PrimaryMeterpointPrimary meter — the OBJECTID joined by __primary.json3
NIS.TransformerpointDistribution transformer — the transformerID joined by __trans.json3
NIS.SwitchpointSwitch · מנתק33
NIS.FusepointFuse · נתיך8
NIS.CircuitBreakerpointCircuit breaker · מפסק זרם2
NIS.SeparatorpointSeparator · הפרדה1
NIS.FCBuildingConnectionpointBuilding connection · חיבור למבנה10
NIS.FCPremisespointCustomer premise · חצר2
NIS.DistributionNetwork_JunctionspointNetwork junction54

AllTransformers[ ] — hourly demand

consumption · per-transformer
A second cube embedded in the same file: each transformer's hourly consumption profile across the 6 typical-day combinations.
FieldTypeDescription
TransformatorIDstringTransformer id (e.g. "145573") — same key as transformerID in __trans.json.
ValsstringString slot; in the sample it carries no payload.
transSeason[ ]arraySix rows — one per YEARSEASON × DAYTIME combination (Nº 09).
· YEARSEASONnumber0 summer, 1 winter.
· DAYTIMEnumber1 weekday, 2 Friday/eve, 3 Saturday/holiday.
· HOURLYDEMAND1 … HOURLYDEMAND24numberHour-by-hour absolute consumption for that typical day. Units track the source system (likely kW or kVA).
Important: the HOURLYDEMAND… values are consumption curves, not PV. They live at the transformer level. The per-customer absolute curves still come from the separate file referenced in Nº 08.
See it View the GIS data as a graph
Nº 08

Companion files

Outside the JSON tree

Two non-JSON sources sit alongside the feeder files: a system-wide Globals workbook of equipment models, and per-customer absolute consumption curves. Together with the normalized PV curve, they turn the static topology into time-series.

XLSX · 7 sheets

Globals workbook

System-wide equipment-models library — engineering parameters for every asset type the feeder export references: conductors, transformers, switches, voltage levels, line construction, taps, and substations.

Globals_1.0-DR.xlsx Dedicated page →

Customer consumption file

per-customer · separate
Per-customer absolute consumption curves — one curve per primary-side customer.
AspectDetail
ValuesAbsolute consumption (kW / kWh) — read directly, no multiplication.
Applies toPremisses inside primaryMeters[ ].Premisses[ ] (the primary side only).
Joined byPremissID — the customer/contract id from the leaf record (Nº 05).
Indexed byTime of day, plus YEARSEASON × DAYTIME (Nº 09).
vs. transformer demandTransformer-level hourly demand is embedded in the full feeder export (Nº 07). The per-customer file is finer-grained and primary-side only.
Normalized PV generation curve. The PV curve referenced throughout (multiplied against any non-zero SumSupplay…) was attributed to the Globals workbook. The delivered version (Globals_1.0-DR.xlsx) holds the equipment-models library only — the PV-shape curve itself is expected to ship in a sibling workbook or additional sheet. Indexing is the same either way: YEARSEASON × DAYTIME × hour.
Putting it together at any node, any timestamp:  net power = consumption (customer or transformer file) − PV (SumSupplay × normalized PV curve). The JSON gives you the wiring; the companions give you the load and the generation through time.
See it Aggregate the load, category by category (DERMS view)
Nº 09

Enumerations

Curve index dimensions
YEARSEASON

Year season

  • 0Summer — high-load cooling season.
  • 1Winter — heating-driven load profile.
DAYTIME

Day type

  • 1Weekday — ordinary business day.
  • 2Friday / holiday eve — pre-rest-day profile.
  • 3Saturday / holiday — full rest-day profile.
What they index: these constants do not appear in the JSON files — they key the curves in the companion files (Nº 08) and the transformer demand cube (Nº 07). One trace per YEARSEASON × DAYTIME combination → 2 × 3 = 6 typical-day profiles per source.
Nº 10

Raw samples

From /data/
feeder_NT08_NTVT0521__primary.json
{ "feeder": "NT08", "SumSupplayForFeeder": 6627.6, "DatabaseID": "nisresbsayp", "SoftwareVersion": "7/12/2023", "primaryMeters": [ { "OBJECTID": 53452, "SumSupplayForPrimary": 5000.0, "Premisses": [ { "PremissObjectID": 4587359, "PremissID": 602906865, "PremissEID": 4083756, "supplay": 5000.0 } ] }, … ] }
feeder_NT08_NTVT0521__trans.json
{ "feeder": "NT08", "SumSupplayForFeeder": 0.0, "DatabaseID": "nisresbsayp", "SoftwareVersion": "7/12/2023", "transformers": [ { "transformerID": "145573", "SumSupplayForTransformer": 0.0, "Premisses": [ { "PremissObjectID": 3848610, "PremissID": 602559572, "PremissEID": 3018977, "supplay": 0.0 } ] }, … ] }
feeder_NT08_NTVT0521_.json  (truncated · 650 KB total)
{ "SoftwareVersion": "29/6/2023", "FeederID": "NT08", "TimeOfExport": "4/14/2024 8:05:19 PM", "DatabaseID": "nisresbsayp", "AllFcNames": [ { "InternalName": "NIS.PrimaryMeter", "DisplayName": "מיכל מדידה", "fcType": "Point", "Domains": [ { "DomainName": "District", "DomainCode": ["7","8","9"], "DomainDesc": ["…"] }, … ], "Fields": [ { "FieldName": "DISTRICT", "FieldDisplayName": "מחוז", "DomainName": "District" }, … ], "data": [ { "OBJECTID": 53452, "DISTRICT": "9", … }, … ] }, … 16 more feature classes … ], "AllTransformers": [ { "TransformatorID": "145573", "Vals": "", "transSeason": [ { "YEARSEASON": 0, "DAYTIME": 1, "HOURLYDEMAND1": 213, "HOURLYDEMAND2": 204, … HOURLYDEMAND24: 229 }, … 5 more (season × day-type) rows … ] }, … 2 more transformers … ] }