Skip to content

Commit

Permalink
Squash the thermal (make)migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill-Becker committed Dec 23, 2022
1 parent 75ed5fc commit d008e0c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 103 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.0.6 on 2022-09-22 20:19
# Generated by Django 4.0.6 on 2022-12-23 22:15

import django.contrib.postgres.fields
import django.core.validators
Expand All @@ -8,14 +8,24 @@
class Migration(migrations.Migration):

dependencies = [
('job', '0010_rename_prod_factor_series_pvinputs_production_factor_series_and_more'),
('job', '0015_coolingloadinputs_coolingloadoutputs_and_more'),
]

operations = [
migrations.RenameField(
model_name='existingboileroutputs',
old_name='year_one_thermal_to_tes_series_mmbtu_per_hour',
new_name='year_one_thermal_to_tes_series_series_mmbtu_per_hour',
),
migrations.AddField(
model_name='domestichotwaterloadinputs',
name='addressable_load_fraction',
field=django.contrib.postgres.fields.ArrayField(base_field=models.FloatField(blank=True, validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(1.0)]), blank=True, default=list, help_text='Fraction of input fuel load which is addressable by heating technologies.Can be a scalar or vector with length aligned with use of monthly_mmbtu or fuel_loads_mmbtu_per_hour.', size=None),
field=django.contrib.postgres.fields.ArrayField(base_field=models.FloatField(blank=True, validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(1.0)]), blank=True, default=list, help_text='Fraction of input fuel load which is addressable by heating technologies (default is 1.0).Can be a scalar or vector with length aligned with use of monthly_mmbtu or fuel_loads_mmbtu_per_hour.', size=None),
),
migrations.AddField(
model_name='spaceheatingloadinputs',
name='addressable_load_fraction',
field=django.contrib.postgres.fields.ArrayField(base_field=models.FloatField(blank=True, validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(1.0)]), blank=True, default=list, help_text='Fraction of input fuel load which is addressable by heating technologies (default is 1.0).Can be a scalar or vector with length aligned with use of monthly_mmbtu (12) or fuel_loads_mmbtu_per_hour.', size=None),
),
migrations.AlterField(
model_name='domestichotwaterloadinputs',
Expand All @@ -32,4 +42,9 @@ class Migration(migrations.Migration):
name='fuel_loads_mmbtu_per_hour',
field=django.contrib.postgres.fields.ArrayField(base_field=models.FloatField(blank=True), blank=True, default=list, help_text='Vector of space heating fuel loads [mmbtu/hr] over one year. Must be hourly (8,760 samples), 30 minute (17,520 samples), or 15 minute (35,040 samples). All non-net load values must be greater than or equal to zero. ', size=None),
),
migrations.AlterField(
model_name='spaceheatingloadinputs',
name='monthly_mmbtu',
field=django.contrib.postgres.fields.ArrayField(base_field=models.FloatField(blank=True, validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(100000000.0)]), blank=True, default=list, help_text="Monthly site space heating energy consumption in [MMbtu] (array of length 12). Used to scale simulated default building load profile for the site's climate zone", size=None),
),
]

0 comments on commit d008e0c

Please sign in to comment.