gtopt::ReservoirSeepageSegment struct

One segment of the piecewise-linear seepage curve.

Each segment defines a linear function seepage = constant + slope × V that is active when the reservoir volume is in range [volume, next_segment.volume). constant is the y-intercept at V = 0, matching the PLP file format (plpfilemb.dat Constante field / Fortran FiltParam(PFiltConst)). For a continuous piecewise function the constants are chosen so that adjacent segments agree at the breakpoint: constant_i = constant_{i-1} + slope_{i-1} × volume_i - slope_i × volume_i.

Public variables

Real constant
Y-intercept [m³/s]: seepage at V=0 for this segment.
Real slope
Seepage slope [m³/s per hm³].
Real volume
Volume breakpoint [hm³] – segment applies when V ≥ volume.