Skip to main content
Version: V2-Next

Use Case: TAF10 Low-Voltage Grid Protection

Status: modelled as a separate TAF10 use case - all artifacts ship with the repository as reference artifacts under schemas/usecases/taf10-grid-sta/. They can be imported through the ModelForge facade of a host application.

Scenario​

TAF10 is about Niederspannungsnetzleitwerte, not air quality. The use case collects smart-meter and low-voltage grid telemetry to protect a distribution grid segment from overloads caused by load peaks or feed-in peaks, for example from photovoltaic systems.

TAF10 grid telemetry continuously records:

  • Active power consumed from the grid (activePowerPlus)
  • Active power fed into the grid (activePowerMinus)
  • Voltage, current, and frequency at the measurement point
  • Grid node or feeder identity

The raw telemetry arrives via MQTT. Grid-node master data and operational thresholds are looked up from PostgreSQL. Normal values are published as OGC SensorThings observations; threshold violations are mapped to a SwitchingAction and sent to a grid-control HTTP endpoint.

Data flow​

TAF10 grid data flow

The first filter removes bad-quality measurements. The enrich step joins GridNodeMasterData by gridNodeId, including maxLoadW, maxFeedInW, voltageMinV, voltageMaxV, and controllable assets. The observation branch posts active power import, active power feed-in, and voltage to FROST. The protection branch detects load/feed-in peaks or voltage-band violations and posts a SwitchingAction to the grid-control service.

Data structures​

ElementURN
Measurementurn:core:platform:civitas:element:taf10-grid:Measurement:k9ta3hkxjf:1.0.0
TAF10GridReadingurn:core:platform:civitas:element:taf10-grid:TAF10GridReading:1ygff0bi74:1.0.0
GridNodeMasterDataurn:core:platform:civitas:element:taf10-grid:GridNodeMasterData:2t0ap2oin7:1.0.0
SwitchingActionurn:core:platform:civitas:element:taf10-grid:SwitchingAction:2qna16a0ec:1.0.0
GeoPointurn:core:platform:civitas:element:common:GeoPoint:3ak90vqrog:1.0.0
STAThingurn:core:platform:civitas:element:sta:STAThing:1f0bfaterl:1.0.0
STAObservationurn:core:platform:civitas:element:sta:STAObservation:np3hnkoj04:1.0.0

The shared common/sta Elements (GeoPoint, STAThing, STAObservation) are defined in the air-quality use case's folder (schemas/usecases/luftqualitaet-sta/) and reused here.

Reference relationships:

  • TAF10GridReading -> TAF10 Measurement, common GeoPoint
  • GridNodeMasterData -> common GeoPoint
  • Observation mappings target shared STAObservation
  • SwitchingAction is the outbound control-command payload

Mappings​

MappingURN
GridNodeMasterData -> STAThingurn:core:platform:civitas:mapping:taf10-grid:gridnode-to-sta-thing:2oov2igmb5:1.0.0
TAF10 activePowerPlus -> STAObservationurn:core:platform:civitas:mapping:taf10-grid:taf10-to-activepowerplus:qtqz06ee4p:1.0.0
TAF10 activePowerMinus -> STAObservationurn:core:platform:civitas:mapping:taf10-grid:taf10-to-activepowerminus:fwxy1x3zhd:1.0.0
TAF10 voltage -> STAObservationurn:core:platform:civitas:mapping:taf10-grid:taf10-to-voltage:unzn4u9zf0:1.0.0
TAF10 threshold violation -> SwitchingActionurn:core:platform:civitas:mapping:taf10-grid:taf10-to-switching-action:1xeycp9kuz:1.0.0

The observation mappings copy timestamp, result, quality, unit, and gridNodeId. The action mapping creates a high-priority grid-control command when the pipeline's threshold filter detects a protective action condition.

Pipeline​

urn:core:platform:civitas:pipeline:taf10-grid:TAF10-Grid-Protection:iql8cspo0o:1.0.0

NodeKindConfiguration
ConsumeMQTTsourceTopic taf10/grid/+, Element TAF10GridReading
Plausibility filterfilterDrops readings with bad quality for import, feed-in, or voltage
LookupRecordenrichKey $.gridNodeId -> PostgreSQL grid-node master data
Observation fan-outmappingactivePowerPlus, activePowerMinus, voltage -> FROST observations
Peak detectionfilteractivePowerPlus > maxLoadW, activePowerMinus > maxFeedInW, or voltage outside the configured band
SwitchingAction mappingmappingBuilds the grid-control command payload
InvokeHTTPsinkFROST POST /Observations and grid-control POST /api/v1/switching-actions

External endpoints​

EndpointDescription
POST /FROST-Server/v1.1/ObservationsElectrical measurement observations
POST http://grid-control:8080/api/v1/switching-actionsProtective switching or curtailment requests
GET /FROST-Server/v1.1/ObservedPropertiesActive power import, active power feed-in, voltage