Skip to content

Commit e2ec3ec

Browse files
authored
Merge pull request #641 from NREL/develop
v3.12.3 master < develop
2 parents 5ac66db + 14a1f36 commit e2ec3ec

File tree

4 files changed

+63
-0
lines changed

4 files changed

+63
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ Classify the change according to the following categories:
2626
##### Removed
2727
### Patches
2828

29+
## v3.12.3
30+
### Minor Updates
31+
### Added
32+
- Add inputs: **PV.acres_per_kw** and **PV.kw_per_square_foot**
33+
2934
## v3.12.2
3035
### Patches
3136
- Enable the downloadable results spreadsheet (`job/generate_results_table` endpoint) to work with previous runs by avoiding errors when trying to do math with values of type None - handle None as zero/0
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Generated by Django 4.0.7 on 2025-03-04 16:40
2+
3+
import django.core.validators
4+
from django.db import migrations, models
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
('reoptjl', '0080_electricloadoutputs_annual_electric_load_with_thermal_conversions_kwh_and_more'),
11+
]
12+
13+
operations = [
14+
migrations.AddField(
15+
model_name='pvinputs',
16+
name='acres_per_kw',
17+
field=models.FloatField(blank=True, default=0.006, help_text='The acres per kW-DC for ground-mount PV systems in acres per kW, accounting for setbacks, row spacing, etc. The recommended PV system size is constrained based on the sum of land area available, assuming the ground-mount power density specified here, and roofspace available, assuming the specified rooftop power density.', validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(10)]),
18+
),
19+
migrations.AddField(
20+
model_name='pvinputs',
21+
name='kw_per_square_foot',
22+
field=models.FloatField(blank=True, default=0.01, help_text='The installed power density for rooftop PV systems in kW per square foot, accounting for setbacks, row spacing, etc. The recommended PV system size is constrained based on the sum of land area available, assuming the specified ground-mount power density, and roofspace available, assuming the rooftop power density specified here.', validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(10)]),
23+
),
24+
]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Generated by Django 4.0.7 on 2025-04-24 18:14
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('reoptjl', '0081_pvinputs_acres_per_kw_pvinputs_kw_per_square_foot'),
10+
('reoptjl', '0083_electricutilityoutputs_peak_grid_demand_kw_and_more'),
11+
]
12+
13+
operations = [
14+
]

reoptjl/models.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2984,6 +2984,26 @@ class PV_LOCATION_CHOICES(models.TextChoices):
29842984
blank=True,
29852985
help_text="Where PV can be deployed. One of [roof, ground, both] with default as both."
29862986
)
2987+
kw_per_square_foot = models.FloatField(
2988+
default=0.01,
2989+
validators=[
2990+
MinValueValidator(0),
2991+
MaxValueValidator(10)
2992+
],
2993+
blank=True,
2994+
help_text=("The installed power density for rooftop PV systems in kW per square foot, accounting for setbacks, row spacing, etc. The recommended PV system size is constrained "
2995+
"based on the sum of land area available, assuming the specified ground-mount power density, and roofspace available, assuming the rooftop power density specified here.")
2996+
)
2997+
acres_per_kw = models.FloatField(
2998+
default=0.006,
2999+
validators=[
3000+
MinValueValidator(0),
3001+
MaxValueValidator(10)
3002+
],
3003+
blank=True,
3004+
help_text=("The acres per kW-DC for ground-mount PV systems in acres per kW, accounting for setbacks, row spacing, etc. The recommended PV system size is constrained "
3005+
"based on the sum of land area available, assuming the ground-mount power density specified here, and roofspace available, assuming the specified rooftop power density.")
3006+
)
29873007
production_factor_series = ArrayField(
29883008
models.FloatField(
29893009
blank=True

0 commit comments

Comments
 (0)