Skip to contents

All vignettes

Cheat sheet: Model bricks

Commodities, processes, policies, and the containers that make a model

Cheat sheet: Custom constraints

Linear rules across the model’s variables – caps, shares, targets – and extra costs in the objective

Cheat sheet: Diagnostics

A check for each stage: declared model, interpolated scenario, infeasible solve, solved result

Cheat sheet: Levelized cost

The cost of a unit of output: before solving, from an object and the prices around it; after solving, from what the model built and ran

Cheat sheet: Parameters

The solver’s input: every value parameter, the slot column it is read from, its default and dimensions – and how defaults, interpolation and derived values work

Cheat sheet: Reports

One call turns an object, a model, a solved scenario or a comparison into a document: HTML, PDF, Word or LaTeX

Cheat sheet: Results

Reading a solved scenario: getData() and its filters, aggregation on the way out, mixes, variants and scenario comparison

Cheat sheet: Backends & solvers

From a scenario to a solver and back: routes, solver_options presets, paths, run folders and logs

Cheat sheet: Spatial resolution

Regions and their hierarchy (geoscale): where commodities balance, where processes sit, and how to coarsen or cut a model

Cheat sheet: Storage

Moving energy between timeslices: charger, reservoir, discharger – every slot, every column

Cheat sheet: Supply & demand

Where commodities enter and leave the model: domestic sources, resources, price steps and exogenous demand

Cheat sheet: Technology

A conversion process: every slot, every column, and how draw() shows them

Cheat sheet: Time resolution

Calendars (time within a year), timeframes and samples, and the horizon of milestone years

Cheat sheet: Trade

Between regions (trade, AC lines, DC links) and with the rest of the world (import, export)

Cheat sheet: Variables

The solver’s unknowns: every model variable by what it belongs to, which are free, and how the costs add up to the objective

Cheat sheet: Clusters & vintages

One object, a family of processes: build years (vintages) and parallel grades (clusters)

Cheat sheet: Visualization

Plots of solved scenarios, of the objects that go into a model, maps and heat maps: every one a ggplot to extend

Cheat sheet: Workflow & scenarios

From a model to results: the solve pipeline, runs, projects, and reading back

Validating and debugging a model
Get started with energyRt
Installation and Settings
Model bricks: commodities, processes, and policies
Scaling models and alternative solve strategies
Results and reporting
Model dimensions: time and space
Development Status and Roadmap
Models, scenarios, and projects
Storage
TOPIA I: building the model
TOPIA II: running scenarios
Units, conversions, and currencies
Vintages and clusters
Solving models