Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

Sleeping888/DA-PG-SHWATCN

Machine Learning

Reproducibility materials and checkpoints for a delay-aware, physics-guided wind farm power forecasting study.

117
0
Python
3 days old

What this is

This repository accompanies a research paper on delay-aware, physics-guided wind farm power forecasting. It ships the training code, run configurations, checkpoints, training logs, split definitions and six-horizon predictions behind the reported experiments: 27 comparison runs (three seeds × nine models) and 18 delay/history runs. run_index.json maps every run, MANIFEST_SHA256.json stores upload-file hashes, and release_info.json records release metadata. Local paths in text and source snapshots are normalized to project_root as described in PATH_REDACTION.md.

Inspect predictions

The package expects Python with NumPy. Prediction archives live at predictions/<study>/<seed>/<case>.npz, each holding a pred_kw float32 array shaped [7517, 134, 6] in kW, indexed by test origin, turbine ID and horizon 1–6. Shared ground truth sits in data/shared_test_targets.npz. To load one run and check shapes:

import numpy as np
pred = np.load('predictions/comparison/84/full.npz', allow_pickle=False)['pred_kw']
with np.load('data/shared_test_targets.npz', allow_pickle=False) as z:
    raw = z['true_kw_raw']; valid = z['observed_flag']; times = z['target_time']
print(pred.shape, raw.shape, valid.sum())

tools/verify_package.py checks manifest hashes and every prediction archive's shape; tools/read_predictions.py prints a run or exports one horizon to CSV. Score observed labels with observed_flag and true_kw_raw; score the filled series with true_kw_as_run. Farm-level observed-label scoring needs all 134 labels at an origin to be valid.

Rebuild the data

The raw SDWPF files and feature caches are not included. Download the 2021 records from the SDWPF dataset on figshare and rebuild using code/as_run and tools. The split is chronological but not purged, so five target timestamps overlap at each boundary (see splits/definitions.json); the retained time axis has 59 intervals that are not 10 minutes long. Any comparison against the paper's numbers must account for this exact split and label convention.

Reproduce runs

code/as_run/<study>/runner.py reproduces a study from its plan.json. Two supported variants are unreported in the paper: no_hetero (physical wake graph without soft-role gating and adaptive branch) and mtgnn. The paper's w/o Delay and w/o Farm Loss are the full model run with --use_wake_delay 0 and --farm_loss_weight 0, respectively. Run-level outputs for the Table 6 ablation variants and Table 9 coefficient scan are not included, so those tables cannot be regenerated from this package alone.

Constraints

Raw data and feature caches must be obtained externally and rebuilt before the full pipeline runs. No license is declared, so reuse terms are unclear. Figures are provided as print-ready files for Figures 1–8 plus the graphical abstract at 300 dpi and 177 mm width, with editable source only for Figure 1. Text files use the project_root placeholder, so scripts may need path adjustment before running locally.

HotRepo's take

Recorded on the Python new-project board on 2026-11-26, the repo gained 4 stars in a roughly 1.5-hour window, reaching 104 stars and 0 forks; it has no recorded GitHub all-language daily rank and no discussion threads. The growth is small and short-window, so it does not support conclusions about adoption or impact. The package's value lies in the concrete artifacts it exposes (indexed runs, hashed uploads, shape-checked predictions) and in clearly stating what is missing (raw data, Table 6/9 run outputs), which makes the documentation specific enough to check claims against the included files.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. brainintelli/BioSignal-Guided-LLM-Reinforcement-LearningResearch repo testing whether organoid neural-signal readouts change LLM agent exploration and survival in a Godot game, with paired evaluation code.Python107
  2. google-research/timesfmPretrained foundation model for univariate and multivariate time-series forecasting, runnable in PyTorch or on Apple Silicon via MLX.Python35,208