Skip to content

Commit

Permalink
Merge pull request jzck#248 from RedFroggy/244MethodeSaisieDiPn
Browse files Browse the repository at this point in the history
fix(fix-244): Use enum_methode_saisie_carac_sys_id to know if the data should be calculated
  • Loading branch information
jgavignet authored Nov 21, 2024
2 parents 73fe484 + 2cc0cb6 commit ce9d7b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/13.2_generateur_combustion.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function tv_generateur_combustion(di, de, du, type, GV, tbase, methodeSai
`);
} else {
// Calcul de la puissance nominale si non définie
if (methodeSaisie === 1 || !di.pn) {
if (!di.pn) {
di.pn = (1.2 * GV * (19 - tbase)) / 0.95 ** 3;
}

Expand Down

0 comments on commit ce9d7b3

Please sign in to comment.