<td>Number of time periods in the simulation.</td>
<td>Number of years in the simulation.</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<h3id="example">Example</h3>
<h3id="example">Example</h3>
<pre><codeclass="json">{
<pre><codeclass="json">{
"parameters": {
"Parameters": {
"time periods": 2
"Time horizon (years)": 2
}
}
}
}
</code></pre>
</code></pre>
<h2id="products">Products</h2>
<h2id="products">Products</h2>
<p>The <strong>products</strong> section describes all products and subproducts in the simulation. The field <code>instance["products"]</code> is a dictionary mapping the name of the product to a dictionary which describes its characteristics. Each product description contains the following keys:</p>
<p>The <strong>products</strong> section describes all products and subproducts in the simulation. The field <code>instance["Products"]</code> is a dictionary mapping the name of the product to a dictionary which describes its characteristics. Each product description contains the following keys:</p>
<td>The cost (in dollars per km per tonnes) to transport this product. Must be a timeseries.</td>
<td>The cost to transport this product. Must be a timeseries.</td>
</tr>
</tr>
<tr>
<tr>
<tdalign="left"><code>initial amounts</code></td>
<tdalign="left"><code>Initial amounts</code></td>
<td>A dictionary mapping the name of each location to its description (see below). If this product is not initially available, this key may be omitted. Must be a timeseries.</td>
<td>A dictionary mapping the name of each location to its description (see below). If this product is not initially available, this key may be omitted. Must be a timeseries.</td>
</tr>
</tr>
</tbody>
</tbody>
@ -197,57 +197,57 @@
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<tdalign="left"><code>latitude</code></td>
<tdalign="left"><code>Latitude (deg)</code></td>
<td>The latitude of the location, in degrees.</td>
<td>The latitude of the location.</td>
</tr>
</tr>
<tr>
<tr>
<tdalign="left"><code>longitude</code></td>
<tdalign="left"><code>Longitude (deg)</code></td>
<td>The longitude of the location, in degrees.</td>
<td>The longitude of the location.</td>
</tr>
</tr>
<tr>
<tr>
<tdalign="left"><code>amount</code></td>
<tdalign="left"><code>Amount (tonne)</code></td>
<td>The amount (in tonnes) of the product initially available at the location. Must be a timeseries.</td>
<td>The amount of the product initially available at the location. Must be a timeseries.</td>
<p>The <strong>plants</strong> section describes the available types of reverse manufacturing plants, their potential locations and associated costs, as well as their inputs and outputs. The field <code>instance["plants"]</code> is a dictionary mapping the name of the plant to a dictionary with the following keys:</p>
<p>The <strong>plants</strong> section describes the available types of reverse manufacturing plants, their potential locations and associated costs, as well as their inputs and outputs. The field <code>instance["Plants"]</code> is a dictionary mapping the name of the plant to a dictionary with the following keys:</p>
<table>
<table>
<thead>
<thead>
<tr>
<tr>
@ -257,15 +257,15 @@
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<tdalign="left"><code>input</code></td>
<tdalign="left"><code>Input</code></td>
<td>The name of the product that this plant takes as input. Only one input is accepted per plant.</td>
<td>The name of the product that this plant takes as input. Only one input is accepted per plant.</td>
</tr>
</tr>
<tr>
<tr>
<tdalign="left"><code>outputs</code></td>
<tdalign="left"><code>Outputs (tonne)</code></td>
<td>A dictionary specifying how many tonnes of each product is produced for each tonnes of input. For example, if the plant outputs 0.5 tonnes of P2 and 0.25 tonnes of P3 for each tonnes of P1 provided, then this entry should be <code>{"P2": 0.5, "P3": 0.25}</code>. If the plant does not output anything, this key may be omitted.</td>
<td>A dictionary specifying how many tonnes of each product is produced for each tonnes of input. For example, if the plant outputs 0.5 tonnes of P2 and 0.25 tonnes of P3 for each tonnes of P1 provided, then this entry should be <code>{"P2": 0.5, "P3": 0.25}</code>. If the plant does not output anything, this key may be omitted.</td>
</tr>
</tr>
<tr>
<tr>
<tdalign="left"><code>locations</code></td>
<tdalign="left"><code>Locations</code></td>
<td>A dictionary mapping the name of the location to a dictionary which describes the site characteristics (see below).</td>
<td>A dictionary mapping the name of the location to a dictionary which describes the site characteristics (see below).</td>
</tr>
</tr>
</tbody>
</tbody>
@ -280,19 +280,19 @@
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<tdalign="left"><code>latitude</code></td>
<tdalign="left"><code>Latitude (deg)</code></td>
<td>The latitude of the location, in degrees.</td>
<td>The latitude of the location, in degrees.</td>
</tr>
</tr>
<tr>
<tr>
<tdalign="left"><code>longitude</code></td>
<tdalign="left"><code>Longitude (deg)</code></td>
<td>The longitude of the location, in degrees.</td>
<td>The longitude of the location, in degrees.</td>
</tr>
</tr>
<tr>
<tr>
<tdalign="left"><code>disposal</code></td>
<tdalign="left"><code>Disposal</code></td>
<td>A dictionary describing what products can be disposed locally at the plant.</td>
<td>A dictionary describing what products can be disposed locally at the plant.</td>
<td>A dictionary describing what plant sizes are allowed, and their characteristics.</td>
<td>A dictionary describing what plant sizes are allowed, and their characteristics.</td>
</tr>
</tr>
</tbody>
</tbody>
@ -307,12 +307,12 @@
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<tdalign="left"><code>cost</code></td>
<tdalign="left"><code>Cost ($/tonne)</code></td>
<td>The cost (in dollars per tonnes) to dispose of the product. Must be a timeseries.</td>
<td>The cost to dispose of the product. Must be a timeseries.</td>
</tr>
</tr>
<tr>
<tr>
<tdalign="left"><code>limit</code></td>
<tdalign="left"><code>Limit (tonne)</code></td>
<td>The maximum amount (in tonnes) that can be disposed of. If an unlimited amount can be disposed, this key may be omitted. Must be a timeseries.</td>
<td>The maximum amount that can be disposed of. If an unlimited amount can be disposed, this key may be omitted. Must be a timeseries.</td>
@ -8,68 +8,68 @@ The **parameters** section describes details about the simulation itself.
| Key | Description
| Key | Description
|:------------------------|---------------|
|:------------------------|---------------|
|`time periods` | Number of time periods in the simulation.
|`Time horizon (years)` | Number of years in the simulation.
### Example
### Example
```json
```json
{
{
"parameters": {
"Parameters": {
"time periods": 2
"Time horizon (years)": 2
}
}
}
}
```
```
## Products
## Products
The **products** section describes all products and subproducts in the simulation. The field `instance["products"]` is a dictionary mapping the name of the product to a dictionary which describes its characteristics. Each product description contains the following keys:
The **products** section describes all products and subproducts in the simulation. The field `instance["Products"]` is a dictionary mapping the name of the product to a dictionary which describes its characteristics. Each product description contains the following keys:
|`transportation cost` | The cost (in dollars per km per tonnes) to transport this product. Must be a timeseries.
|`Transportation cost ($/km/tonne)` | The cost to transport this product. Must be a timeseries.
|`initial amounts` | A dictionary mapping the name of each location to its description (see below). If this product is not initially available, this key may be omitted. Must be a timeseries.
|`Initial amounts` | A dictionary mapping the name of each location to its description (see below). If this product is not initially available, this key may be omitted. Must be a timeseries.
Each product may have some amount available at the beginning of each time period. In this case, the key `initial amounts` maps to a dictionary with the following keys:
Each product may have some amount available at the beginning of each time period. In this case, the key `initial amounts` maps to a dictionary with the following keys:
| Key | Description
| Key | Description
|:------------------------|---------------|
|:------------------------|---------------|
| `latitude` | The latitude of the location, in degrees.
| `Latitude (deg)` | The latitude of the location.
| `longitude` | The longitude of the location, in degrees.
| `Longitude (deg)` | The longitude of the location.
| `amount` | The amount (in tonnes) of the product initially available at the location. Must be a timeseries.
| `Amount (tonne)` | The amount of the product initially available at the location. Must be a timeseries.
@ -77,70 +77,70 @@ Each product may have some amount available at the beginning of each time period
## Processing Plants
## Processing Plants
The **plants** section describes the available types of reverse manufacturing plants, their potential locations and associated costs, as well as their inputs and outputs. The field `instance["plants"]` is a dictionary mapping the name of the plant to a dictionary with the following keys:
The **plants** section describes the available types of reverse manufacturing plants, their potential locations and associated costs, as well as their inputs and outputs. The field `instance["Plants"]` is a dictionary mapping the name of the plant to a dictionary with the following keys:
| Key | Description
| Key | Description
|:------------------------|---------------|
|:------------------------|---------------|
| `input` | The name of the product that this plant takes as input. Only one input is accepted per plant.
| `Input` | The name of the product that this plant takes as input. Only one input is accepted per plant.
| `outputs` | A dictionary specifying how many tonnes of each product is produced for each tonnes of input. For example, if the plant outputs 0.5 tonnes of P2 and 0.25 tonnes of P3 for each tonnes of P1 provided, then this entry should be `{"P2": 0.5, "P3": 0.25}`. If the plant does not output anything, this key may be omitted.
| `Outputs (tonne)` | A dictionary specifying how many tonnes of each product is produced for each tonnes of input. For example, if the plant outputs 0.5 tonnes of P2 and 0.25 tonnes of P3 for each tonnes of P1 provided, then this entry should be `{"P2": 0.5, "P3": 0.25}`. If the plant does not output anything, this key may be omitted.
| `locations` | A dictionary mapping the name of the location to a dictionary which describes the site characteristics (see below).
| `Locations` | A dictionary mapping the name of the location to a dictionary which describes the site characteristics (see below).
Each type of plant is associated with a set of potential locations where it can be built. Each location is represented by a dictionary with the following keys:
Each type of plant is associated with a set of potential locations where it can be built. Each location is represented by a dictionary with the following keys:
| Key | Description
| Key | Description
|:------------------------|---------------|
|:------------------------------|---------------|
| `latitude` | The latitude of the location, in degrees.
| `Latitude (deg)` | The latitude of the location, in degrees.
| `longitude` | The longitude of the location, in degrees.
| `Longitude (deg)` | The longitude of the location, in degrees.
| `disposal` | A dictionary describing what products can be disposed locally at the plant.
| `Disposal` | A dictionary describing what products can be disposed locally at the plant.
| `capacities` | A dictionary describing what plant sizes are allowed, and their characteristics.
| `Capacities (tonne)` | A dictionary describing what plant sizes are allowed, and their characteristics.
The keys in the `disposal` dictionary should be the names of the products. The values are dictionaries with the following keys:
The keys in the `disposal` dictionary should be the names of the products. The values are dictionaries with the following keys:
| Key | Description
| Key | Description
|:------------------------|---------------|
|:------------------------|---------------|
| `cost` | The cost (in dollars per tonnes) to dispose of the product. Must be a timeseries.
| `Cost ($/tonne)` | The cost to dispose of the product. Must be a timeseries.
| `limit` | The maximum amount (in tonnes) that can be disposed of. If an unlimited amount can be disposed, this key may be omitted. Must be a timeseries.
| `Limit (tonne)` | The maximum amount that can be disposed of. If an unlimited amount can be disposed, this key may be omitted. Must be a timeseries.
The keys in the `capacities` dictionary should be the amounts (in tonnes). The values are dictionaries with the following keys:
The keys in the `capacities` dictionary should be the amounts (in tonnes). The values are dictionaries with the following keys: