|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
"cells": [
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
|
|
|
|
"execution_count": 18,
|
|
|
|
|
"execution_count": 12,
|
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [],
|
|
|
|
|
"source": [
|
|
|
|
@ -54,31 +54,31 @@
|
|
|
|
|
"nail_factory = {\n",
|
|
|
|
|
" \"input\": None,\n",
|
|
|
|
|
" \"outputs\": [\"Nail\"],\n",
|
|
|
|
|
" \"fixed output (tonne)\": 1,\n",
|
|
|
|
|
" \"variable output (tonne/tonne)\": {},\n",
|
|
|
|
|
" \"fixed output (tonne)\": {\"Nail\": 1},\n",
|
|
|
|
|
" \"variable output (tonne/tonne)\": {\"Nail\": 0},\n",
|
|
|
|
|
" \"revenue ($/tonne)\": None,\n",
|
|
|
|
|
" \"collection cost ($/tonne)\": {\"Nail\": 1000},\n",
|
|
|
|
|
" \"operating cost ($)\": 0,\n",
|
|
|
|
|
" \"disposal limit (tonne)\": 1e5,\n",
|
|
|
|
|
" \"disposal limit (tonne)\": {\"Nail\": None},\n",
|
|
|
|
|
" \"disposal cost ($/tonne)\": {\"Nail\": 0},\n",
|
|
|
|
|
"}\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"forest = {\n",
|
|
|
|
|
" \"input\": None,\n",
|
|
|
|
|
" \"outputs\": [\"Wood\"],\n",
|
|
|
|
|
" \"fixed output (tonne)\": 100,\n",
|
|
|
|
|
" \"variable output (tonne/tonne)\": {},\n",
|
|
|
|
|
" \"fixed output (tonne)\": {\"Wood\": 100},\n",
|
|
|
|
|
" \"variable output (tonne/tonne)\": {\"Wood\": 0},\n",
|
|
|
|
|
" \"revenue ($/tonne)\": None,\n",
|
|
|
|
|
" \"collection cost ($/tonne)\": {\"Wood\": 250},\n",
|
|
|
|
|
" \"operating cost ($)\": 0,\n",
|
|
|
|
|
" \"disposal limit (tonne)\": 1e5,\n",
|
|
|
|
|
" \"disposal limit (tonne)\": {\"Wood\": None},\n",
|
|
|
|
|
" \"disposal cost ($/tonne)\": {\"Wood\": 0},\n",
|
|
|
|
|
"}\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"retail = {\n",
|
|
|
|
|
" \"input\": \"NewBoat\",\n",
|
|
|
|
|
" \"outputs\": [\"UsedBoat\"],\n",
|
|
|
|
|
" \"fixed output (tonne)\": 0,\n",
|
|
|
|
|
" \"fixed output (tonne)\": {\"UsedBoat\": 0},\n",
|
|
|
|
|
" \"variable output (tonne/tonne)\": {\"UsedBoat\": [0.10, 0.25, 0.10]},\n",
|
|
|
|
|
" \"revenue ($/tonne)\": 3_000,\n",
|
|
|
|
|
" \"collection cost ($/tonne)\": {\"UsedBoat\": 100},\n",
|
|
|
|
@ -115,13 +115,13 @@
|
|
|
|
|
" },\n",
|
|
|
|
|
" \"capacities\": [\n",
|
|
|
|
|
" {\n",
|
|
|
|
|
" \"size\": 50,\n",
|
|
|
|
|
" \"size (tonne)\": 50,\n",
|
|
|
|
|
" \"opening cost ($)\": 10_000,\n",
|
|
|
|
|
" \"fixed operating cost ($)\": 1_000,\n",
|
|
|
|
|
" \"variable operating cost ($/tonne)\": 5,\n",
|
|
|
|
|
" },\n",
|
|
|
|
|
" {\n",
|
|
|
|
|
" \"size\": 500,\n",
|
|
|
|
|
" \"size (tonne)\": 500,\n",
|
|
|
|
|
" \"opening cost ($)\": 20_000,\n",
|
|
|
|
|
" \"fixed operating cost ($)\": 2_000,\n",
|
|
|
|
|
" \"variable operating cost ($/tonne)\": 5,\n",
|
|
|
|
@ -147,13 +147,13 @@
|
|
|
|
|
" \"disposal limit (tonne)\": {\"Nail\": None, \"Wood\": None},\n",
|
|
|
|
|
" \"capacities\": [\n",
|
|
|
|
|
" {\n",
|
|
|
|
|
" \"size\": 50,\n",
|
|
|
|
|
" \"size (tonne)\": 50,\n",
|
|
|
|
|
" \"opening cost ($)\": 5_000,\n",
|
|
|
|
|
" \"fixed operating cost ($)\": 500,\n",
|
|
|
|
|
" \"variable operating cost ($/tonne)\": 2.5,\n",
|
|
|
|
|
" },\n",
|
|
|
|
|
" {\n",
|
|
|
|
|
" \"size\": 500,\n",
|
|
|
|
|
" \"size (tonne)\": 500,\n",
|
|
|
|
|
" \"opening cost ($)\": 10_000,\n",
|
|
|
|
|
" \n",
|
|
|
|
|
" \"fixed operating cost ($)\": 1_000,\n",
|
|
|
|
@ -166,7 +166,7 @@
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
|
|
|
|
"execution_count": 17,
|
|
|
|
|
"execution_count": 13,
|
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [],
|
|
|
|
|
"source": [
|
|
|
|
|