IHACRES
Streamfall.extract_spec!
— Methodextract_spec!(node::DamNode, spec::AbstractDict)::Nothing
Additional processing to extract IHACRES-specific details.
Streamfall.param_info
— Methodparam_info(node::IHACRESNode)::Tuple
Extract node parameter names, values, and bounds for IHACRESNode types.
Streamfall.reset!
— Methodreset!(s_node::IHACRESNode)::Nothing
Reset node. Clears all states back to their initial values.
Streamfall.run_node_with_temp!
— Functionrun_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.
Streamfall.run_timestep!
— Methodrun_timestep!(
node::IHACRESNode, climate::Climate, timestep::Int64;
inflow=nothing, extraction=nothing, exchange=nothing
)::Float64
Run the given IHACRESBilinearNode for a timestep.
Streamfall.update_params!
— Methodupdate_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.
Streamfall.IHACRESBilinearNode
— MethodIHACRESBilinearNode(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.
IHACRES - Expuh
Streamfall.run_node!
— Methodrun_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.