fulldataOutput {gms}R Documentation

fulldataOutput

Description

Creates GAMS code which stores automatically the levels, bounds and marginals of all equations and variables in time depending parameters.

Usage

fulldataOutput(
  declarations_file = "declarations.gms",
  definitions_file = "postsolve.gms",
  warn = TRUE,
  types = c("level", "marginal"),
  ignore = "_dummy$",
  loopset = "t"
)

Arguments

declarations_file

A GAMS file containing declarations. The function will read declarations from here and add own declarations in an R environment as used by replace_in_file (used subject = OUTPUT DECLARATIONS)

definitions_file

A GAMS file which is executed after the solve statement but within the time step loop. Also here code will be added using replace_in_file with subject OUTPUT DEFINITIONS

warn

Decides whether a warning should be thrown out, if the declarations file does not exist.

types

Types of outputs that should be written to gdx file. Available types are level, marginal, upper and lower.

ignore

regular expression pattern for variables/equations which should be ignored by fulldataOutput

loopset

Set over which loop runs

Author(s)

Jan Philipp Dietrich, Felicitas Beier

See Also

readDeclarations,replace_in_file


[Package gms version 0.31.2 Index]