vs2di.readBalance: Read VS2dh model output file with (energy, fluid) mass...

Description Usage Arguments Value Examples

View source: R/vs2dhReadOutput.R

Description

Read VS2dh model output file with (energy, fluid) mass balance time series

Usage

1
2
vs2di.readBalance(model.path, engine, fileName = "balance.out",
  dbg = TRUE)

Arguments

model.path

full path to folder containing model output files

engine

model engine 'vs2dh' (for flow & heat modelling) or 'vs2dt' (for flow & solute transport) (Default: no default)

fileName

name of file containing (energy and fluid) balance results (default: "balance.out")

dbg

if true text output

Value

balance model results are imported in a R object

Examples

1
2
3
4
5
### Location of kwb.vs2dh package on your computer
wDir <- system.file(package = "kwb.vs2dh")
model.path <- file.path(wDir, "extdata/vs2dh_example/tutorial2")
res <- vs2di.run(model.path = model.path) 
vs2di.readBalance(model.path = model.path, engine = "vs2dh")

KWB-R/kwb.vs2dh documentation built on Sept. 10, 2019, 12:20 p.m.