Package: brick 0.5.9

Robin Hasse

brick: Building sector model with heterogeneous renovation and construction of the stock

This building stock model represents residential and commercial buildings at customisable regional and temporal resolution. The building stock is quantified in floor area and distinguished by building type (SFH/MFH) and location (rural/urban). In each building category, construction cohorts are tracked explicitly. This allows to characterise buildings specifically for each subset of buildings. The evolution of the building stock follows from the flows of constructed, renovated and demolished buildings and is optimised under cost minimisation with a benefit for heterogeneity in the choice of construction and renovation alternatives. This benefit captures heterogeneity in the preferences of the agents and the building structure.

Authors:Robin Hasse [aut, cre], Ricarda Rosemann [aut]

brick_0.5.9.tar.gz
brick_0.5.9.zip(r-4.5)brick_0.5.9.zip(r-4.4)brick_0.5.9.zip(r-4.3)
brick_0.5.9.tgz(r-4.4-any)brick_0.5.9.tgz(r-4.3-any)
brick_0.5.9.tar.gz(r-4.5-noble)brick_0.5.9.tar.gz(r-4.4-noble)
brick_0.5.9.tgz(r-4.4-emscripten)brick_0.5.9.tgz(r-4.3-emscripten)
brick.pdf |brick.html
brick/json (API)

# Install 'brick' in R:
install.packages('brick', repos = c('https://pik-piam.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/pik-piam/brick/issues

On CRAN:

3.73 score 1 packages 10 exports 141 dependencies

Last updated 27 days agofrom:9ea4a120de. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 09 2024
R-4.5-winOKOct 09 2024
R-4.5-linuxOKOct 09 2024
R-4.4-winOKOct 09 2024
R-4.4-macOKOct 09 2024
R-4.3-winOKOct 09 2024
R-4.3-macOKOct 09 2024

Exports:brick.filecreateMatchingDatagetBrickMappinginitModelplotRefDeviationplotSummaryreadInputreportMifsetSlurmConfigstartModel

Dependencies:abindaskpassbase64encbitbit64bslibcachemcallrcellrangerclicliprcollectionscolorspacecommonmarkcountrycodecpp11crayoncredentialscrosstalkcurldata.tabledescdigestdplyrevaluatefansifarverfastmapfilelockfontawesomeforcatsfsgamstransfergenericsgertggplot2ghgitcredsgluegmsgridExtragtablehighrhmshtmltoolshtmlwidgetshttpuvhttrhttr2igraphiniisobandjquerylibjsonlitekableExtraKernSmoothknitrlabelinglaterlatticelazyevallifecyclelubridatelusweavemadratmagclassmagrittrMASSMatrixmemoisemgcvmimemipmunsellnlmeopensslpiamPlotComparisonpiamutilspillarpkgbuildpkgconfigpkgloadplotlyplyrprettyunitsprocessxprogresspromisespspurrrqualVquitteR.methodsS3R.ooR.utilsR6rappdirsRColorBrewerRcppreadrreadxlrematchrenvreportbrickreshape2rlangrmarkdownrprojrootrstudioapisassscalesshinysourcetoolsstringistringrsvglitesyssystemfontstibbletidyrtidyselecttimechangetinytextrafficlighttzdbusethisutf8vctrsviridisLitevroomwhiskerwhoamiwithrwritexlxfunxml2xtableyamlymlthiszipzoo

Readme and manuals

Help Manual

Help pageTopics
brick: Building sector model with heterogeneous renovation and construction of the stockbrick-package brick
crop gdx parameters to historic periods.cropParamsToThist
Make zeros explicit.explicitZero
filter rows with specified entry in column.filterLevel
Find config file path.findCfg
find origin gdx file.findOriginGdxFile
Check if gamstransfer is available.onLoad
Overwrite list with another list.overwriteList
Read config file.readCfg
Add assumed intangible costsaddAssump
Aggregate matching run results for calibrationaggregateMatching
Find the full file names of files in BRICKbrick.file
Check whether Gams finished successfullycheckGamsSuccess
Copy gams scripts to output foldercopyGamsFiles
Copy history gdx to output foldercopyHistoryGdx
Copy initial gdx to output foldercopyInitialGdx
Create input datacreateInputData
Create data for reference matchingcreateMatchingData
Create parameterscreateParameters
Create new run foldercreateRunFolder
Create setscreateSets
Expand set values to data frameexpandSets
Determine the latest path of a runfindLastRun
Retrieve mapping file from BRICKgetBrickMapping
guess column names based on column valuesguessColnames
Initialize the model:initModel
Is Slurm AvaiableisSlurmAvailable
Convert nested named list to long data.framelistToDf
Load Input data from mredgebuildingsloadMadratData
Named list to handle stringmakeHandle
get Period from configperiodFromConfig
Plot heat map of reference deviationplotRefDeviation
Plot Summary of a runplotSummary
Read config filereadConfig
Read madrat input files from input folderreadInput
Read symbol from gams containerreadSymbol
Create mif file for model runreportMif
Run gams optimisationrunGams
Set the SLURM configurationsetSlurmConfig
Start the modelstartModel
interpolate and filter to get model resolutiontoModelResolution