Updates log
TopFarm2 2.7.1 (October 21, 2026)
Improved
Renamed the default branch from
mastertomain(CI config, badges, and docs links updated accordingly).Added a lightweight Read the Docs mirror of the documentation (pip-only build; doesn’t execute notebooks, since that’s already covered by the full GitLab CI build) and a GitHub mirror link alongside the main GitLab source.
Corrected the Citation section (README and docs) to the actual Zenodo-generated citation, and added the “cite all versions” concept DOI.
Fixed
XYPlotCompno longer shows a spurious blank/duplicate plot in notebooks (the inline matplotlib backend was auto-displaying its live-updating figure a second time at the end of cell execution); fixedDummyCostPlotCompdrawing onto the wrong axes as a result.external_drivers.ipynb: theopenmdaopip install is now version-guarded instead of running unconditionally (was causing noisy SSL/network errors on every execution), and switched to%matplotlib inline(was causing widget-render errors in the static docs build).co2_emissions.ipynbwas missing%matplotlib inline, so plots rendered as text placeholders instead of images.modoptpinned to a newer commit after itsarray_managerdependency’s git ref was deleted upstream, which broke the dependency solve.Several long-standing Sphinx build warnings: duplicate autodoc entries for plotting components, a docstring substitution-reference error, a missing toctree entry (
turbine_specific_boundaries.ipynb), a broken intra-notebook link, a heading-level inconsistency, and a too-short title underline.
TopFarm2 2.7.0 (September 18, 2026)
New
CO2 emissions cost models for wind farm layout optimization (
topfarm.cost_models.co2_emissions):Simplified LCA engineering model for turbine and inter-array cable manufacturing (
lca.LCACostModelComponent), with a lightweight INNWIND-based default and a detailed bill-of-materials alternative via the DTU offshore cost model.Operations & maintenance (O&M) vessel emissions (
om.OMCO2CostModelComponent), based on an event-based maintenance model and the IMO fuel-based vessel emissions method.Grid CO2 displacement (
displacement.CO2DisplacementComponent), including two hourly time-series methods: a linear marginal displacement factor method and a reverse-merit-order method.New example datasets under
topfarm.examples.data.co2_displacement.New example notebook:
docs/notebooks/co2_emissions.ipynb.
TopFarm2 2.6 (September 26, 2025)
New
Economic cost models example notebook (CAPEX/OPEX, NPV) using the
costmodelspackage’s project interface.New inter-array cable layout example using OptiWindNet.
Improved
OpenMDAO and pyoptsparse dependency updates, with numpy >= 2.0 support.
More turbine-type colors in layout plots; optional progress bar for Smart Start.
Fixed
PyWakeAEPCostModelComponentnow surfaces AEP call errors instead of failing silently.Constant-learning-rate bug in the SGD driver; distance-to-turbine bug in exclusion/inclusion zones.
TopFarm2 2.5 (January 14, 2025)
New
User-specified spacing constraint.
Option to start SGD with a constant initial learning rate.
Improved
numpy >= 2.0 and OpenMDAO upgrade; CI and developer-environment modernization (pixi).
Multi-wind-farm constraints refactor.
Fixed
Polygon boundary distance calculation failing for large vertex counts.
TopFarm2 2.4 (November 21, 2024)
New
Joint multi-farm layout optimization; wind farm cluster feature and notebook.
Regular-grid layout optimization component, turbine-specific boundary constraints, and neighbouring-turbines support.
Spacing constraint aggregation (combined into one penalty, with an analytical gradient).
Improved
CI, packaging and developer tooling modernized, with testing across multiple Python versions; switched to PyDOE3.
Constraint violation handling reorganized into its own component.
Fixed
Several
MultiPolygonBoundaryComp/ design-variable interaction bugs.
TopFarm2 2.3 (March 8, 2022)
New
Bathymetry-dependent foundation cost example.
AEPMaxLoadCostModelComponentfor joint AEP and load-constrained optimization.Smart Start enhancements: multiple turbine types, random seeding, and an
n_randomparameter for diverse suboptimal solutions.
Improved
Analytical AEP gradient (
dAEP_dxy) inPyWakeAEPCostModelComponent.
Fixed
SLSQP bound-limit workaround disabled for scipy versions where it’s no longer needed.
TopFarm2 2.2 (November 25, 2019)
New
RandomSearchDriver, with parallelization support.Simple spanning-tree cable-layout optimizer.
New load constraint component; wind-to-load plugin support.
Improved
Additional recorders; more
EasyScipyOptimizeDriveroptions.
Fixed
CostModelComponentedge cases with tuple input keys.Recorder bug where all recorded elements referenced the last record instead of their own value.
TopFarm2 2.1 (May 28, 2019)
New
TopFarmGroup, for integrated optimization combining non-objective and objective components (e.g. AEP together with IRR).PyWake-to-TopFarm cost component wrapper; FLORIS support alongside PyWake.
Parallel group / MPI example.
Fixed
Boundary-satisfaction bug near x/0 in the function/gradient time-ratio calculation;
satisfy()correctness fix for more turbines.
TopFarm2 2.0 (January 3, 2019)
New
Initial TopFarm2 release: an OpenMDAO-based rewrite of TopFarm, with the “Easy” driver API, the
CostModelComponentwrapper for pure-Python cost functions, and Sphinx/notebook documentation.