| scan |
One emission of every meter in the plan from one grid state: readings and masks. |
models.frames.Scan, engine.measurement.Emitter.emit_from_state |
| frame |
One row of a timeline: the scan at one pool timestep with the attack of its episode applied, or none. |
models.frames.Frame, generation.write.TimelineWriter.store |
| record |
One row as the loader serves it, ds[i]: a frame of a timeline. |
dataset/records.py, models.data.RecordBundle |
| timestep |
The index of the pool state a frame was emitted from; on a timeline frame t is timestep t. |
data/timestep, schema.TIMESTEP |
| episode |
A run of consecutive frames under one attack of one family on one design; episodes never overlap. |
models.plan.Episode, episodes/ group, data/seq_id |
| onset |
The first frame of an episode, drawn uniformly among the positions of its split where the episode fits. |
generation.plan.uniform_onset, episodes/onset |
| pool |
The operating-point pool: one converged AC state per frame, in time order. An IEEE pool is an array [T, N, 4] in |V|, P_inj, Q_inj, theta order, one state per minute of the load profile. The New York pool is a Pool record, one state per five-minute frame; a frame that did not solve is kept empty. |
data.ieee_pool.generate_states, generation._load_states, pool_ieee{C}.h5; data.pool.Pool, data.pool.PoolBuilder |
| timeline |
One HDF5 file per system: every pool timestep scanned in time order, with attack episodes placed on it; the file format of every data release from v0.8.0. |
timeline.generate_timeline, schema.KIND_TIMELINE |
| release |
A tagged set of data assets (data-v<x.y.z> from v0.8.0), pinned by sha256; registry._RELEASE is the default. |
registry.py, tools/upload_assets.py |
| split |
The train, val and test partition (0, 1, 2), cut before any episode is placed, so every episode lies inside one split: three blocks in time order by default, or whole weeks (the setting split_by). |
generation.plan.split_bounds, generation.plan.split_weeks, generation.source.TimelineSource.cut_splits, data/split, models.choices.Split, schema.SPLIT_CODE |
| family |
The attack type of a frame: 0 benign, 1 Aq, 2 Ad, 3 As, 4 Ar, 5 At, 6 Al, 7 Am. |
constants.families.FAMILIES, constants.families.FAMILY_CODE, data/family |
| stealthy |
1 for the families built as local false states (Aq, At, Al, Am), which pass the residual test. |
constants.families.STEALTHY_FAMILIES, data/stealthy |
| area |
The buses an attacker may act in: by default the buses within hops branches of the goal's buses, the slack left out, grown over the zero-injection buses of its boundary, with hops reduced until a boundary is left. A support is chosen inside it. |
engine.attacks.area.AttackArea.hop_area, attack_area |
| support |
The buses whose voltages a local false state moves; only meters that depend on them can change. The fewest-tamper search chooses it; without the search it is the whole area. |
engine.attacks.minimize.Minimizer.min_tamper |
| boundary |
The buses one branch outside a support (or an area). Their voltages stay true; their reported injections take up the change. |
engine.attacks.area.AttackArea.boundary |
| reach |
A support with its boundary: every bus whose reported injection a false state on that support can change. |
engine.attacks.false_state.FalseState.reach |
| snapshot |
One state of an attack window, counted from the window's first frame. |
engine.attacks.window.AttackWindow |
| device |
One SCADA terminal (a bus's injection meters, the flows metered at that bus, a voltage meter without PMU) or one PMU (a bus's voltage magnitude and angle, and under the hybrid meter model the branch currents it reads at the bus), the unit [WU26] counts. |
formulas.attacks.tampered_devices |
| meter model |
What the meters read: "hybrid", new generation's, where a SCADA voltmeter reads |V| only and each PMU reads |V|, the angle and the current phasor of every in-service branch at its bus; or "v083", the released files', with an angle at every voltmeter bus and no currents. |
models.choices.MeterModel, models.config.MeterSettings, generate_timeline(..., redundancy={"meter_model": ...}) |
| PMU branch current |
The current phasor a PMU reads at its end of a branch, I_f = Y_f V or I_t = Y_t V, stored as real and imaginary part per end in pmu_i [WU26, eqs. 19-20]; noise at IEEE C37.118.1's 1% total vector error [C37118]. |
formulas.network.branch_currents, formulas.noise.current_sigma, the generator's masks.current |
| overload attack |
Am in new generation: the apparent flow of two lines at once by default (OverloadSettings.n_lines; FlowGoal.more), as the tampered measurements carry it before noise, driven snapshot by snapshot to the line's rating over the window, on the support that tampers the fewest devices, its attackable loads and generators free inside the limits [WU26, eqs. 12-25]. |
engine.attacks.overload.Overload |
| zero-injection bus |
A bus with no load and no producing unit, whether or not it has a shunt: a shunt is in the admittance matrix and a pool stores a bus's injection without the shunt's draw, so the bus's true injection is zero. No attack shows an injection there: an area grows over one on its boundary, and a candidate support that would leave one on its boundary takes it in. |
engine.core.FdiaGenerator (zero_inj), engine.attacks.area.AttackArea.grow_over_zero_injection |
| free injection |
A bus whose injection a flow-goal attacker may change: an attackable load or a generator (the latter inside its limits to within what its bus's injection meter resolves, [WU26, eqs. 22-23]); a zero-injection bus is held at zero. |
engine.attacks.false_state.FalseState.free_injection_buses |
| load cap |
The overload attack's load-plausibility bound: every load bus the attack moves, in its support or on the support's boundary (a bus with a base load, no generator, not the slack), shows an active change of at most load_cap times its true load [YUA11]; 0.5 by default. |
models.config.OverloadSettings.load_cap, generate_timeline(..., am_attack={"load_cap": ...}), engine.attacks.false_state.FalseState.solve_flow_local |
| line rating |
A branch's thermal limit S_max in MVA: by default rating_margin (1.25) times its peak true apparent flow over the operating pool, or on request the PGLib-OPF rate_a matched by end buses (generate_timeline(..., am_attack={"rating_source": "pglib"}), the margin as am_attack={"rating_margin": ...}, both through models.config.OverloadSettings); the IEEE cases pandapower ships carry only a 9,900 MVA placeholder. |
engine.attacks.overload.Overload.use_line_ratings, models.config.OverloadSettings, fdia_graph.ratings, formulas.attacks.branch_ratings |
| stealth scale |
A multiplier on At's stealth bound, whose unit is the meters' rated accuracy; 1 by default. Am has no stealth bound, as in [WU26]. |
generate_timeline(stealth_scale=...) |
| paper noise |
The noise of [WU26]'s case studies: flat, 0.03 pu on SCADA and 0.01 pu on PMU channels. The package counts with the meters' own class; MeterSettings.power_floor_pu at 0.03 puts the SCADA figure under the power meters of a data set. |
constants.meters.WU26_SCADA_NOISE_PU, WU26_WAMS_NOISE_PU, models.config.MeterSettings |
| tamper cost |
The devices with a channel moved beyond its meter's noise at some snapshot of an attack window, the objective of [WU26, eq. 12]. The noise is the accuracy-class sigma at the true reading, the noise the file's readings carry, for both families. A ramp's cost may be zero; an overload's is at least one device. |
formulas.attacks.tampered_channels, tampered_devices, engine.attacks.window.AttackWindow.cost |
| accuracy-class sigma |
A meter's rated accuracy at a reading (relative for power channels plus a floor, absolute for voltage and angle): the sigma the measured calibration uses, the threshold of the fewest-tamper search for both families, the ramp's stealth bound and, by default, the slack on a generator limit. |
NoiseModel.sigmas, formulas.noise.accuracy_class_sigma |
| jitter sigma |
The per-scan random part of a meter's error, a quarter of its accuracy class; the emitter draws each reading's noise with it. Emission only. |
NoiseModel.sample |
| local false state |
A state in which only the support is re-solved under false loads, boundary voltages held true, and the attack vector h(x_false) - h(x_true) is added to the true scan; it meets constraints (13)-(18) and (21)-(23) of [WU26], and in new generation the branch-current phasors (19)-(20); new generation also holds it on the fewest-device support of eq. (12). |
engine.attacks.ramp_frames.RampFrames._stealthy_frame, engine.attacks.false_state.FalseState.solve_local, engine.attacks.area.AttackArea.hop_area |
| theta_ref |
The one slack angle every estimate is referenced to, fixed at fit time from the training split. |
se.base.SEBase._fit_reference, ref_angles |
| active buses |
The buses attacked somewhere in the records being scored; macro scores average over them. |
models.scores.OverallMetrics, formulas.metrics.tau_from_counts |
| attackable buses |
Buses whose load an attack may target: nonzero active load, not the slack, at most max_load_mw; the stealthy families also skip generator buses [BOY22]. A learned localizer's _attackable is the buses labelled attacked in its training split. |
engine.core.FdiaGenerator._load_tables (attackable_pos, stealthy_pos), localization.learned.LearnedLocalizer |