ADAM Documentation

Input Files

In order for ADAM to generate a solution, we must first give it information about the problem we are trying to solve. This information is provided to ADAM in the form of several key data files: the supply file, the demand file, the technology site file, and the technology candidate file.

In this tutorial, we will go through each of the file types, the information it is providing, and how to interpret an entry.

Templates for each type of file are provided here.

Supply File

The supply file contains data on the location, price, and yield of a product. For most models in ADAM, the supply of product is cow manure produced by Concentrated Animal Feeding Operations (CAFOs).

The common headers and their descriptions for the supply file are explained below:

Header Symbol Description
# Name of the supply node (up to user preference).
Latitude The latitude coordinate at which the node is located.
A positive number indicates North, and a negative number indicates South.
Longitude The longitude coordinate at which the node is located.
A positive number indicates East, and a negative number indicates West.
Product ID The product identification code that corresponds to the waste product being produced.
note: this can be looked up in the ADAM product database.
Price The amount of money that the supplier gains or spends in order to supply a product in USD per product unit (e.g. USD per tonnes). A negative price indicates that the supplier loses money by producing that product. A positive price indicates that the supplier gains money by producing that product.
note: check the ADAM product database for product units.
Capacity The amount of product produced on a time basis (e.g. 1000 tonnes per year).
The time basis (i.e. daily, monthly, yearly) is chosen during the first step of creating a new model in ADAM.
note: check the ADAM product database for product units.


Here is how it would look in a supply file used in ADAM:

# Latitude Longitude Product ID Price Capacity
s1 43.0731 -89.4012 p5 0 500

Using the given information, we can interpert the entry in the example above as a supply node, denoted as s1, located at 43.0731 N, 89.4012 W which produces liquid digestate waste product (p5) at a yield of 500 tonnes per time basis and at zero cost to the supplier.

Remember: the time basis is defined on the first step of creating a model in ADAM. This information cannot be obtained through looking at the data files.


Now try to interpret this example supply file on your own:

# Latitude Longitude Product ID Price Capacity
s5 39.7687 -76.6797 p25 0.06 100
Click here to check your answer

Supply node s5 is located at 39.7687 N, 76.6797 W which produces Biogas (60% CH4) at a yield of 100 cubic meters per time basis, at a cost of 0.06 USD per cubic meter.

Demand File

The demand data file contains information about the nodes that can demand any products available. These nodes can be CAFOs, technology sites, croplands, external customers, etc.CAFOs and technology sites tend to demand electricity and biogas, croplands tend to demand nutrients from waste products, and external customers demand the valuable products created by technology sites.

The demand file has the same file headers as the supply file with slightly different interpretations. These headers and their descriptions are explained below:

Header Symbol Description
# Name of the demand node (up to user preference).
Latitude The latitude coordinate at which the node is located.
A positive number indicates North, and a negative number indicates South.
Longitude The longitude coordinate at which the node is located.
A positive number indicates East, and a negative number indicates West.
Product ID The product identification code that corresponds to the product demanded by the node.
note: this can be looked up in the ADAM product database.
Price The market price of the product per product unit (i.e. the price at which the consumer is purchasing the product).
note: check the ADAM product database for product units.
Capacity The maximum amount of product that the node can demand on a per-time basis (e.g. 1000 tonnes per year). The actual amount of product that the demand node receives may be less than or equal to this number.
The time basis (i.e. daily, monthly, yearly) is chosen during the first step of creating a new model in ADAM.
note: check the ADAM product database for product units.


Here is how it would look in a demand file used in ADAM:

# Latitude Longitude Product ID Price Capacity
d1 43.0731 -89.4012 p2 0.06 1700

We can now interpret d1 as a demand node located at 43.0731 N, 89.4012 W which demands a maximum of 1700 kWh of bio-electricity per time basis at a price of $0.06 USD per kWh. In other words, d1 is buying bio-electricity at a price of $0.06 per kWh and can buy a maximum of 1700 kWh of bio-electricity per time basis.

