Commit e6a36a93 authored by Dorchies David's avatar Dorchies David
Browse files

fix(MacroRugo): Error in Vmax formula

Fix #294
parent 30a2f7b1
......@@ -117,7 +117,7 @@ export class MacroRugo extends FishPass {
}
r.resultElement.values.Fr = resFr;
// Vitesse maximale
r.resultElement.values.Vmax = this.r * r.resultElement.values.Vg * this.CalcfFr(resVdeb);
r.resultElement.values.Vmax = this.r * r.resultElement.values.Vg * Math.sqrt(this.CalcfFr(resVdeb));
}
// Puissance dissipée
r.resultElement.values.PV = 1000 * MacroRugo.g * r.resultElement.values.Vdeb * this.prms.If.v;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment