mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
Map landlord electric room heaters to the direct-acting room-heater SAP code 🟥
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
597510b996
commit
ce59413f46
1 changed files with 10 additions and 0 deletions
|
|
@ -36,6 +36,16 @@ def test_gas_combi_overlays_the_primary_heating_code() -> None:
|
|||
assert simulation.heating.sap_main_heating_code == 104
|
||||
|
||||
|
||||
def test_electric_room_heaters_overlay_the_direct_acting_room_heater_code() -> None:
|
||||
# Act — panel/convector/radiant direct-acting electric room heaters
|
||||
simulation = main_heating_overlay_for("Electric room heaters", 0)
|
||||
|
||||
# Assert — SAP Table 4a code 691, NOT convector storage (403).
|
||||
assert simulation is not None
|
||||
assert simulation.heating is not None
|
||||
assert simulation.heating.sap_main_heating_code == 691
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
("main_heating_value", "code"),
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue