pywatershed.PassThroughFlowNode#
- class pywatershed.PassThroughFlowNode(control)[source]#
A FlowNode instance that gives what it takes and dosent store.
See
FlowGraphfor a worked example using PassThroughFlowNode.- __init__(control)[source]#
Initialize a PassThroughFlowNode.
- Parameters:
control (
Control) – A control object.
Methods
__init__(control)Initialize a PassThroughFlowNode.
advance()Advance this FlowNode to the next timestep.
calculate_subtimestep(isubstep, ...)Calculate the subtimestep.
Finalize the current timestep at this FlowNode.
Prepare the subtimestep for subtimestep calculations.
Attributes
The average outflow of the FlowNode over the current timestep.
The outflow of the FlowNode over the sub-timestep.
The sink or source amount of the FlowNode at the current subtimestep.
The storage of the FlowNode at the current subtimestep.
The storage change of the FlowNode at the current subtimestep.
- calculate_subtimestep(isubstep, inflow_upstream, inflow_lateral)[source]#
Calculate the subtimestep.
- property outflow#
The average outflow of the FlowNode over the current timestep.
- property outflow_substep#
The outflow of the FlowNode over the sub-timestep.
- property sink_source#
The sink or source amount of the FlowNode at the current subtimestep.
- property storage#
The storage of the FlowNode at the current subtimestep.
- property storage_change#
The storage change of the FlowNode at the current subtimestep.