jalhyd
Version:
JaLHyd, a Javascript Library for Hydraulics
50 lines • 1.61 kB
TypeScript
import { Nub } from "../internal_modules";
import { ParallelStructure } from "../internal_modules";
import { LoiDebit } from "../internal_modules";
import { Result } from "../internal_modules";
import { CloisonsParams } from "../internal_modules";
export declare class Cloisons extends ParallelStructure {
/**
* { symbol => string } map that defines units for extra results
*/
private static _resultsUnits;
constructor(prms: CloisonsParams, dbg?: boolean);
/**
* paramètres castés au bon type
*/
get prms(): CloisonsParams;
getLoisAdmissibles(): {
[key: string]: LoiDebit[];
};
/**
* Is the Nub used in a PAB?
*/
get isInPAB(): boolean;
Equation(sVarCalc: string): Result;
/**
* Calcul du débit total, de la cote amont ou aval ou d'un paramètre d'une structure
* @param sVarCalc Nom du paramètre à calculer :
* "Q", "Z1", "DH" ou "n.X" avec "n" l'index de l'ouvrage et "X" son paramètre
* @param rInit Valeur initiale
*/
Calc(sVarCalc: string | any, rInit?: number): Result;
adjustChildParameters(child: Nub): void;
/**
* paramétrage de la calculabilité des paramètres
*/
protected setParametersCalculability(): void;
static resultsUnits(): {
PV: string;
ZRAM: string;
ZRMB: string;
Q: string;
YMOY: string;
ZDV: string;
P: string;
H2: string;
SUBMERGENCE: string;
};
protected exposeResults(): void;
private updatePrms;
}
//# sourceMappingURL=cloisons.d.ts.map