Module output

Module output 

Source
Expand description

The module responsible for writing output data to disk.

Modulesยง

metadata
Code for writing metadata to file

Structsยง

ActivityRow ๐Ÿ”’
Represents the activity in a row of the activity CSV file
AppraisalResultsRow ๐Ÿ”’
Represents the appraisal results in a row of the appraisal results CSV file
AppraisalResultsTimeSliceRow ๐Ÿ”’
Represents the appraisal results in a row of the appraisal results CSV file
AssetRow ๐Ÿ”’
Represents a row in the assets output CSV file.
CommodityBalanceDualsRow ๐Ÿ”’
Represents the commodity balance duals data in a row of the commodity balance duals CSV file
CommodityFlowRow ๐Ÿ”’
Represents the flow-related data in a row of the commodity flows CSV file.
CommodityPriceRow ๐Ÿ”’
Represents a row in the commodity prices CSV file
DataWriter
An object for writing commodity prices to file
DebugDataWriter ๐Ÿ”’
For writing extra debug information about the model
SolverValuesRow ๐Ÿ”’
Represents solver output values
UnmetDemandRow ๐Ÿ”’
Represents the unmet demand data in a row of the unmet demand CSV file

Constantsยง

ACTIVITY_ASSET_DISPATCH ๐Ÿ”’
Debug output file for asset dispatch
APPRAISAL_RESULTS_FILE_NAME ๐Ÿ”’
The output file name for appraisal results
APPRAISAL_RESULTS_TIME_SLICE_FILE_NAME ๐Ÿ”’
The output file name for appraisal time slice results
ASSETS_FILE_NAME ๐Ÿ”’
The output file name for assets
COMMODITY_BALANCE_DUALS_FILE_NAME ๐Ÿ”’
The output file name for commodity balance duals
COMMODITY_FLOWS_FILE_NAME ๐Ÿ”’
The output file name for commodity flows
COMMODITY_PRICES_FILE_NAME ๐Ÿ”’
The output file name for commodity prices
SOLVER_VALUES_FILE_NAME ๐Ÿ”’
The output file name for extra solver output values
UNMET_DEMAND_FILE_NAME ๐Ÿ”’
The output file name for unmet demand values

Functionsยง

create_output_directory
Create a new output directory for the model, optionally overwriting existing data
get_graphs_dir
Get the default output directory for commodity flow graphs for the model
get_output_dir
Get the default output directory for the model