Skip to content

Conversation

@kilojoules
Copy link
Collaborator

@kilojoules kilojoules commented Jul 23, 2025

Proposed changes to support WIFA tool https://github.com/EUFLOW/WIFA

Major Additions

  1. NetCDF Conversion Utility
  • Added dict_to_netcdf() helper function in init.py to convert dictionary data (from ds2yml) back to xarray Dataset format
  • Includes automatic coordinate dimension inference and optional netCDF file export
  1. Simulation Output Data Schema
  • Renamed outputs.yaml to simulation_outputs.yaml schema, which is now definition dedicated to handling simulation output data associated with wind energy systems
  • Supports turbine-specific time series data including power output, wind speed/direction, thrust, and rotor effective velocity
  • Supports simulation-specific quantieis
  1. SCADA Data Schema
  • Basic scada_data.yaml schema for records of real wind farm operation

Schema Enhancements

  1. Energy Resource Updates
  • Added operating flag to track which turbines are operational in the energy resource schema
  1. Wind Energy System Updates
  • Integrated new simulation_output and SCADA data schemas
  • Fixed deflection model naming (Batankhah2016 → Bastankhah2016)
  • Restored ss_alpha parameter for SelfSimilarityDeficit2020 model

Technical Improvements

  • Better support for non-interpolated flow fields as outputs
  • Corrected multidimensional data handling throughout the schemas
  • Enhanced blockage model parameter specifications

@kilojoules kilojoules changed the title Draft: Enhanced WIFA Support Enhanced WIFA Support Jul 29, 2025
@kilojoules kilojoules requested a review from bayc July 29, 2025 16:13
@ptrbortolotti
Copy link
Collaborator

@kilojoules there are conflicts that must be resolved. @bayc please review this PR once conflicts are resolved

@kilojoules kilojoules changed the title Enhanced WIFA Support Draft: Enhanced WIFA Support Aug 26, 2025
@kilojoules kilojoules changed the title Draft: Enhanced WIFA Support Enhanced WIFA Support Oct 8, 2025
title: Effective Wind Speed in m/s
description: Effective wind speed
$ref: "common.yaml#/definitions/multi_dimensional_data"
wind_direction:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider how this interacts with energy_resource.yaml as an input.

title: Time
description: Timestamps for the data points
$ref: "common.yaml#/definitions/multi_dimensional_coordinate"
turbine:
Copy link
Collaborator

@bayc bayc Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple with turbine_identifiers in the wind farm schema?

$ref: "./common.yaml#/definitions/multi_dimensional_coordinate"
oneOf:
- $ref: "./common.yaml#/definitions/multi_dimensional_data"
- $ref: "./common.yaml#/definitions/multi_dimensional_coordinate"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider the difference between multi_dimensional_data and multi_dimensional_coordinate.

$ref: "./common.yaml#/definitions/multi_dimensional_data"

#~
turbine_data:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How to differentiate for the user the difference between this turbine_data and the turbine_data in scada_data.

wind_farm:
$ref: "./wind_farm.yaml"
#~
simulation_output:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Figure out how to prevent a recursive loop with the hook here and in wind_energy_system. Same for scada_data.

Copy link
Collaborator

@bayc bayc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for working needs, with some comments to be addressed in the future.

@bayc bayc merged commit 36553c5 into IEAWindSystems:main Nov 4, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants