ReadModel: ReadModel()

Description Usage Arguments Examples

Description

This script is the first stage of the inverse modeling workflow. Here the excel model is imported and the matricies and arrays are generated. The function returns a dataframe <model> that can then be passed on to the RunModel() function. A model consists of a dataframe with the folloing fields: $flows <list of flow names>, $Aa <Approximate Matrix>, $ba <Solution of Aa>, $Ae <Exact Matrix>, $be <Solution of Ae>, $Gg <Inequalities Matrix>, $h <ineqality Solutions> ,$sdb <Uncertainty in the measurements (SD)>.

Usage

1
2
3
ReadModel(file = "./inst/extdata/Example.xls",
  file2 = ".inst/extdata/Example_data.xls", cycle = 1, sheet.name = NULL,
  num.flows, num.exact = NULL, num.approx = NULL, num.ineq = NULL)

Arguments

file

The name with path to the excel spreadsheet containing the model.

file2

The name (including path) of the excel file containing the b vectors.

cycle

The cycle number indicating the rows within the excel file2 with the appropriate data.

sheet.name

The name of the sheet in excel.

num.flows

The count of the model flows.

num.exact

The count of the exact equations used in the model.

num.approx

The count of the approximate equations used in the model.

num.ineq

The count of the inequality relations used in the model.

Examples

1
ReadModel(7, 4, 32)

tbrycekelly/CCELIM documentation built on May 31, 2019, 7:27 a.m.