Skip to content

Commit

Permalink
remove ASHP API defaults when they are present in REopt.jl defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
zolanaj committed Sep 17, 2024
1 parent ecf6daa commit fe6dd44
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions reoptjl/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5279,7 +5279,6 @@ class ASHPSpaceHeaterInputs(BaseModel, models.Model):
],
null=True,
blank=True,
default = MAX_BIG_NUMBER,
help_text=("Maximum thermal power size constraint for optimization [ton]")
)

Expand Down Expand Up @@ -5310,7 +5309,6 @@ class ASHPSpaceHeaterInputs(BaseModel, models.Model):
],
null=True,
blank=True,
default = 1.0,
help_text=("Size of system relative to max dispatch output [fraction]")
)

Expand All @@ -5320,7 +5318,6 @@ class ASHPSpaceHeaterInputs(BaseModel, models.Model):
MinValueValidator(0),
MaxValueValidator(MAX_BIG_NUMBER)
],
default=2250.0,
null=True,
blank=True,
help_text=("Thermal power-based cost of ASHP space heater [$/ton] (3.5 ton to 1 kWt)")
Expand All @@ -5331,22 +5328,19 @@ class ASHPSpaceHeaterInputs(BaseModel, models.Model):
MinValueValidator(0),
MaxValueValidator(MAX_BIG_NUMBER)
],
default=0.0,
null=True,
blank=True,
help_text=("Thermal power-based cost of ASHP space heater [$/ton] (3.5 ton to 1 kWt)")
)

macrs_option_years = models.IntegerField(
default=MACRS_YEARS_CHOICES.ZERO,
choices=MACRS_YEARS_CHOICES.choices,
blank=True,
null=True,
help_text="Duration over which accelerated depreciation will occur. Set to zero to disable"
)

macrs_bonus_fraction = models.FloatField(
default=0.0,
validators=[
MinValueValidator(0),
MaxValueValidator(1)
Expand Down Expand Up @@ -5439,14 +5433,12 @@ class ASHPSpaceHeaterInputs(BaseModel, models.Model):
)

can_serve_cooling = models.BooleanField(
default=True,
null=True,
blank=True,
help_text="Boolean indicator if ASHP space heater can serve cooling load"
)

force_into_system = models.BooleanField(
default=False,
null=True,
blank=True,
help_text="Boolean indicator if ASHP space heater serves compatible thermal loads exclusively in optimized scenario"
Expand All @@ -5470,7 +5462,6 @@ class ASHPSpaceHeaterInputs(BaseModel, models.Model):
],
null=True,
blank=True,
default = -10.0,
help_text=("Temperature threshold below which resistive back-up heater turns on [Fahrenheit]")
)

Expand Down Expand Up @@ -5598,7 +5589,6 @@ class ASHPWaterHeaterInputs(BaseModel, models.Model):
],
null=True,
blank=True,
default = MAX_BIG_NUMBER,
help_text=("Maximum thermal power size constraint for optimization [ton]")
)

Expand Down Expand Up @@ -5629,7 +5619,6 @@ class ASHPWaterHeaterInputs(BaseModel, models.Model):
],
null=True,
blank=True,
default = 1.0,
help_text=("Size of system relative to max dispatch output [fraction]")
)

Expand All @@ -5638,7 +5627,6 @@ class ASHPWaterHeaterInputs(BaseModel, models.Model):
MinValueValidator(0),
MaxValueValidator(MAX_BIG_NUMBER)
],
default=2250.0,
null=True,
blank=True,
help_text=("Thermal power-based cost of ASHP water heater [$/ton] (3.5 ton to 1 kWt)")
Expand All @@ -5649,22 +5637,19 @@ class ASHPWaterHeaterInputs(BaseModel, models.Model):
MinValueValidator(0),
MaxValueValidator(MAX_BIG_NUMBER)
],
default=0.0,
null=True,
blank=True,
help_text=("Thermal power-based cost of ASHP water heater [$/ton] (3.5 ton to 1 kWt)")
)

macrs_option_years = models.IntegerField(
default=MACRS_YEARS_CHOICES.ZERO,
choices=MACRS_YEARS_CHOICES.choices,
blank=True,
null=True,
help_text="Duration over which accelerated depreciation will occur. Set to zero to disable"
)

macrs_bonus_fraction = models.FloatField(
default=0.0,
validators=[
MinValueValidator(0),
MaxValueValidator(1)
Expand Down Expand Up @@ -5733,12 +5718,10 @@ class ASHPWaterHeaterInputs(BaseModel, models.Model):
],
null=True,
blank=True,
default = -10.0,
help_text=("Temperature threshold below which resistive back-up heater turns on [Fahrenheit]")
)

force_into_system = models.BooleanField(
default=False,
null=True,
blank=True,
help_text="Boolean indicator if ASHP space heater serves compatible thermal loads exclusively in optimized scenario"
Expand Down

0 comments on commit fe6dd44

Please sign in to comment.