IHACRES

Streamfall.extract_spec!Method
extract_spec!(node::DamNode, spec::AbstractDict)::Nothing

Additional processing to extract IHACRES-specific details.

source
Streamfall.param_infoMethod
param_info(node::IHACRESNode)::Tuple

Extract node parameter names, values, and bounds for IHACRESNode types.

source
Streamfall.reset!Method
reset!(s_node::IHACRESNode)::Nothing

Reset node. Clears all states back to their initial values.

source
Streamfall.run_node_with_temp!Function
run_node_with_temp!(
    s_node::IHACRESBilinearNode,
    rain::Float64,
    temp::Float64,
    inflow::Float64,
    ext::Float64,
    gw_exchange::Float64=0.0;
    current_store=nothing,
    quick_store=nothing,
    slow_store=nothing,
    gw_store=nothing
)::Tuple{Float64,Float64}

Run node with temperature data to calculate outflow and update state.

source
Streamfall.run_timestep!Method
run_timestep!(
    node::IHACRESNode, climate::Climate, timestep::Int64;
    inflow=nothing, extraction=nothing, exchange=nothing
)::Float64

Run the given IHACRESBilinearNode for a timestep.

source
Streamfall.update_params!Method
update_params!(
    node::IHACRESBilinearNode,
    d::F,
    d2::F,
    e::F,
    f::F,
    a::F,
    b::F,
    s_coef::F,
    alpha::F
)::Nothing where {F<:Float64}

Update model parameters.

source
Streamfall.IHACRESBilinearNodeMethod
IHACRESBilinearNode(name::String, area::Float64, d::Float64, d2::Float64, e::Float64, f::Float64,
            a::Float64, b::Float64, s_coef::Float64, alpha::Float64,
            store::Float64, quick::Float64, slow::Float64, gw_store::Float64)

Create a IHACRES node that adopts the bilinear CMD module.

source

IHACRES - Expuh

Streamfall.run_node!Method
run_node!(
    s_node::ExpuhNode,
    rain::F,
    evap::F,
    inflow::F,
    ext::F,
    gw_exchange::F;
    current_store=nothing,
    quick_store=nothing,
    slow_store=nothing,
)::F where {F<:AbstractFloat}

Run given IHACRES ExpuhNode for a time step based on last known state.

source