Adding in heating demand table

This commit is contained in:
Khalim Conn-Kowlessar 2023-07-26 10:19:44 +01:00
parent e762584a66
commit aec6196594
2 changed files with 69 additions and 4 deletions

View file

@ -42,5 +42,6 @@ export interface ConditionReportData {
tenure: string;
retrofitFeatures: Feature[];
generalFeatures: GeneralFeature[];
heatingDemand: GeneralFeature[];
yearBuilt: string;
}

View file

@ -175,11 +175,78 @@ export default async function PreAssessmentReport() {
feature: "Floor Height",
description: 2.4,
},
{
feature: "Number of heated rooms",
description: 5,
},
{
feature: "Heat loss corridor",
description: "No",
},
{
feature: "Heat loss corridor length",
description: 0,
},
{
feature: "Number of open fire places",
description: 0,
},
{
feature: "Number of extensions",
description: 0,
},
{
feature: "Floor level",
description: "Ground",
},
{
feature: "Number of storeys",
description: 2,
},
{
feature: "Mains gas available",
description: "Yes",
},
{
feature: "Energy tariff",
description: "Standard",
},
],
heatingDemand: [
{
feature: "EPC primary energy consumption",
description: "98 kWh/m2/year",
},
{
feature: "EPC CO2 emissions",
description: "2.8 tonnes/year",
},
{
feature: "Elecrticity Supplier",
description: "E.ON Energy",
},
{
feature: "Gas Supplier",
description: "British Gas",
},
{
feature: "Meter reading total energy consumption",
description: "108 kWh/m2/year",
},
{
feature: "Meter reading electicity consumption",
description: "22 kWh/m2/year",
},
{
feature: "Meter reading gas consumption",
description: "86 kWh/m2/year",
},
],
};
const retrofitFeatures = conditionReportData.retrofitFeatures;
const generalFeatures = conditionReportData.generalFeatures;
const heatingDemand = conditionReportData.heatingDemand;
return (
<div className="leading-loose tracking-wider">
@ -203,13 +270,10 @@ export default async function PreAssessmentReport() {
</div>
<div className="flex py-8 text-lg">General Features</div>
<FeatureTable data={generalFeatures} columns={generalColumns} />
{
// Floor height, number of heated rooms, heat loss corridoor and heat loss corridor length, number of open fire places, number of extensions,
// floor level if a flat, number of storeys if a flat, whether mains gas is available, energy tarigg,
}
<div className="flex py-8 text-lg">Retrotfit Property Features</div>
<FeatureTable data={retrofitFeatures} columns={retrofitColumns} />
<div className="flex py-8 text-lg">Heating Demand</div>
<FeatureTable data={heatingDemand} columns={generalColumns} />
</div>
);
}