Working log for alignment-toggle-plan.md. Newest items are appended to each section.
| Repo | Branch | Commits |
|---|---|---|
| wcomp | main |
bb0251e checkpoint of the aligned working tree (before restructuring); 4c8988e settings resolution, aligned case files, ALIGNMENTS; 352e862 dataset split, generators, validation; e3a4e5e site; docs commit |
| FLORIS | configurable-rotor-averaging |
1cb00fb4, 62ba6f05, 6b791d47, 8fd24b76, cbf17267, a9237569 (configurable averaging); 9fe5faca, 6c1592ad, 41d1cdf9 (full-flow solvers) |
| windIO | analyses-block |
d977231, 59678bd |
Nothing was pushed in any repo.
- Keys live in the
solverblock:power_average_method,thrust_average_method(both optional).turbine_grid:linear-mean,quadratic-mean,cubic-mean(defaultcubic-mean).turbine_cubature_grid:linear-cubature,quadratic-cubature,cubic-cubature. Thrust default islinear-cubature; power default stayscubic-mean(upstream behaviour).
turbine_cubature_gridwithturbine_grid_points: Nhas N x N points (N = 3 gives 9). So windIOn_pointsmaps tosqrt(n_points).- Upstream
FlorisModel._get_turbine_powersignored the grid's averaging method (always an unweighted cubic mean). The branch now passespower_average_method, with the default unchanged. - Decision for the plan: the plan said cubature-grid power defaults to
linear-cubature. The FLORIS work kept upstream numerics instead (cubic-mean), since a different default would change upstream results. The aligned yaml setslinear-cubatureexplicitly, so nothing is lost. - Not changed, flagged by the FLORIS work: the
ccsolver inner average keeps itscubic-meandefault;solverhas no unknown-key check;set(solver_settings=...)replaces the whole dict;full_flow_*solvers and the visualization path build a hidden default grid and ignore the new keys.
attributes.analysesis in the plant schema, all 12 wcompanalysesblocks validate against it.- Whole-file validation of the wcomp case files still fails for unrelated reasons (
air_density,wind_farmshape). Out of scope. velocity.name/deflection.nameare free strings (no enum).- Not encoded in the schema:
cubatureneedsn_points, FLORIS needs a perfect square. The wcomp adapter enforces both.
- FLORIS wake plots ignored the
solverblock.calculate_*_planeandsample_flow_at_pointssolve the turbines on a hiddenTurbineGrid(grid_resolution=3)with default averaging, and the viz path replaces the solver dict. The new keys therefore had no effect on any wake plot. The checkpoint's "aligned" FLORIS plots had been produced by that hidden grid with the local research defaults (quadratic mean, radius ratio 1.0), not by the cubature grid. Fix (FLORIS9fe5faca): when either averaging key is present, the hidden grid uses the configured grid type, points and methods. Without the keys, output is bit-identical to upstream v4.7 (168 arrays compared). - The checkpoint's aligned
rotor_average.jsonhad a FLORIS broadcast bug. Cubature velocities were reshaped to(1, 1, 1, 9)while the weights broadcast along axis 2, so the weighted mean wasmean(w) * mean(v).wcomp/rotor_average.pynow keeps FLORIS' own array shape. FLORIS' nine-point cubature is exact on the quadratic field (error1e-15); the old text claiming FLORIS "only reaches the inner half radius" described the defaultTurbineGrid, and the site now says so per view. - Existing site text described the default data. The hand-written guidance on the case pages (for example
"FOXES and PyWake coincide while FLORIS departs") matched the default dataset and not the aligned one. Each
statement is now tagged
default,alignedor both, and the aligned statements quote numbers read from the dataset. - FOXES reads the case through the adapter's
load_yaml(input_file). The plan's open question is resolved: there is no path dependency, so committed per-case files are a choice, not a constraint. - Residual PyWake difference. In the aligned view PyWake still departs from FLORIS and FOXES along the hub-height line for the four-turbine Jensen and Bastankhah 2014 cases while the cross-sections agree; the streamwise plot shows the dip at the last rotor plane. The page text names the rotor planes as a candidate and does not claim it.
- Regenerated
defaultdataset vs theHEAD(c809858) dataset: identical (zero difference in every profile, contour and metric file). - Regenerated
aligneddataset vs the checkpoint data: FLORIS differs by up to0.28 m/spointwise (TurbOPark, four turbines) and0.011 m/sin streamwise RMSE, because of finding 1. FOXES and PyWake are unchanged. Streamwise RMSE per software pair is within0.002 m/sof the checkpoint in every case. - wcomp: 51 tests pass (settings mapping, aligned-file diff, dataset schema for both alignments, per-alignment rotor-averaging and turbine-performance checks).
- FLORIS: 339 tests pass. windIO: new tests pass; 3 pre-existing failures (missing
pint, one meta-schema test) are the same with and without the change. - Site:
npm run buildvalidates the dataset and builds 30 pages (15 per view). Checked in a browser: the toggle keeps the page and the#streamwiseanchor, aligned charts load the aligned dataset.
- Manifest layout:
alignments[]each withid,label,description, asettingstable,residual_differencesandcases. The settings table is generated from the reference case (one_turbine/jensen); a test checks all cases share the same block. --alignment {default,aligned,all}on all three generators (defaultall).wcomp.rotor_averagewrites with--write-dataset(or--output FILEfor a single alignment); without either it prints the tables.- FLORIS accepts
power_average_methodon the cubature grid defaulting tocubic-mean(upstream behaviour); the aligned yaml nameslinear-cubaturethrough the exponents. - The
wind_speed_exponent_*keys are limited to 1, 2 and 3 by the adapter, not by the windIO schema. - Non-
Squaredsuperposition raises in all three adapters; onlySquaredis implemented. - Added the optional "effect of aligning the configuration" table to each case page.
- Should windIO enumerate model names? (Currently free strings.)
- Should
wind_speed_exponent_*be limited to 1, 2, 3? (Currently any number; the wcomp adapter rejects other values for FLORIS.) - FOXES
n_points: 9in the aligned yaml is not honoured (FOXES keepsgrid16). The adapter reports it and the site shows it as a residual difference. - FLORIS: the
ccsolver's inner rotor average ignoresthrust_average_methodonturbine_grid;solverhas no unknown-key check;set(solver_settings=...)replaces the whole solver dict. None affect the wcomp cases. - Upstream FLORIS ignored the grid's averaging method for power (always an unweighted cubic mean). The branch
now honours
power_average_methodwith the default unchanged. Switching the cubature-grid default tolinear-cubaturewould change upstream results and is left to the FLORIS maintainers. - The FLORIS
gch/ccfull-flow output differs fromrun()at the rotor points when secondary steering, yaw-added recovery or transverse velocities are on. This is upstream behaviour, unrelated to this change. - The Jimenez one-turbine FLORIS vs FOXES RMSE is larger in the aligned view (
0.049vs0.023 m/s). The cause was not investigated.