Skip to content

Commit

Permalink
Fix LinearResistance equation
Browse files Browse the repository at this point in the history
  • Loading branch information
SouthEndMusic committed Aug 21, 2024
1 parent 2861b99 commit 23b2874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/node/linear-resistance.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 23b2874

Please sign in to comment.