Skip to content
Snippets Groups Projects
Commit a28f289e authored by David Dorchies's avatar David Dorchies
Browse files

#100 Cloisons ZDV->h1 : Z1 n'est plus calculcable

parent 9050eaff
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,7 @@ export class Cloisons extends ParallelStructure {
this.prms.BB.calculability = ParamCalculability.FREE;
this.prms.PB.calculability = ParamCalculability.FREE;
this.prms.DH.calculability = ParamCalculability.DICHO;
this.prms.Z1.calculability = ParamCalculability.FREE;
}
private updatePrms() {
......
......@@ -158,7 +158,7 @@ export class Pab extends Nub {
cl.Calc("Z1");
// TODO: Add extraresults: discharge, apron elevation upstream the wall, apron elevation at half basin
cl.result.extraResults.YMOY = cl.prms.Z2.v - cl.result.extraResults.ZRB;
cl.result.extraResults.YMOY = cl.prms.Z2.v - cl.result.extraResults.ZRMB;
// Update elevation and discharge for next basin
return cl.prms.Z1.v;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment