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
- 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
Constantsยง
- ACTIVITY_
DUALS_ ๐FILE_ NAME - The output file name for activity duals
- 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
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