hechms

package
v0.0.0-...-0f7942d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
  |g|o| |H|E|C|-|H|M|S|
  +-+-+ +-+-+-+-+-+-+-+`

Variables

This section is empty.

Functions

func MC

func MC()

func MCvar

func MCvar()

func NewMuskingum

func NewMuskingum(x, k, q0, dt float64) *muskingum

x weighting factor [-] "" k time constant or storage coefficient [hr] "travel time" x=0: linear reservour S=ko; k=dt x=.5 translation by k

Types

type Domain

type Domain struct {
	SBP       []SubBasinProperties
	Xr, MetXr map[int]int
	Order     []int
	Area      float64
	TSmin     int
}

func Build

func Build(ws []SubBasinProperties, metxr map[int]int, tsmin int) *Domain

func (*Domain) Print

func (m *Domain) Print(par Params)

func (*Domain) Run

func (m *Domain) Run(frc *forcing.Forcing, jtb, jte, offset int, par Params) ([]float64, []float64)

type Params

type Params struct {
	Fia, Fcn             float64 // CN global multipliers
	Cp, Ct               float64 // Snyder
	Q0, Kbf, RatioToPeak float64 // Recession
	Krch, Xrch           float64 // storage coeffient, muskingum weighting factor
}

type SubBasinProperties

type SubBasinProperties struct {
	Name string
	Ia, Fimp, CN,
	FlowPathLen, CentFlowPathLen, FlowPathSlope,
	BasinSlope, BasinRelief, BasinRelRatio,
	DrainDensity, Elongation, Area float64
	MetID, Swsid, Dsws int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL