From 053558d88db459bb48b7694c829ca47df91adeff Mon Sep 17 00:00:00 2001 From: bill-becker Date: Thu, 25 Sep 2025 14:10:55 -0600 Subject: [PATCH 1/2] Add can_waste_heat input for CST --- .../0104_cstinputs_can_waste_heat.py | 18 ++++++++++++++++++ reoptjl/models.py | 6 ++++++ 2 files changed, 24 insertions(+) create mode 100644 reoptjl/migrations/0104_cstinputs_can_waste_heat.py diff --git a/reoptjl/migrations/0104_cstinputs_can_waste_heat.py b/reoptjl/migrations/0104_cstinputs_can_waste_heat.py new file mode 100644 index 000000000..51704a1be --- /dev/null +++ b/reoptjl/migrations/0104_cstinputs_can_waste_heat.py @@ -0,0 +1,18 @@ +# Generated by Django 4.0.7 on 2025-09-25 20:01 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('reoptjl', '0103_merge_20250917_2157'), + ] + + operations = [ + migrations.AddField( + model_name='cstinputs', + name='can_waste_heat', + field=models.BooleanField(blank=True, default=True, help_text='Boolean indicator if CST waste (not use) heat relative to its potential production', null=True), + ), + ] diff --git a/reoptjl/models.py b/reoptjl/models.py index 8472bd177..38272057f 100644 --- a/reoptjl/models.py +++ b/reoptjl/models.py @@ -8966,6 +8966,12 @@ class CSTInputs(BaseModel, models.Model): blank=True, help_text="Boolean indicator if CST can only supply hot TES" ) + can_waste_heat = models.BooleanField( + default=True, + null=True, + blank=True, + help_text="Boolean indicator if CST waste (not use) heat relative to its potential production" + ) emissions_factor_lb_CO2_per_mmbtu = models.FloatField( validators=[ MinValueValidator(0), From f03817a138a7e52e8839bbfda1309ec7f1971dbc Mon Sep 17 00:00:00 2001 From: bill-becker Date: Thu, 25 Sep 2025 14:11:12 -0600 Subject: [PATCH 2/2] Update REopt.jl to v0.54.1 --- julia_src/Manifest.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/julia_src/Manifest.toml b/julia_src/Manifest.toml index d70a383ef..fe97a7a04 100644 --- a/julia_src/Manifest.toml +++ b/julia_src/Manifest.toml @@ -932,9 +932,9 @@ uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" [[deps.REopt]] deps = ["ArchGDAL", "CSV", "CoolProp", "DataFrames", "Dates", "DelimitedFiles", "HTTP", "JLD", "JSON", "JuMP", "LinDistFlow", "LinearAlgebra", "Logging", "MathOptInterface", "Requires", "Roots", "Statistics", "TestEnv"] -git-tree-sha1 = "f9fd5a8419a3a1c057403fb34fd4f47c15afe28e" +git-tree-sha1 = "e87732914598f85a8ba0ad3226df540b84dd1ec7" uuid = "d36ad4e8-d74a-4f7a-ace1-eaea049febf6" -version = "0.54.0" +version = "0.54.1" [[deps.Random]] deps = ["SHA"]