Remember: the time basis is defined on the first step of creating a model in ADAM. This information cannot be obtained through looking at the data files.

Now try to interpret this example supply file on your own:

# Latitude Longitude Product ID Price Capacity
d32 38.9072 -77.0369 p24 200 5250
Click here to check your answer

The demand node, d32, is located at 38.9072 N, 77.0369 W and demands 5,250 metric tonnes of phosphorus (on a per time basis), at a cost of $200 per metric tonne.

Technology Site File

The technology site file contains information on existing and pseudo technologies. These technologies allow for one product to be transformed into another.

Unlike existing technologies, pseudo technologies are not physical technology sites and thus do not require installation or operational costs. Instead, pseudo technologies represent natural processes such as the release of nutrients into the soil. For example, when struvite, a phosphorus-based fertilizer, is applied to crop fields, the crops do not use the struvite directly. Instead, the struvite releases phosphorus, and the phosphorus is then taken up by crops. ADAM defines this process through a pseudo technology that transforms struvite into phosphorus.


The common headers and their descriptions for the technology site file are explained below:

Header Symbol Description
# Name of the technology site node (up to user preference).
Latitude The latitude coordinate at which the node is located.
A positive number indicates North, and a negative number indicates South.
Longitude The longitude coordinate at which the node is located.
A positive number indicates East, and a negative number indicates West.
Tech ID The technology identification code that corresponds to the technology at the specified location.
note: the technology codes can be looked up in the ADAM technology database.
Capacity The maximum amount of product that can be processed at a time (e.g. 1000 tonnes per year).
The time basis (i.e. daily, monthly, yearly) is chosen during the first step of creating a new model in ADAM.
note: the type of product used as input for each technology can be looked up in the technology database


Here is how it would look in a technology site file used in ADAM:

# Latitude Longitude Tech ID Capacity
ts1 41.434208 -86.876593 t33 10000

We can interpert this entry as a AD-Electricity-SLS (S, cow) technology site, denoted ts1, located at 41.434208 N, 86.876593 W with a capacity of processing 10,000 metric tonnes of cow manure per time basis.


Now try to interpret this example technology site file on your own:

# Latitude Longitude Tech ID Capacity
ts23 39.045753 -76.641273 t60 150000
Click here to check your answer

The technology site node, ts23, is a P Release (raw cow manure) technology located at 39.045753 N, 76.641273 W with a capacity of processing 150,000 metric tonnes of cow manure (on a per time basis).

Technology Candidate File

The technology candidate file provides information on the possible technologies that can be installed at a certain location. This information will be used by ADAM in the model solving process to determine which technologies (if any) to build at each location.

The common headers and their descriptions for the technology candidate file are explained below:

Header Symbol Description
# Name of the technology candidate node (up to user preference).
Latitude The latitude coordinate at which the node is located.
A positive number indicates North, and a negative number indicates South.
Longitude The longitude coordinate at which the node is located.
A positive number indicates East, and a negative number indicates West.
Tech ID The technology identification code that corresponds to the technology that could be installed.
note: the technology codes can be looked up in the ADAM technology database.


Here is how it would look in a technology candidate file used in ADAM:

# Latitude Longitude Tech ID
tc1 43.61586956 -95.8516807 t15

This entry, tc1, is saying that it is possible for t15 to be installed at location 43.61586956 N, 95.8516807 W.
Note: a single location can take on many different technology candidates.


Now try to interpret this example technology candidate file on your own:

# Latitude Longitude Tech ID
tc6 43.61586956 -95.8516807 t15
tc7 43.61586956 -95.8516807 t16
tc8 43.61586956 -95.8516807 t23
tc9 39.045753 -76.641273 t15
Click here to check your answer

Location 43.61586956 N, 95.8516807 W is a candidate for installing technologies t15, t16, and t23.
Location 39.045753 N, 76.641273 W is a candidate for installing technology t15.

To check the corresponding technologies to the technology IDs, please check the ADAM technology database.



Return to Dashboard Tutorials