addOutputVariable: Adds output variable to an existing output

View source: R/solution_modifications.R

addOutputVariableR Documentation

Adds output variable to an existing output

Description

Adds output variable to an existing output

Usage

addOutputVariable(
  sol,
  outputid,
  id,
  rule,
  datatype,
  mode = NULL,
  unit = NULL,
  description = NULL
)

Arguments

sol

solution object

outputid

id of output where the variable should be added

id

name of the new variable

rule

rule for the variable

datatype

of the variable

mode

one of FIRST, LAST, AVG, SUM (optional)

unit

unit of the variable (optional)

description

short description (optional)

Value

modified solution object


simplaceUtil documentation built on Aug. 6, 2024, 3:01 p.m.