Install
openclaw skills install pmu-data-quality-skillRun data quality checks on PMU (Phasor Measurement Unit) data. Use when the user asks to validate, check, or audit PMU measurements including frequency, voltage magnitude, and phasor angle data against security limits. Also triggers for keywords like "data quality", "PMU check", "out of range", "bad data", or "security limit".
openclaw skills install pmu-data-quality-skillPerforms automated data quality checks on PMU (Phasor Measurement Unit) CSV data files against configurable security limits defined in IEEE/NERC standards.
python <skill_base_path>/scripts/pmu_quality_check.py path/to/data.csv
python <skill_base_path>/scripts/pmu_quality_check.py path/to/data.csv --config <skill_base_path>/templates/limits_config.json
python <skill_base_path>/scripts/pmu_quality_check.py <skill_base_path>/templates/sample_pmu_data.csv
The input CSV should have columns similar to:
| timestamp | frequency | voltage_mag | voltage_angle | current_mag | current_angle |
|---|
timestamp — ISO 8601 or Unix epochfrequency — in Hzvoltage_mag — in per-unit (pu) or kV (specify in config)voltage_angle / current_angle — in degreescurrent_mag — in per-unit (pu) or AmpsColumn names are configurable via the limits config JSON. If the user's CSV uses different column names (like those from openHistorian or FNET exports), update the column_mapping section in the config.
The script produces:
data_flagged.csv)--html flag is passed