Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,38 @@ Removed. `scripts/bump_version.py` turns them into a release section.
- Modify Base Load modal shows peak loads without and with the base load side by side
- Status line in both modals says what is in the table and whether Apply or Confirm is needed
next; Confirm is disabled while an entered value has not been applied or nothing changed
- Equipment Manager page, linked in the sidebar next to the documentation: browse the equipment
library by type, search it, and inspect each item's data, data checks and performance curves
(plot and table, SI/IP) (#171)
- Performance curve plot in the edit equipment scenario window, with the curve at the selected
supply temperature highlighted (#171)
- Equipment validation that reports every problem in an equipment definition (errors and
warnings), groundwork for the Equipment Manager and editable performance curves (#171)
- Optional `source`, `based_on` and `notes` fields on equipment, to tell library equipment from
user-made copies
- Custom equipment in the Equipment Manager: duplicate any library item and edit the copy's
properties (including efficiency of backup heating and chillers), curve points, supply
temperatures and operating limits; save, edit or delete custom items. Library equipment is never
changed, and custom items survive the equipment Reset (#171)
- Scaling of heat pump performance curves by a COP and a capacity percentage; factors are relative
to the unscaled curves and are recorded on the item (#171)
- Import and export of custom equipment in the Equipment Manager: export all custom items as a
JSON file and import them in a later session; import also reads the custom items of a results
settings file. Library equipment is never replaced: an item with a library ID is imported as a
custom copy, and invalid items are rejected with a reason (#171)
- Refrigerant database (`data/input/refrigerants.csv`, IPCC AR4 GWPs) behind the refrigerant input,
which fills in the GWP automatically (#171)

### Changed

- Performance curve plots restyled: white background with light grid, legend above the plot,
outdoor air temperature labelled under both AWHP panels, unified hover, the part of a curve outside its operating limits drawn dashed, and the original
curves shown in grey behind a custom copy (#171)
- Equipment validation also reports missing (blank) curve values
- Charts use Open Sans, the font of the rest of the interface, instead of Helvetica
- Performance curve tables have grouped, sentence-case headings (a column group per supply
temperature, with units as secondary text) instead of uppercase headings with units in brackets
- The Equipment Manager shows equipment names with their own capitalisation instead of all caps
- Default unit system is IP; SI can still be selected with the unit toggle
- Results download is named after the case (building, location, climate zone, load scaling,
base load, unit system), e.g. `decarb_B3_Denver_CZ5B_scaled-h1.25-c1.25_SI_<date>.zip`, and
Expand All @@ -47,13 +76,18 @@ Removed. `scripts/bump_version.py` turns them into a release section.
- Heating and cooling can each have their own base load (floor or offset); applying a base
load replaces the previous one for that load type instead of stacking, and base loads are
always applied after scaling
- Heat pump curves are now also checked for strictly increasing outdoor temperature or capacity
values, positive COP and capacity, numeric non-duplicate supply temperatures, and ordered
min/max limits before a calculation runs

### Fixed

- Combined LRMER/SRMER/AER CO₂e rate columns in the results CSV were not converted (and had no
unit) in IP mode
- Applying load scaling repeatedly no longer compounds the scale factor
- Input labels and the base load method description show as soon as the modals open
- The supply temperature reset now picks the lowest supply temperature curve numerically
instead of alphabetically (no effect on the current equipment library)

## [0.1.0] - 2026-10-13

Expand Down
17 changes: 16 additions & 1 deletion assets/css/custom-dash-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,19 @@
background-color: rgb(240, 241, 242); /* Bootstrap primary */
color: rgb(0, 0, 0) !important;
border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
}
}

/* Equipment Manager curve tables: sentence-case headings instead of the theme's uppercase */
.eqm-table th,
.eqm-table .dash-header {
text-transform: none !important;
letter-spacing: normal !important;
font-weight: 600;
vertical-align: bottom;
}

.eqm-table .eqm-unit {
display: block;
font-weight: 400;
color: var(--mantine-color-dimmed);
}
21 changes: 21 additions & 0 deletions data/input/refrigerants.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name,aliases,gwp,type,safety_class,note
R-32,,675,HFC,A2L,IPCC AR4
R-410A,,2088,HFC blend,A1,IPCC AR4 (R-32/R-125 50/50)
R-454B,,466,HFC/HFO blend,A2L,IPCC AR4 (R-32/R-1234yf 68.9/31.1)
R-452B,,698,HFC/HFO blend,A2L,IPCC AR4 (R-32/R-125/R-1234yf 67/7/26)
R-454C,,148,HFC/HFO blend,A2L,IPCC AR4 (R-32/R-1234yf 21.5/78.5)
R-466A,,733,HFC blend,A1,IPCC AR4 (R-32/R-125/R-13I1 49/11.5/39.5)
R-449A,,1397,HFC/HFO blend,A1,IPCC AR4 (R-32/R-125/R-1234yf/R-134a 24.3/24.7/25.3/25.7)
R-407C,,1774,HFC blend,A1,IPCC AR4 (R-32/R-125/R-134a 23/25/52)
R-404A,,3922,HFC blend,A1,IPCC AR4 (R-125/R-143a/R-134a 44/52/4)
R-134a,,1430,HFC,A1,IPCC AR4
R-513A,,631,HFC/HFO blend,A1,IPCC AR4 (R-1234yf/R-134a 56/44)
R-515B,,292,HFO/HFC blend,A1,IPCC AR4 (R-1234ze(E)/R-227ea 91.1/8.9)
R-22,,1810,HCFC,A1,IPCC AR4; phased out
R-1234yf,,4,HFO,A2L,IPCC AR4
R-1234ze(E),R-1234ze,1,HFO,A2L,Not in IPCC AR4; EPA value (IPCC AR5 <1)
R-1233zd(E),R-1233zd,1,HCFO,A1,Not in IPCC AR4; EPA value (IPCC AR5 1)
R-290,Propane,3,Natural (HC),A3,IPCC AR4
R-600a,Isobutane,3,Natural (HC),A3,IPCC AR4
R-717,Ammonia,0,Natural,B2L,IPCC AR4
R-744,CO2,1,Natural,A1,IPCC AR4 (reference gas)
21 changes: 18 additions & 3 deletions docs/documentation/equipment.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,23 @@ This scenario group varies the WWHP and AWHP heating hot water supply temperatur

This scenario group compares fully gas and fully electric heating plants with a partial AWHP scenario and a fuel switching scenario.

### Equipment Manager

The Equipment Manager, linked in the sidebar, lists all equipment with its data checks, performance curves and properties. Library equipment is never changed. To customise an item, select it and click **Duplicate to edit**. This creates a custom copy that you can then edit:

- **Overview**: name, manufacturer, capacities, efficiency (backup heating and chillers), refrigerant, charge, weight, dimensions, electrical data and notes. Pick a refrigerant from the list to fill in its GWP (IPCC AR4, 100-year). For a refrigerant that is not listed, type its name and enter the GWP yourself.
- **Performance** (heat pumps): edit any curve point in the table, add or remove curve points and supply temperatures, and change the outdoor air temperature limits of each curve. **Scale curves** multiplies all COP and/or capacity values of the selected mode by a percentage. The factors are relative to the unscaled curves, so applying 90 % twice still gives 90 %. While you edit, the original curves are shown in grey for comparison.

Click **Save** to store the copy. Saving is blocked while the data checks report errors; warnings, such as a COP outside 1 to 8, are allowed. Custom equipment appears in the equipment selections of the scenario edit window, marked "custom". It is kept for the browser session, also when the equipment scenarios are reset, and is included in the settings file of the results download. A custom item cannot be deleted while a scenario uses it.

**Import and export.** Custom equipment is only kept for the browser session. To keep it, click **Export custom**. This downloads all custom items as a JSON file (`decarb_custom_equipment_<date>.json`). Load the file again in a later session with **Import**. Import also accepts the settings file from a results download and takes the custom equipment out of it. When importing:

- an item that matches one already in the tool is skipped;
- a custom item with the same ID as one in the session replaces it;
- an item with the ID of library equipment is imported as a new custom copy, so library equipment is never replaced;
- items with data errors are not imported, and the message shows why.

### Future Development

1. Allow users to edit the equipment library and add new equipment models.
2. Display equipment sizing outputs, such as total capacity required, total number of units, and total refrigerant weight.
3. Allow users to edit the HHWST reset bounds.
1. Display equipment sizing outputs, such as total capacity required, total number of units, and total refrigerant weight.
2. Allow users to edit the HHWST reset bounds.
Loading
Loading