windfarm_fno

A compact FNO2d (width 16, 8x8 modes, three blocks) maps turbine occupancy and the supplied upstream speed to a 50x50 steady velocity plane: u/Uin - 1 and v/Uin on the coarse grid. Call predict_layout(turbines, inlet_m_s) with the rotor pixel coordinates of the 400x400 crop.

windfarm_fno v1.0.0 (revision v1.0.0) · part of the PINNeAPPle zoo · reference: The public PI-DeepWFLO CFD archive (doi:10.5281/zenodo.15809637), 16 held-out layouts.

Try it without installing anything: PINNeAPPle zoo demo (pick windfarm_fno: its predictions along each input with their band and where its physics checks warn or fail, and your own inputs evaluated in the browser).

Task: Wind farm: steady velocity plane from the turbine layout and the upstream speed

Inputs

Name Unit Description
turbines pixel rotor pixel coordinates (n, 2) on the 400x400 crop
inlet_m_s m/s supplied upstream speed

Outputs

Name Unit Description
u_m_s m/s streamwise velocity on the 50x50 grid
v_m_s m/s crosswind velocity on the 50x50 grid

Validity range

  • grid: 50
  • turbine_pixels: [0, 399]
  • regime: the layouts of the published PI-DeepWFLO archive; steady 2-D

Known limitations

  • Not the authors' PI-DeepWFLO architecture and not a CFD replacement: a coarse-resolution field baseline.
  • The reference fields are the Zenodo archive 10.5281/zenodo.15809637, not shipped here: the card's metrics are the study's measured values.
  • Downstream power is a proxy: the study reports Spearman 0.903 on 16 held-out layouts and only 1 of 3 top layouts matched, which is not an AEP claim.

Architecture

  • FNO2d — {"in_channels": 2, "out_channels": 2, "width": 16, "modes1": 8, "modes2": 8, "layers": 3, "use_grid": true, "padding": 5}

Physics

Validation

Reference: The public PI-DeepWFLO CFD archive (doi:10.5281/zenodo.15809637), 16 held-out layouts.

Metric Value
published/u_rmse_m_s 0.30811527862550786
published/v_rmse_m_s 0.20170394394100327
published/u_r2 0.9882302682486118
published/wake_u_rmse_m_s 0.6825308951329478
published/wake_cells_fraction 0.100675

Cost

  • train_seconds: 12.42213500899993
  • inference_seconds: 0.029114413000115746

Trust

Decision: REVIEW · score — · coverage 0%

  • card metrics reproduced on the stored reference (max relative difference): não executada — the reference cases are external to this repository (see the card's data_lineage)
  • the reference fields are the Zenodo archive 10.5281/zenodo.15809637, not bundled; the card's metrics are the study's measured values: não executada — reference archive not bundled
  • cobertura 0% abaixo do mínimo de 60%

Published despite REVIEW: experimental tier: REVIEW; measured against a Zenodo archive that is not bundled: the zoo reports the study's numbers and records that it did not recompute them

Training data

  • family: pi_deepwflo
  • reference_source: doi:10.5281/zenodo.15809637
  • artifact: benchmarks/industrial/pi_deepwflo/models/pinneapple-fno-seed42.npz
  • case_ids: {'train': [0, 2, 3, 4, 5, 7, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 34, 36, 37, 38, 40, 41, 42, 43, 44, 45, 47, 48, 50, 51, 54, 56, 57, 58, 60, 61, 63, 64, 65, 66, 67, 69, 70, 71, 72, 76, 77, 80, 81, 82, 83, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 99, 100, 101, 102, 103, 105, 106, 108, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 127], 'validation': [1, 6, 8, 49, 53, 68, 74, 75, 79, 96, 104, 107, 109, 110, 125, 126], 'test': [10, 30, 32, 33, 35, 39, 46, 52, 55, 59, 62, 73, 78, 84, 97, 98]}

License: apache-2.0

Citation

PI-DeepWFLO public archive doi:10.5281/zenodo.15809637

How to use

pip install "pinneapple @ git+https://github.com/PINNeAPPle-Labs/PINNeAPPle"
import pinneapple as pp

model = pp.zoo.load("windfarm_fno")          # weights checked against their SHA-256
inputs = {"turbines": [[100.0, 200.0], [300.0, 200.0]], "inlet_m_s": 8.0}
out = model.predict(inputs)                 # warns for inputs outside the validity range
print({k: round(float(v[0]), 6) for k, v in out.items()})
# {'u_m_s': 7.914109, 'v_m_s': 0.006383}
print(bool(model.in_range(inputs)[0]))      # inside the validity range
# True
print(pp.zoo.validate(model).decisao)        # card metrics reproduced + physics checks
# REVIEW

The inputs are the first held-out test case of the training dataset; its reference value is . pp.zoo.evaluate("windfarm_fno") recomputes every metric of the card on the stored reference.

Hosted inference

No Hugging Face inference provider can run this model, so the Hub widget is off (inference: false). It is a small PyTorch network, but its prediction is more than a forward pass: the inputs are encoded and normalised, the outputs denormalised (and, for ensembles, averaged with their spread), and every query is checked against the validity range and the model's physics checks. The pinneapple library does all of that (below); the ONNX graph carries the pre- and post-processing but not the checks; the zoo demo Space shows the model along a sweep of each input and runs it, with its checks, in your browser.

Files

File Content SHA-256
weights.pt PyTorch state_dict (torch.load(weights_only=True)), what pp.zoo.load reads 5e2aa14bc6d08c7acfc28a2521e092f67fef2ded2a03e6213fbd62c3b31aee64
config.json architecture and normalisation f13a08987abfef893e33d244369d0d7820b771666676e7b02d4218f35b409d74
model_card.json the model card: inputs, outputs, validity range, metrics, trust report 5cf596b8d60bae7f4708563deb4df2a223ee9f302660fc1cb48318dfe894dd68
model.safetensors the same tensors as weights.pt in safetensors format (pinneapple_hub.zoo.export.load_safetensors loads them) derived
example.json the "How to use" case: inputs, outputs, reference, verdicts derived

The SHA-256 are those of the package's manifest: pp.zoo.load refuses any other file.

Cite

If you use this model, please cite PINNeAPPle (software, Zenodo DOI 10.5281/zenodo.23343062; see CITATION.cff):

@software{pinneapple,
  author = {Barros, Yan and Schiassi, Enrico},
  title  = {PINNeAPPle},
  doi    = {10.5281/zenodo.23343062},
  url    = {https://github.com/PINNeAPPle-Labs/PINNeAPPle}
}
Downloads last month
-
Safetensors
Model size
99.2k params
Tensor type
C64
·
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support