Online Resource 1: MATLAB source code

Article: Physics-guided lightweight detection of stealthy false data injection attacks under communication impairments and model shift
Author: Yiding Duan

Requirements
- MATLAB R2021a
- Statistics and Machine Learning Toolbox
- MATPOWER 8.1

Setup
1. Open project_config.m and confirm cfg.matpower_path.
2. Set the current MATLAB folder to this code folder.
3. Run run_schedule_diagnostic.m to check class coverage.
4. Run run_all.m for the main experiments.
5. Run run_repeated_trials.m for ten-seed statistics.
6. Run run_ac_mismatch_validation.m for the AC-operating-point/DC-detector shift test.

The programs create a results folder containing the tables and figures used in the article.
