Ratio conso - source DPE
Analyse de la source des DPE (ADEME) : consommations des bâtiments tertiaires selon leur usages, leur taille, leur époque de construction et autres caractéristiques disponibles.
Exploitations de la base DPE de l’ADEME
Limites : les données des DPE ne reflètent pas l’ensemble de la structure du parc tertiaire, les analyses qui suivent sont données à titre indicatif et seront utilisé pour moduler ou conforter des hypothèses sur les ratios énergétiques.
Filtres retenus :
- DPE après 2021
- zone climatique H1a
- élimination des valeurs aberrantes (conso > 50 kWh/m².an et < 1000 kWh/m².an)
Rappel sur les grandeurs physiques
- 5 usages pris en compte :
- chauffage
- eau chaude sanitaire
- refroidissement
- éclairage
- consommations auxiliaires (ventilation, bureautique etc…)
- Valeur en énergie finale
Avec les filtres retenus, DPE sont étudiés dans cette analyse.
Dispersion globale des consommations
Plot.plot({
//y: {grid: true,label: "↑ kwhef_m2an"},
y:{label:"tertiaire, zone climatique H1a, DPE après 2021"},
marks: [
//Plot.ruleY([0]),
Plot.boxX(res, {x: "kwhef_m2an"}),
Plot.dot(res, Plot.groupY(
{x: "mean"},
{y: "source", x:"kwhef_m2an", fill:"black", stroke:"yellow"}
)),
Plot.textX(res, Plot.groupY(
{text:"mean", x: "mean"},
{text:"kwhef_m2an", y: "source", x:"kwhef_m2an", dx:0,dy:-10, textAnchor:"start", fill:"black", stroke:"yellow"},
)),
]
})Dispersion selon les périodes de construction
Plot.plot({
grid: true,
marginLeft: 100,
height: 400,
style: {
fontSize: 14
},
y:{
domain:['avant 1948','1948-1974','1975-1988','1989-2000','2001-2005','2006-2012','2013-2021','après 2021']
},
color: {legend: true},
marks: [
//Plot.frame(),
//Plot.ruleY([0]),
Plot.boxX(res, {
y: "periode_construction",
x: "kwhef_m2an",
fill:"periode_construction"
}),
Plot.text(res, Plot.groupY({text: "count"}, {y: "periode_construction", y: 0, dy:10, dx: 20, stroke:"white", fill:"black", fontSize :10})),
Plot.text(res, Plot.groupY(
{text: "count"},
{y: "periode_construction", x: 0, dy:-10, dx: 10, stroke:"white", fill:"periode_construction", fontSize :12, textAnchor:"start"}
)),
Plot.dot(res, Plot.groupY(
{x: "mean"},
{y: "periode_construction", x:"kwhef_m2an", fill:"black", stroke:"yellow"}
)),
Plot.textX(res, Plot.groupY(
{text:"mean", x: "mean"},
{text:"kwhef_m2an", y: "periode_construction", x:"kwhef_m2an", dx:0,dy:-10, textAnchor:"start", fill:"black", stroke:"yellow"},
)),
]
});Dispersion selon la période de construction et le type de secteur
typeSecteurChoices = [...new Set(res.map(item => item.typesecteur))]
viewof typeSecteur = Inputs.select(typeSecteurChoices, {label:"Type secteur"})
res_filter_typesecteur = res.filter(d=> d.typesecteur == typeSecteur)
Plot.plot({
grid: true,
marginLeft: 100,
height: 400,
style: {
fontSize: 14
},
y:{
domain:['avant 1948','1948-1974','1975-1988','1989-2000','2001-2005','2006-2012','2013-2021','après 2021']
},
color: {legend: true},
marks: [
Plot.boxX(res_filter_typesecteur, {
y: "periode_construction",
x: "kwhef_m2an",
fill:"periode_construction"
}),
Plot.text(res_filter_typesecteur, Plot.groupY(
{text: "count"},
{y: "periode_construction", x: 0, dy:-10, dx: 10, stroke:"white", fill:"periode_construction", fontSize :12, textAnchor:"start"}
)),
Plot.dot(res_filter_typesecteur, Plot.groupY(
{x: "mean"},
{y: "periode_construction", x:"kwhef_m2an", fill:"black", stroke:"yellow"}
)),
Plot.textX(res_filter_typesecteur, Plot.groupY(
{text:"mean", x: "mean"},
{text:"kwhef_m2an", y: "periode_construction", x:"kwhef_m2an", dx:0,dy:-10, textAnchor:"start", fill:"black", stroke:"yellow"},
)),
]
});Consommation selon les secteurs d’activités
myChart = Plot.plot({
grid: true,
marginLeft: 60,
height: 400,
//width:800,
style: {
fontSize: 11
},
x:{domain:[0,800], ticks:8},
marks: [
Plot.boxX(res, {y: "typesecteur", x: "kwhef_m2an", stroke:"typesecteur", fill:"typesecteur", fillOpacity:0.5}),
Plot.text(res, Plot.groupY(
{text: "count"},
{y: "typesecteur", x: 0, dy:-10, dx: 2, stroke:"white", fill:"typesecteur", fontSize :12, textAnchor:"start"}
)),
Plot.textX(res, Plot.groupY(
{text:"P10", x: "P10"},
{text:"kwhef_m2an", y: "typesecteur", x:"kwhef_m2an", dx:-2,dy:8, textAnchor:"end", fill:"pink",fontSize :8, stroke:"white"},
)),
Plot.textX(res, Plot.groupY(
{text:"P25", x: "P25"},
{text:"kwhef_m2an", y: "typesecteur", x:"kwhef_m2an", dx:-2,dy:-8, textAnchor:"end", fill:"grey", stroke:"white"},
)),
Plot.textX(res, Plot.groupY(
{text:"P50", x: "P50"},
{text:"kwhef_m2an", y: "typesecteur", x:"kwhef_m2an", dx:0,dy:-8, textAnchor:"middle", fill:"white", stroke:"typesecteur"},
)),
Plot.textX(res, Plot.groupY(
{text:"P75", x: "P75"},
{text:"kwhef_m2an", y: "typesecteur", x:"kwhef_m2an", dx:2,dy:-8, textAnchor:"start", fill:"grey", stroke:"white"},
)),
Plot.textX(res, Plot.groupY(
{text:"P90", x: "P90"},
{text:"kwhef_m2an", y: "typesecteur", x:"kwhef_m2an", dx:-2,dy:8, textAnchor:"start", fill:"pink",fontSize :8, stroke:"white"},
)),
Plot.dot(res, Plot.groupY(
{x: "mean"},
{y: "typesecteur", x:"kwhef_m2an", fill:"black", stroke:"yellow"}
)),
Plot.textX(res, Plot.groupY(
{text:"mean", x: "mean"},
{text:"kwhef_m2an", y: "typesecteur", x:"kwhef_m2an", dx:0,dy:10, textAnchor:"middle", fill:"black", stroke:"yellow"},
)),
]
});
//DOM.download(() => serialize(myChart), undefined, "Save as SVG")
//DOM.download(() => rasterize(myChart), undefined, "Save as PNG")Dispersion selon la classe de surface
Plot.plot({
grid: true,
marginLeft: 200,
height: 200,
width: 600,
style: {
fontSize: 14
},
y:{
domain:['a-Inférieur à 5 000 m²','b-De 5 000 m² à 20 000 m²','c-De 20 000 à 40 000 m²','d-Supérieur à 40 000 m²']
},
color: {legend: true},
marks: [
//Plot.frame(),
//Plot.ruleY([0]),
Plot.boxX(res, {
y: "classe_surface_retenue",
x: "kwhef_m2an",
fill:"classe_surface_retenue"
}),
Plot.text(res, Plot.groupY({text: "count"}, {y: "classe_surface_retenue", y: 0, dy:10, dx: 20, stroke:"white", fill:"black", fontSize :10})),
Plot.text(res, Plot.groupY(
{text: "count"},
{y: "classe_surface_retenue", x: 0, dy:-10, dx: 0, stroke:"white", fill:"classe_surface_retenue", fontSize :12, textAnchor:"start"}
)),
Plot.dot(res, Plot.groupY(
{x: "mean"},
{y: "classe_surface_retenue", x:"kwhef_m2an", fill:"black", stroke:"yellow"}
)),
Plot.textX(res, Plot.groupY(
{text:"mean", x: "mean"},
{text:"kwhef_m2an", y: "classe_surface_retenue", x:"kwhef_m2an", dx:0,dy:-10, textAnchor:"start", fill:"black", stroke:"yellow"},
)),
]
});Exploration : Conso selon surfaces, secteurs d’activité et période de construction
secteurActiviteChoices = [...new Set(res.map(item => item.typesecteur))]
viewof secteurActivite = Inputs.select(secteurActiviteChoices, {label:"Type secteur"})
// à creuser
// https://observablehq.com/@observablehq/synchronized-inputs?collection=@observablehq/inputs
viewof surfaceMini = Inputs.range([0,400000],{value:0, step:100, label:"surface mini"})
viewof surfaceMaxi = Inputs.range([0,400000],{value:400000, step:100, label:"surface maxi"})
viewof periodeConstruction = Inputs.select(['avant 1948','1948-1974','1975-1988','1989-2000','2001-2005','2006-2012','2013-2021','après 2021'],{label: "Période de construction"})
res_filtre_secteur_surf = res.filter(d=> d.typesecteur == secteurActivite && d.surface_retenue<=surfaceMaxi && d.surface_retenue>=surfaceMini && d.periode_construction == periodeConstruction)Avec ces filtres, il y a références.
Plot.plot({
grid: true,
//marginLeft: 400,
//height: 1000,
//width:800,
style: {
fontSize: 11
},
x:{domain:[0,800], ticks:8},
marks: [
Plot.boxX(res_filtre_secteur_surf, {y: "typesecteur", x: "kwhef_m2an", stroke:"typesecteur", fill:"typesecteur", fillOpacity:0.5}),
Plot.text(res_filtre_secteur_surf, Plot.groupY(
{text: "count"},
{y: "typesecteur", x: 0, dy:-10, dx: 10, stroke:"white", fill:"typesecteur", fontSize :12, textAnchor:"start"}
)),
Plot.textX(res_filtre_secteur_surf, Plot.groupY(
{text:"P25", x: "P25"},
{text:"kwhef_m2an", y: "typesecteur", x:"kwhef_m2an", dx:-2,dy:-8, textAnchor:"end", fill:"grey", stroke:"white"},
)),
Plot.textX(res_filtre_secteur_surf, Plot.groupY(
{text:"P50", x: "P50"},
{text:"kwhef_m2an", y: "typesecteur", x:"kwhef_m2an", dx:0,dy:-11, textAnchor:"middle", fill:"white", stroke:"typesecteur"},
)),
Plot.textX(res_filtre_secteur_surf, Plot.groupY(
{text:"P75", x: "P75"},
{text:"kwhef_m2an", y: "typesecteur", x:"kwhef_m2an", dx:2,dy:-8, textAnchor:"start", fill:"grey", stroke:"white"},
)),
Plot.dot(res_filtre_secteur_surf, Plot.groupY(
{x: "mean"},
{y: "typesecteur", x:"kwhef_m2an", fill:"black", stroke:"yellow"}
)),
Plot.textX(res_filtre_secteur_surf, Plot.groupY(
{text:"mean", x: "mean"},
{text:"kwhef_m2an", y: "typesecteur", x:"kwhef_m2an", dx:0,dy:-20, textAnchor:"start", fill:"black", stroke:"yellow"},
)),
]
});serialize = {
const xmlns = "http://www.w3.org/2000/xmlns/";
const xlinkns = "http://www.w3.org/1999/xlink";
const svgns = "http://www.w3.org/2000/svg";
return function serialize(svg) {
svg = svg.cloneNode(true);
const fragment = window.location.href + "#";
const walker = document.createTreeWalker(svg, NodeFilter.SHOW_ELEMENT);
while (walker.nextNode()) {
for (const attr of walker.currentNode.attributes) {
if (attr.value.includes(fragment)) {
attr.value = attr.value.replace(fragment, "#");
}
}
}
svg.setAttributeNS(xmlns, "xmlns", svgns);
svg.setAttributeNS(xmlns, "xmlns:xlink", xlinkns);
const serializer = new window.XMLSerializer;
const string = serializer.serializeToString(svg);
return new Blob([string], {type: "image/svg+xml"});
};
}
function rasterize(svg) {
let resolve, reject;
const promise = new Promise((y, n) => (resolve = y, reject = n));
const image = new Image;
image.onerror = reject;
image.onload = () => {
const rect = svg.getBoundingClientRect();
const context = DOM.context2d(rect.width, rect.height);
context.drawImage(image, 0, 0, rect.width, rect.height);
context.canvas.toBlob(resolve);
};
image.src = URL.createObjectURL(serialize(svg));
return promise;
}