mirror of
https://github.com/ANL-CEEESA/RELOG.git
synced 2025-12-05 23:38:52 -06:00
Describe piecewise-linear capacities in the docs; update JSON schema
This commit is contained in:
@@ -276,5 +276,5 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
<!--
|
||||
MkDocs version : 1.1
|
||||
Build Date UTC : 2020-05-22 14:47:36
|
||||
Build Date UTC : 2020-05-22 15:06:46
|
||||
-->
|
||||
|
||||
@@ -288,30 +288,6 @@
|
||||
<td>The longitude of the location, in degrees.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>opening cost</code></td>
|
||||
<td>The cost (in dollars) to open the plant.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>fixed operating cost</code></td>
|
||||
<td>The cost (in dollars) to keep the plant open, even if the plant doesn't process anything. Must be a timeseries.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>variable operating cost</code></td>
|
||||
<td>The cost (in dollars per tonnes) that the plant incurs to process each tonnes of input. Must be a timeseries.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>base capacity</code></td>
|
||||
<td>The amount of input (in tonnes) the plant can process when zero dollars are spent on expansion. If unlimited, this key may be omitted.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>max capacity</code></td>
|
||||
<td>The amount (in tonnes) the plant can process when the maximum amount of dollars are spent on expansion. If unlimited, this key may be omitted.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>expansion cost</code></td>
|
||||
<td>The cost (in dollars per tonnes) to increase the plant capacity beyond its base capacity. If zero, this key may be omitted. Must be a timeseries.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>disposal</code></td>
|
||||
<td>A dictionary describing what products can be disposed locally at the plant.</td>
|
||||
</tr>
|
||||
@@ -340,6 +316,29 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>The keys in the <code>capacities</code> dictionary should be the amounts (in tonnes). The values are dictionaries with the following keys:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Key</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>opening cost</code></td>
|
||||
<td>The cost (in dollars) to open a plant of this size.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>fixed operating cost</code></td>
|
||||
<td>The cost (in dollars) to keep the plant open, even if the plant doesn't process anything. Must be a timeseries.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>variable operating cost</code></td>
|
||||
<td>The cost (in dollars per tonnes) that the plant incurs to process each tonne of input. Must be a timeseries.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3 id="example_2">Example</h3>
|
||||
<pre><code class="json">{
|
||||
"plants": {
|
||||
@@ -353,33 +352,30 @@
|
||||
"L1": {
|
||||
"latitude": 0.0,
|
||||
"longitude": 0.0,
|
||||
"opening cost": [500, 500],
|
||||
"base capacity": 250.0,
|
||||
"max capacity": 1000.0,
|
||||
"expansion cost": [1.0, 1.0],
|
||||
"fixed operating cost": [30.0, 30.0],
|
||||
"variable operating cost": [30.0, 30.0],
|
||||
"disposal": {
|
||||
"P2": {
|
||||
"cost": [-10.0, -10.0],
|
||||
"limit": [1.0, 1.0]
|
||||
},
|
||||
"P3": {
|
||||
"cost": [-10.0, -10.0],
|
||||
"cost": [-10.0, -12.0],
|
||||
"limit": [1.0, 1.0]
|
||||
}
|
||||
},
|
||||
"capacities": {
|
||||
"100": {
|
||||
"opening cost": [500, 530],
|
||||
"fixed operating cost": [300.0, 310.0],
|
||||
"variable operating cost": [5.0, 5.2]
|
||||
},
|
||||
"500": {
|
||||
"opening cost": [750, 760],
|
||||
"fixed operating cost": [400.0, 450.0],
|
||||
"variable operating cost": [4.5, 4.7]
|
||||
},
|
||||
"700": {
|
||||
"opening cost": [1000, 1000],
|
||||
"fixed operating cost": [500.0, 600.0],
|
||||
"variable operating cost": [4.0, 4.4]
|
||||
}
|
||||
}
|
||||
},
|
||||
"L2": {
|
||||
"latitude": 0.5,
|
||||
"longitude": 0.5,
|
||||
"opening cost": [1000, 1000],
|
||||
"base capacity": 0.0,
|
||||
"max capacity": 10000.0,
|
||||
"expansion cost": [1.0, 1.0],
|
||||
"fixed operating cost": [50.0, 50.0],
|
||||
"variable operating cost": [50.0, 50.0]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Reference in New Issue
Block a user