Skip to content

Commit

Permalink
fix(fix-244): Use enum_methode_saisie_carac_sys_id to know if the dat…
Browse files Browse the repository at this point in the history
…a should be calculated
  • Loading branch information
Jérôme GAVIGNET committed Nov 21, 2024
1 parent 8eaed34 commit 2cc0cb6
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 2cc0cb6

Please sign in to comment.