Commit 17fd0830 authored by Grand Francois's avatar Grand Francois
Browse files

refactor: Session.createNub(): provide a default value for MacroRugoRemous discharge parameter

refs #325
Showing with 3 additions and 2 deletions
+3 -2
......@@ -830,9 +830,10 @@ export class Session {
break;
case CalculatorType.MacroRugoRemous:
const Q = params.getPropValue("Q") ?? 0.1;
const crp = new MacroRugoRemousParams(
0.1, // Q = débit
100.4, // Z2 = cote de l'eau aval
Q, // Q = débit
13, // Z2 = cote de l'eau aval
nullParams
);
const mr = this.findNubByUid(params.getPropValue(MacroRugoRemous.NubMacroRugoProp)) as MacroRugo;
......
Supports Markdown
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