Skip to content

Commit

Permalink
Fix ASHPWaterHeater default sizing_factor to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill-Becker committed Sep 16, 2024
1 parent 2596208 commit 3c110ae
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 4.0.7 on 2024-09-15 21:23

import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('reoptjl', '0066_alter_siteinputs_outdoor_air_temperature_degf'),
]

operations = [
migrations.AlterField(
model_name='ashpwaterheaterinputs',
name='sizing_factor',
field=models.FloatField(blank=True, default=1.0, help_text='Size of system relative to max dispatch output [fraction]', null=True, validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(100000000.0)]),
),
]
2 changes: 1 addition & 1 deletion reoptjl/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5628,7 +5628,7 @@ class ASHPWaterHeaterInputs(BaseModel, models.Model):
],
null=True,
blank=True,
default = 0.0,
default = 1.0,
help_text=("Size of system relative to max dispatch output [fraction]")
)

Expand Down

0 comments on commit 3c110ae

Please sign in to comment.