Skip to content

Conversation

@Bill-Becker
Copy link
Collaborator

This pull request introduces a new input parameter for wind systems called acres_per_kw, which specifies the land area required per kW of wind capacity. This value defaults to 0.03 and only constrains wind system sizing for capacities greater than 1500 kW. The change is reflected in the model, migration, documentation, and test data.

Wind system land area constraint

  • Added acres_per_kw field to the WindInputs model in reoptjl/models.py, with a default value of 0.03, validation, and help text explaining its use for systems over 1500 kW.
  • Created a migration file 0112_windinputs_acres_per_kw.py to add the new field to the database schema.
  • Updated test data in reoptjl/test/posts/all_inputs_test.json to include the new acres_per_kw input with its default value.

Documentation

  • Documented the new acres_per_kw input in the CHANGELOG.md under v3.17.3, describing its purpose and default value.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces land area constraints for wind systems by adding an acres_per_kw input parameter to the WindInputs model. This feature parallels the existing acres_per_kw implementation for PV systems, allowing REopt to constrain wind system sizing based on available land area for systems larger than 1500 kW.

Key changes:

  • Added acres_per_kw field to WindInputs model with a default of 0.03 acres/kW and validation range of 0-100
  • Created database migration to support the new field
  • Updated test data to include the new parameter

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
reoptjl/models.py Added acres_per_kw FloatField to WindInputs model with validators and help text
reoptjl/migrations/0112_windinputs_acres_per_kw.py Database migration to add the new field to the schema
reoptjl/test/posts/all_inputs_test.json Updated comprehensive test data to include the new parameter
CHANGELOG.md Documented the new feature in v3.17.3 release notes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Bill-Becker Bill-Becker merged commit 46dfe52 into develop Dec 9, 2025
8 checks passed
@Bill-Becker Bill-Becker deleted the wind-power-density branch December 9, 2025 22:40
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.

3 participants