Skip to content

Commit

Permalink
update(systems): fine tune fuel factor
Browse files Browse the repository at this point in the history
  • Loading branch information
Revyn112 committed Nov 8, 2023
1 parent aafda9f commit c74667d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export class EngineModel {
+ (coefficients[17] * mach ** 3) + (coefficients[18] * mach ** 2 * alt) + (coefficients[19] * mach * alt ** 2)
+ (coefficients[20] * alt ** 3);

return flow * 2.4;
return flow * 2.6;
}

// static getCN1fromUncorrectedThrust(thrust: number)
Expand Down
4 changes: 2 additions & 2 deletions hdw-a339x/src/wasm/fadec_a330/src/RegPolynomials.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class Polynomial {
/// </summary>
double correctedEGT(double cn1, double cff, double mach, double alt) {
double outCEGT = 0;
double cff_a330 = 2.4;
double cff_a330 = 2.6;

double c_EGT[16] = {443.3145034, 0.0000000e+00, 3.0141710e+00, 3.9132758e-02, -4.8488279e+02, -1.2890964e-03,
-2.2332050e-02, 8.3849683e-05, 6.0478647e+00, 6.9171710e-05, -6.5369271e-07, -8.1438322e-03,
Expand All @@ -206,7 +206,7 @@ class Polynomial {
/// </summary>
double correctedFuelFlow(double cn1, double mach, double alt) {
double outCFF = 0;
double a330_f = 2.4;
double a330_f = 2.6;

double c_Flow[21] = {-639.6602981, 0.00000e+00, 1.03705e+02, -2.23264e+03, 5.70316e-03, -2.29404e+00, 1.08230e+02,
2.77667e-04, -6.17180e+02, -7.20713e-02, 2.19013e-07, 2.49418e-02, -7.31662e-01, -1.00003e-05,
Expand Down

0 comments on commit c74667d

Please sign in to comment.