View source: R/class-repository.R
newRepository | R Documentation |
Repository class is used to store the model 'bricks' such as commodity, technology, supply, demand, trade, import, export, trade, storage, etc. Calendars, settings, and configurations cannot be stored in the repository, they have separate slots in model or scenario objects.
newRepository(
name = "base_repository",
...,
desc = NA_character_,
misc = list()
)
name |
character. Name of the repository. |
... |
list. Model objects ("bricks"), e.g., technologies, constraints, costs, etc., stored in with their names as keys, or gropped in named lists. |
desc |
character. Description of the repository. |
misc |
list. Any additional data or information to store in the object. |
Other repository model data:
class-repository
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.