spec_energy_trap: Creates a specific energy diagram for a trapezoidal channel
Description
This function plots a specific energy diagram of a trapezoidal
(including rectangle and triangle) channel, with annotation of
critical depth and minimum specific energy
Usage
spec_energy_trap(
Q = NULL,
b = NULL,
m = NULL,
scale = 3,
units = c("SI", "Eng")
)
Arguments
Q
flow rate
b
bottom width
m
side slope (H:1)
scale
multiplier (of yc) for plot scale (default is 3)
units
character vector that contains the system of units [options are
SI for International System of Units and Eng for English (US customary)
units. This is used for compatibility with iemisc package]
# NOT RUN {# Draw a specific cross-section with flow 1, width 2, side slope 3:1 (H:V)spec_energy_trap(Q = 1.0, b = 2.0, m = 3.0, scale = 4, units = "SI")
# }