Merge pull request #343 from IBCornelsen/main

.
This commit is contained in:
Jens Cornelsen
2025-02-15 15:59:41 +01:00
committed by GitHub

View File

@@ -2,13 +2,16 @@ import { funktionDoppelteInterpolation } from "#lib/Berechnungen/BedarfsausweisW
export function funktionAufwandszahlEndenergieKraftWaermeKopplungBrennwertbezogenT105(BrennStoff: string, suchSpalte: number, datenZeile: number) {
let dataBox: any[] = [];
if (suchSpalte < 0.1) { suchSpalte = 0.1; }
if (suchSpalte > 1) { suchSpalte = 1; }
if (datenZeile < 0.1) { datenZeile = 0.1; }
if (datenZeile > 1) { datenZeile = 1; }
if (BrennStoff = "Erdgas") {
const dataBox = [
if (BrennStoff === "Erdgas") {
dataBox = [
{ SuchSpalte: [0.10], DatenSpalte: [0.136, 0.148, 0.16, 0.173, 0.185, 0.197, 0.21, 0.222, 0.234, 0.247] },
{ SuchSpalte: [0.15], DatenSpalte: [0.204, 0.222, 0.241, 0.259, 0.278, 0.296, 0.315, 0.333, 0.352, 0.37] },
{ SuchSpalte: [0.2], DatenSpalte: [0.271, 0.296, 0.321, 0.345, 0.37, 0.395, 0.419, 0.444, 0.469, 0.493] },
@@ -31,9 +34,9 @@ if (BrennStoff = "Erdgas") {
];
}
else if (BrennStoff = "Heizoel") {
else if (BrennStoff === "Heizoel") {
const dataBox = [
dataBox = [
{ SuchSpalte: [0.10], DatenSpalte: [0.13, 0.141, 0.153, 0.165, 0.177, 0.188, 0.2, 0.212, 0.224, 0.236] },
{ SuchSpalte: [0.15], DatenSpalte: [0.194, 0.212, 0.23, 0.247, 0.265, 0.283, 0.3, 0.318, 0.336, 0.353] },
{ SuchSpalte: [0.2], DatenSpalte: [0.259, 0.283, 0.306, 0.33, 0.353, 0.377, 0.4, 0.424, 0.448, 0.471] },