Skip to content

Interpolation documentation#1720

Merged
Jingru923 merged 9 commits intomainfrom
clarify_linear_interpolation
Aug 19, 2024
Merged

Interpolation documentation#1720
Jingru923 merged 9 commits intomainfrom
clarify_linear_interpolation

Conversation

@SouthEndMusic
Copy link
Copy Markdown
Collaborator

Fixes #1152

@SouthEndMusic SouthEndMusic changed the title Clarify linear interpolation Interpolation documentation Aug 13, 2024
@SouthEndMusic SouthEndMusic marked this pull request as draft August 13, 2024 11:50
@SouthEndMusic SouthEndMusic marked this pull request as ready for review August 14, 2024 16:54
Copy link
Copy Markdown
Contributor

@Jingru923 Jingru923 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new 2D basin visualization looks great!

The level to storage relationship gives the volume of water in the basin at a given level, which is given by the integral over the level to area relationship from the basin bottom to the given level:

$$
S(l) = \int_{l_0}^l A(l')\text{d}l'.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the paragraph right before 1.4.1 interpolation, the level is defined as $h$. Here $l$ is used. Do they mean different level?

@Jingru923 Jingru923 merged commit e8e235a into main Aug 19, 2024
@Jingru923 Jingru923 deleted the clarify_linear_interpolation branch August 19, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation: clarify that Ribasim uses piecewise linear interpolation in many places

2 participants