Skip to content
Snippets Groups Projects
Commit 8d3315ce authored by mathias.chouet's avatar mathias.chouet
Browse files

Fix #295 add Pente module

parent 770f91b6
No related branches found
No related tags found
1 merge request!62Resolve "Ajout du module : "Pente""
# Pente
Cet outil permet de calculer la valeur manquante des quatre grandeurs :
- la cote amont (\(Z_1\)) en m;
- la cote aval (\(Z_2\)) en m;
- la longueur (\(L\)) en m;
- la pente (\(I\)) en m/m;
## Formule
$$I = \frac{(Z_1 - Z_2)}{L}$$
114-ajout-du-module-devalaison-pertes-de-charge-grille-de-prise-d-eau
143-module-de-calcul-pente
......@@ -29,6 +29,7 @@ nav:
- Régime uniforme: calculators/hsl/regime_uniforme.md
- calculators/hsl/courbe_remous.md
- calculators/hsl/section_parametree.md
- calculators/hsl/pente.md
- calculators/hsl/types_sections.md
- calculators/hsl/var_hydrauliques.md
- Lois d'ouvrages:
......
[
{
"id": "fs_pente",
"type": "fieldset",
"fields": [
"Z1",
"Z2",
"L",
"I"
]
},
{
"type": "options",
"idCal": "I",
"help": "hsl/pente.html"
}
]
\ No newline at end of file
{
"fs_pente": "Length and slope",
"Z1": "Upstream elevation",
"Z2": "Downstream elevation",
"L": "Length",
"I": "Slope"
}
\ No newline at end of file
{
"fs_pente": "Longueur et pente",
"Z1": "Cote amont",
"Z2": "Cote aval",
"L": "Longueur",
"I": "Pente"
}
\ No newline at end of file
......@@ -38,7 +38,7 @@
"path": "surface-libre.jpg",
"credits": "David Dorchies / Irstea"
},
"calculators": [ 2, 3, 4 ]
"calculators": [ 2, 3, 4, 20 ]
},
{
"name": "HYDRAULIQUE_EN_CHARGE",
......
......@@ -81,6 +81,7 @@ export class FormulaireService extends Observable {
this.calculatorPaths[CalculatorType.MacroRugoCompound] = "macrorugo-compound";
this.calculatorPaths[CalculatorType.Jet] = "jet";
this.calculatorPaths[CalculatorType.Grille] = "grille";
this.calculatorPaths[CalculatorType.Pente] = "pente";
}
private get _intlService(): I18nService {
......
......@@ -294,6 +294,8 @@
"INFO_MENU_DIAGRAM_TITLE": "Modules diagram",
"INFO_MACRORUGOCOMPOUND_TITRE": "Compound rock-ramp fishpasses (beta)",
"INFO_MACRORUGOCOMPOUND_TITRE_COURT": "Compound RR",
"INFO_PENTE_TITRE": "Slope",
"INFO_PENTE_TITRE_COURT": "Slope",
"INFO_MENU_EMPTY_SESSION_TITLE": "New session",
"INFO_MENU_HELP_TITLE": "Help",
"INFO_MENU_LOAD_SESSION_TITLE": "Load session",
......
......@@ -293,6 +293,8 @@
"INFO_MENU_DIAGRAM_TITLE": "Diagramme des modules",
"INFO_MACRORUGOCOMPOUND_TITRE": "Passe à macro-rugosités complexe (beta)",
"INFO_MACRORUGOCOMPOUND_TITRE_COURT": "M-Rugo complexe",
"INFO_PENTE_TITRE": "Pente",
"INFO_PENTE_TITRE_COURT": "Pente",
"INFO_MENU_EMPTY_SESSION_TITLE": "Nouvelle session",
"INFO_MENU_HELP_TITLE": "Aide",
"INFO_MENU_LOAD_SESSION_TITLE": "Charger une session",
......
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