message_ix_models.model.buildings.report
Reporting for MESSAGEix-Buildings.
STURM output data are loaded from CSV files, manipulated, and stored as timeseries on a scenario.
Originally transcribed from reporting_EFC.py
in the buildings repository.
Functions
|
Add aggregates to df using element map_index from |
|
Add a global total (across the "node" dimension) to df. |
|
Return mapping for buildings aggregation. |
|
Return filters for buildings reporting. |
|
Return filters for buildings reporting. |
|
|
|
Callback to configure the legacy reporting. |
Extract "fuel" and "sector" from "commodity" in df; apply NAME_MAP. |
|
|
|
|
Report buildings final energy. |
|
Report buildings emissions using the |
|
Load STURM reporting outputs from file and return. |
|
Manipulate variable names for sturm_rep and compute additional sums. |
|
Compute a sum on df, grouped by columns. |
|
Format the "variable" column of df given expr. |