Skip to content

Commit

Permalink
Fix SteamTurbine size_class 3 option
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill-Becker committed Apr 4, 2024
1 parent 089153d commit 7aded8d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by Django 4.0.7 on 2024-04-04 21:48

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


class Migration(migrations.Migration):

dependencies = [
('reoptjl', '0055_alter_settings_optimality_tolerance_and_more'),
]

operations = [
migrations.AlterField(
model_name='electricloadinputs',
name='annual_kwh',
field=models.FloatField(blank=True, help_text="Annual site energy consumption from electricity, in kWh, used to scale simulated default building load profile for the site's climate zone", null=True, validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(10000000000)]),
),
migrations.AlterField(
model_name='steamturbineinputs',
name='size_class',
field=models.IntegerField(blank=True, choices=[(0, 'Zero'), (1, 'One'), (2, 'Two'), (3, 'Three')], help_text='Steam turbine size class for using appropriate default inputs', null=True),
),
]
2 changes: 1 addition & 1 deletion reoptjl/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5228,7 +5228,7 @@ class SIZE_CLASS_LIST(models.IntegerChoices):
ZERO = 0,
ONE = 1
TWO = 2
FOUR = 4
THREE = 3

min_kw = models.FloatField(
null=True,
Expand Down

0 comments on commit 7aded8d

Please sign in to comment.