Module output

Source
Expand description

The module responsible for writing output data to disk.

Modulesยง

metadata
Code for writing metadata to file

Structsยง

ActivityDualsRow ๐Ÿ”’
Represents the activity duals data in a row of the activity duals CSV file
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
AssetRow ๐Ÿ”’
Represents a row in the assets output CSV file.
ColumnDualsRow ๐Ÿ”’
Represents the column duals data in a row of the column duals 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

Constantsยง

ACTIVITY_DUALS_FILE_NAME ๐Ÿ”’
The output file name for activity duals
ACTIVITY_FILE_NAME ๐Ÿ”’
The output file name for raw activity
APPRAISAL_RESULTS_FILE_NAME ๐Ÿ”’
The output file name for appraisal results
ASSETS_FILE_NAME ๐Ÿ”’
The output file name for assets
COLUMN_DUALS_FILE_NAME ๐Ÿ”’
The output file name for column duals
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
GRAPHS_DIRECTORY_ROOT ๐Ÿ”’
The root folder in which commodity flow graphs will be created
OUTPUT_DIRECTORY_ROOT ๐Ÿ”’
The root folder in which model-specific output folders will be created
SOLVER_VALUES_FILE_NAME ๐Ÿ”’
The output file name for extra solver output 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