Skip to content

Commit 35938d4

Browse files
run_timestep! now responsible for extracting values
1 parent 04a4c18 commit 35938d4

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/Streamfall.jl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,14 @@ function run_node!(
260260

261261
node_name = node.name
262262
rain, et = climate_values(node, climate, ts)
263-
wo = timestep_value(ts, node_name, "releases", extraction)
264-
ex = timestep_value(ts, node_name, "exchange", exchange)
265-
in_flow = timestep_value(ts, node_name, "inflow", inflow)
263+
# wo = timestep_value(ts, node_name, "releases", extraction)
264+
# ex = timestep_value(ts, node_name, "exchange", exchange)
265+
# in_flow = timestep_value(ts, node_name, "inflow", inflow)
266266

267-
return run_timestep!(node, rain, et, ts; inflow=in_flow, extraction=wo, exchange=ex)
267+
return run_timestep!(
268+
node, rain, et, ts;
269+
inflow=inflow, extraction=extraction, exchange=exchange
270+
)
268271
end
269272

270273
include("Analysis/Analysis.jl")

0 commit comments

Comments
 (0)