added cost for dual immersion heater

This commit is contained in:
Khalim Conn-Kowlessar 2024-10-08 18:25:45 +01:00
parent 83d56d9bc6
commit 703cdcf1cb

View file

@ -852,7 +852,8 @@ class Costs:
:param number_heated_rooms: int, number of rooms to be heated
"""
total_cost = 1500 * number_heated_rooms
# 500 is the cost of a dual immersion heater - a rough estimate
total_cost = 1200 * number_heated_rooms + 500
subtotal_before_vat = total_cost / (1 + self.VAT_RATE)
vat = total_cost - subtotal_before_vat