Expand description
The module responsible for writing output data to disk.
Modulesยง
- metadata
- Code for writing metadata to file
Structsยง
- Activity
Duals ๐Row - Represents the activity duals data in a row of the activity duals CSV file
- Activity
Row ๐ - Represents the activity in a row of the activity CSV file
- Appraisal
Results ๐Row - Represents the appraisal results in a row of the appraisal results CSV file
- Asset
Row ๐ - Represents a row in the assets output CSV file.
- Commodity
Balance ๐Duals Row - Represents the commodity balance duals data in a row of the commodity balance duals CSV file
- Commodity
Flow ๐Row - Represents the flow-related data in a row of the commodity flows CSV file.
- Commodity
Price ๐Row - Represents a row in the commodity prices CSV file
- Data
Writer - An object for writing commodity prices to file
- Debug
Data ๐Writer - For writing extra debug information about the model
- Reduced
Costs ๐Row - Represents the reduced costs in a row of the reduced costs CSV file
- Solver
Values ๐Row - 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