Tiza Group

Home / Tools / IEC 61850 station network

IEC 61850 station network: ring, PRP, HSR and RSTP

Choose the topology, the publisher and the subscriber, and click a link to fail it. The tool draws the path the frames follow, how long the traffic stays cut and the GOOSE and sampled-value frames that are lost.

Example cases
IEC 61850 station network: ring, PRP, HSR and RSTP

Only the basic data; the rest is taken with typical values.

ALearn

E1Topology

In the RSTP ring, one switch per IED.

Number of the IED that sends.

E2Fail

0 = none. You can also click the link on the drawing.

In PRP, a link of LAN B; in HSR, another link of the ring.

ms

Criterion of your application; no source of this tool sets it.

E3Traffic
Hz
ms

Repetition in steady state.

E4Switches
ms
ms
µs

Use a decimal point. The calculation runs in your browser and updates as you type.

Interruption of the flow

—

SV frames lost per stream

—

GOOSE and time allowed to live

—

Maximum switches in the ring

—

Station network and path of the frames
Click a link to fail it; another click on the same link repairs it. The yellow and magenta squares are the copies of a frame on its way.
Time line of the failure
The red band is the time the flow stays cut. Each bar is a GOOSE repetition; in red, the ones that are lost.

Calculated values

What it is for

The station network links the bay IEDs, the gateway and the HMI. When a link or a switch fails, the traffic takes another path or stops. This tool shows on the drawing which path the frames take before and after the failure, how long the flow between two IEDs stays cut and what is lost in that time.

The process-bus load, the GOOSE latency and the address plan are in the GOOSE/SV addresses and process bus tool, which uses the same calculation engine.

How it is calculated

Source: R. Moore, RUGGEDCOM white paper on RSTP in a ring (2007)

Recovery of an RSTP ring

T = TL + (N − 3) · TPA for even N; T = TL + (N − 2) · TPA for odd N

It is the worst case for the failure of one link. The root is switch 1 and the blocked port sits on the farthest link. If a link of the path fails, the flow stops for T; if the blocked link fails, it does not stop.

Source: IEC 62439-3

PRP and HSR

interruption = 0 while one copy remains; with no copy, until repaired

PRP sends each frame over LAN A and over LAN B; HSR sends it both ways round the ring. Each frame carries 6 more bytes.

Source: IEC 61850-8-1:2004, cl. 18; 9-2LE guideline; IEC 61869-9:2016

What is lost

SV lost = T · frames per second; GOOSE lost = T / MaxTime; alarm if T > time allowed to live

An event that happens during the interruption arrives up to T late. If T exceeds the time allowed to live of the last frame, the subscriber flags the communication as lost.

Source: IEEE 802.3

Delay of a frame along the path

t = (S + 1) · (L + 8) · 8 / C + S · latency

S is the number of switches or nodes that forward the frame, L its length in bytes and C the link speed. It assumes store and forward without queues.

Limits of the calculation

  • The RSTP time is a worst case from a manufacturer's white paper. MRP and proprietary rings have other times.
  • It does not model queues or priority: the GOOSE/SV addresses and process bus tool does.
  • In RSTP it assumes one IED per switch and the root on switch 1. In PRP each LAN is a single switch.
  • It does not replace the tests of your substation network. The example cases are illustrative.

Frequently asked questions

Why is RSTP not suitable for sampled values?

Because frames are lost while the ring reconfigures. With 8 switches and the times of the RUGGEDCOM white paper the recovery takes about 31 ms: almost 150 sampled-value frames from each merging unit at 4800 frames per second. That is why the process bus uses PRP or HSR, which lose no frames with one failure.

What happens if exactly the blocked link of the ring fails?

Nothing in the traffic: that link carried no data. RSTP only registers the topology change. The tool shows it if you click the link marked as blocked.

Do PRP or HSR survive two failures?

Not always. PRP survives one failure in each LAN if they are not on the same path; HSR loses the nodes left isolated between the two failures. Try two failures in the tool and see which IED loses service.

Related guides

Other tools

All tools
WhatsApp