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.
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
ReducedCostsRow ๐Ÿ”’
Represents the reduced costs in a row of the reduced costs CSV file
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
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
OUTPUT_DIRECTORY_ROOT ๐Ÿ”’
The root folder in which model-specific output folders will be created
REDUCED_COSTS_FILE_NAME ๐Ÿ”’
The output file name for reduced costs
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 specified at model_dir.
get_output_dir
Get the model name from the specified directory path