addCSVOutput: Adds a new CSV output to solution.

View source: R/solution_modifications.R

addCSVOutputR Documentation

Adds a new CSV output to solution.

Description

Any output with the same id will be removed. The added output has no output variables. One has to add new variables via addOutputVariable.

Usage

addCSVOutput(
  sol,
  filename,
  outputid,
  frequence = "DAILY",
  rule = NULL,
  resetrule = NULL,
  cachesize = 10,
  divider = ","
)

Arguments

sol

solution object

filename

name of the output file

outputid

id of new output

frequence

one of DAILY, YEARLY, BOOLEAN, COMPLEX

rule

optional rule, when frequence is BOOLEAN or COMPLEX

resetrule

optional resetrule, when frequence is BOOLEAN or COMPLEX

cachesize

optional cachesize

divider

character that is used as a divider for the csv file

Value

modified solution object


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