From 23b2874360711061795ab9f7d1cf7a74ec35d617 Mon Sep 17 00:00:00 2001 From: Bart de Koning Date: Wed, 21 Aug 2024 10:52:45 +0200 Subject: [PATCH] Fix LinearResistance equation --- docs/reference/node/linear-resistance.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/node/linear-resistance.qmd b/docs/reference/node/linear-resistance.qmd index fd8fe48ed..f07b66bab 100644 --- a/docs/reference/node/linear-resistance.qmd +++ b/docs/reference/node/linear-resistance.qmd @@ -22,7 +22,7 @@ A LinearResistance connects two Basins together. The flow between the two Basins is determined by a linear relationship, up to an optional maximum flow rate: $$ -Q_\text{linear_resistance} = \mathrm{clamp}(\frac{h_a - h_b}{R}, -Q_{\max}, Q_{\max}) +Q_\text{linear\_resistance} = \mathrm{clamp}\left(\frac{h_a - h_b}{R}, -Q_{\max}, Q_{\max}\right) $$ Here $h_a$ is the water level in the incoming Basin and $h_b$ is the water level in the outgoing Basin.