addMemoryOutput: Adds a new memory output to solution.

View source: R/solution_modifications.R

addMemoryOutputR Documentation

Adds a new memory 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

addMemoryOutput(
  sol,
  outputid,
  frequence = "DAILY",
  rule = NULL,
  resetrule = NULL,
  cachesize = 10
)

Arguments

sol

solution object

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

Value

modified solution object


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