-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Teddi edited this page Mar 27, 2026
·
1 revision
- Node.js 18+
- npm 9+
git clone https://github.com/gridtech-is/scd-visualizer.git
cd scd-visualizer
npm install
npm run devOpen http://localhost:5173 in your browser.
npm run buildOutput is placed in dist/.
- Python 3.10+
- No external pip packages required (standard library only)
python3 scd_validator.py --input path/to/file.scd --out-dir ./out| Code | Meaning |
|---|---|
0 |
No validation errors |
1 |
One or more validation errors found |
2 |
Parse or I/O error |
| File | Contents |
|---|---|
goose_matrix.csv |
GOOSE publisher/subscriber matrix |
sv_matrix.csv |
Sampled Values matrix |
flows_detail.csv |
Detailed flow list |
validation_report.csv |
All validation issues |
- Launch the app (
npm run dev) - Drag and drop an SCD/SCL file onto the startup screen, or click Open and select a file
- The app parses the file in a background worker and opens the Dashboard view
To compare two versions of a file:
- Click Compare on the startup screen or the top bar
- Load the old file (slot A) and the new file (slot B)
- The diff panel highlights added, modified, and removed elements
Edit validation_config.json to adjust GOOSE/SV VLAN and timing thresholds:
{
"goose": {
"vlan_priority_min": 4,
"min_time_ms": 2,
"max_time_ms": 1000
},
"sv": {
"vlan_priority_min": 4
}
}This file is used by both the Python CLI and the TypeScript frontend validation pipeline.