From ca06db28709c08dc20c0b8c42f34fbe6086def0e Mon Sep 17 00:00:00 2001 From: "Alinson S. Xavier" Date: Tue, 16 Sep 2025 12:17:00 -0500 Subject: [PATCH] Add more fields to CSV reports --- src/reports/centers.jl | 10 + src/reports/plants.jl | 23 ++ test/fixtures/boat_example/center_outputs.csv | 162 +++++----- test/fixtures/boat_example/centers.csv | 162 +++++----- test/fixtures/boat_example/plant_outputs.csv | 302 +++++++++--------- test/fixtures/boat_example/plants.csv | 202 ++++++------ 6 files changed, 447 insertions(+), 414 deletions(-) diff --git a/src/reports/centers.jl b/src/reports/centers.jl index 252d1c0..dde7cbb 100644 --- a/src/reports/centers.jl +++ b/src/reports/centers.jl @@ -8,6 +8,8 @@ using CSV function centers_report(model)::DataFrame df = DataFrame() df."center" = String[] + df."latitude" = Float64[] + df."longitude" = Float64[] df."year" = Int[] df."input product" = String[] df."input amount (tonne)" = Float64[] @@ -33,6 +35,8 @@ function centers_report(model)::DataFrame df, Dict( "center" => c.name, + "latitude" => c.latitude, + "longitude" => c.longitude, "year" => t, "input product" => input_name, "input amount (tonne)" => _round(input), @@ -47,10 +51,13 @@ end function center_outputs_report(model)::DataFrame df = DataFrame() df."center" = String[] + df."latitude" = Float64[] + df."longitude" = Float64[] df."output product" = String[] df."year" = Int[] df."amount collected (tonne)" = Float64[] df."amount disposed (tonne)" = Float64[] + df."disposal limit (tonne)" = Float64[] df."collection cost (\$)" = Float64[] df."disposal cost (\$)" = Float64[] @@ -74,10 +81,13 @@ function center_outputs_report(model)::DataFrame df, Dict( "center" => c.name, + "latitude" => c.latitude, + "longitude" => c.longitude, "output product" => m.name, "year" => t, "amount collected (tonne)" => _round(collected), "amount disposed (tonne)" => _round(disposed), + "disposal limit (tonne)" => _round(c.disposal_limit[m][t]), "collection cost (\$)" => _round(collection_cost), "disposal cost (\$)" => _round(disposal_cost), ), diff --git a/src/reports/plants.jl b/src/reports/plants.jl index 5fc0ae6..46af6fa 100644 --- a/src/reports/plants.jl +++ b/src/reports/plants.jl @@ -8,6 +8,10 @@ using CSV function plants_report(model)::DataFrame df = DataFrame() df."plant" = String[] + df."latitude" = Float64[] + df."longitude" = Float64[] + df."initial capacity" = Float64[] + df."current capacity" = Float64[] df."year" = Int[] df."operational?" = Bool[] df."input amount (tonne)" = Float64[] @@ -21,16 +25,29 @@ function plants_report(model)::DataFrame for p in plants, t in T operational = JuMP.value(model[:x][p.name, t]) > 0.5 input = value(model[:z_input][p.name, t]) + + # Opening cost opening_cost = 0 if value(model[:x][p.name, t]) > 0.5 && value(model[:x][p.name, t-1]) < 0.5 opening_cost = p.capacities[1].opening_cost[t] end + + # Plant size + curr_capacity = 0 + if operational + curr_capacity = p.capacities[1].size + end + fix_operating_cost = (operational ? p.capacities[1].fix_operating_cost[t] : 0) var_operating_cost = input * p.capacities[1].var_operating_cost[t] push!( df, Dict( "plant" => p.name, + "latitude" => p.latitude, + "longitude" => p.longitude, + "initial capacity" => p.initial_capacity, + "current capacity" => curr_capacity, "year" => t, "operational?" => operational, "input amount (tonne)" => _round(input), @@ -46,10 +63,13 @@ end function plant_outputs_report(model)::DataFrame df = DataFrame() df."plant" = String[] + df."latitude" = Float64[] + df."longitude" = Float64[] df."output product" = String[] df."year" = Int[] df."amount produced (tonne)" = Float64[] df."amount disposed (tonne)" = Float64[] + df."disposal limit (tonne)" = Float64[] df."disposal cost (\$)" = Float64[] plants = model.ext[:instance].plants @@ -63,10 +83,13 @@ function plant_outputs_report(model)::DataFrame df, Dict( "plant" => p.name, + "latitude" => p.latitude, + "longitude" => p.longitude, "output product" => m.name, "year" => t, "amount produced (tonne)" => _round(produced), "amount disposed (tonne)" => _round(disposed), + "disposal limit (tonne)" => _round(p.disposal_limit[m][t]), "disposal cost (\$)" => _round(disposal_cost), ), ) diff --git a/test/fixtures/boat_example/center_outputs.csv b/test/fixtures/boat_example/center_outputs.csv index 7a50a3a..21b9d95 100644 --- a/test/fixtures/boat_example/center_outputs.csv +++ b/test/fixtures/boat_example/center_outputs.csv @@ -1,81 +1,81 @@ -center,output product,year,amount collected (tonne),amount disposed (tonne),collection cost ($),disposal cost ($) -NailFactory (Chicago),Nail,1,1.0,0.0,1000.0,0.0 -NailFactory (Chicago),Nail,2,1.0,0.0,1000.0,0.0 -NailFactory (Chicago),Nail,3,1.0,0.0,1000.0,0.0 -NailFactory (Chicago),Nail,4,1.0,0.0,1000.0,0.0 -NailFactory (Chicago),Nail,5,1.0,0.0,1000.0,0.0 -NailFactory (Phoenix),Nail,1,1.0,0.0,1000.0,0.0 -NailFactory (Phoenix),Nail,2,1.0,0.0,1000.0,0.0 -NailFactory (Phoenix),Nail,3,1.0,0.0,1000.0,0.0 -NailFactory (Phoenix),Nail,4,1.0,0.0,1000.0,0.0 -NailFactory (Phoenix),Nail,5,1.0,0.0,1000.0,0.0 -NailFactory (Dallas),Nail,1,1.0,0.0,1000.0,0.0 -NailFactory (Dallas),Nail,2,1.0,-0.0,1000.0,-0.0 -NailFactory (Dallas),Nail,3,1.0,0.0,1000.0,0.0 -NailFactory (Dallas),Nail,4,1.0,-0.0,1000.0,-0.0 -NailFactory (Dallas),Nail,5,1.0,-0.0,1000.0,-0.0 -Forest (Chicago),Wood,1,100.0,100.0,0.0,0.0 -Forest (Chicago),Wood,2,100.0,100.0,0.0,0.0 -Forest (Chicago),Wood,3,100.0,100.0,0.0,0.0 -Forest (Chicago),Wood,4,100.0,100.0,0.0,0.0 -Forest (Chicago),Wood,5,100.0,100.0,0.0,0.0 -Forest (Phoenix),Wood,1,100.0,100.0,0.0,0.0 -Forest (Phoenix),Wood,2,100.0,100.0,0.0,0.0 -Forest (Phoenix),Wood,3,100.0,100.0,0.0,0.0 -Forest (Phoenix),Wood,4,100.0,100.0,0.0,0.0 -Forest (Phoenix),Wood,5,100.0,100.0,0.0,0.0 -Forest (Dallas),Wood,1,100.0,43.0,14250.0,0.0 -Forest (Dallas),Wood,2,100.0,43.0,14250.0,0.0 -Forest (Dallas),Wood,3,100.0,43.0,14250.0,0.0 -Forest (Dallas),Wood,4,100.0,43.0,14250.0,0.0 -Forest (Dallas),Wood,5,100.0,43.0,14250.0,0.0 -Retail (Chicago),UsedBoat,1,0.0,0.0,0.0,0.0 -Retail (Chicago),UsedBoat,2,0.0,0.0,0.0,0.0 -Retail (Chicago),UsedBoat,3,0.0,0.0,0.0,0.0 -Retail (Chicago),UsedBoat,4,0.0,0.0,0.0,0.0 -Retail (Chicago),UsedBoat,5,0.0,0.0,0.0,0.0 -Retail (New York City),UsedBoat,1,0.0,0.0,0.0,0.0 -Retail (New York City),UsedBoat,2,0.0,0.0,0.0,0.0 -Retail (New York City),UsedBoat,3,0.0,0.0,0.0,0.0 -Retail (New York City),UsedBoat,4,0.0,0.0,0.0,0.0 -Retail (New York City),UsedBoat,5,0.0,0.0,0.0,0.0 -Retail (Los Angeles),UsedBoat,1,0.0,0.0,0.0,0.0 -Retail (Los Angeles),UsedBoat,2,0.0,0.0,0.0,0.0 -Retail (Los Angeles),UsedBoat,3,0.0,0.0,0.0,0.0 -Retail (Los Angeles),UsedBoat,4,0.0,0.0,0.0,0.0 -Retail (Los Angeles),UsedBoat,5,-0.0,0.0,-0.0,0.0 -Retail (Houston),UsedBoat,1,0.0,0.0,0.0,0.0 -Retail (Houston),UsedBoat,2,0.0,0.0,0.0,0.0 -Retail (Houston),UsedBoat,3,0.0,0.0,0.0,0.0 -Retail (Houston),UsedBoat,4,0.0,0.0,0.0,0.0 -Retail (Houston),UsedBoat,5,-0.0,0.0,-0.0,0.0 -Retail (Phoenix),UsedBoat,1,0.0,0.0,0.0,0.0 -Retail (Phoenix),UsedBoat,2,0.0,0.0,0.0,0.0 -Retail (Phoenix),UsedBoat,3,0.0,0.0,0.0,0.0 -Retail (Phoenix),UsedBoat,4,-0.0,0.0,-0.0,0.0 -Retail (Phoenix),UsedBoat,5,-0.0,0.0,-0.0,0.0 -Retail (Philadelphia),UsedBoat,1,0.0,0.0,0.0,0.0 -Retail (Philadelphia),UsedBoat,2,0.0,0.0,0.0,0.0 -Retail (Philadelphia),UsedBoat,3,0.0,0.0,0.0,0.0 -Retail (Philadelphia),UsedBoat,4,0.0,0.0,0.0,0.0 -Retail (Philadelphia),UsedBoat,5,0.0,0.0,0.0,0.0 -Retail (San Antonio),UsedBoat,1,0.0,0.0,0.0,0.0 -Retail (San Antonio),UsedBoat,2,0.0,0.0,0.0,0.0 -Retail (San Antonio),UsedBoat,3,0.0,0.0,0.0,0.0 -Retail (San Antonio),UsedBoat,4,0.0,0.0,0.0,0.0 -Retail (San Antonio),UsedBoat,5,0.0,0.0,0.0,0.0 -Retail (San Diego),UsedBoat,1,0.0,0.0,0.0,0.0 -Retail (San Diego),UsedBoat,2,0.0,0.0,0.0,0.0 -Retail (San Diego),UsedBoat,3,0.0,0.0,0.0,0.0 -Retail (San Diego),UsedBoat,4,0.0,0.0,0.0,0.0 -Retail (San Diego),UsedBoat,5,0.0,0.0,0.0,0.0 -Retail (Dallas),UsedBoat,1,6.31579,0.0,631.57895,0.0 -Retail (Dallas),UsedBoat,2,22.93629,0.0,2293.62881,0.0 -Retail (Dallas),UsedBoat,3,31.7714,0.0,3177.13952,0.0 -Retail (Dallas),UsedBoat,4,33.80867,0.0,3380.86724,0.0 -Retail (Dallas),UsedBoat,5,34.54174,0.0,3454.17409,0.0 -Retail (San Jose),UsedBoat,1,0.0,0.0,0.0,0.0 -Retail (San Jose),UsedBoat,2,0.0,0.0,0.0,0.0 -Retail (San Jose),UsedBoat,3,0.0,0.0,0.0,0.0 -Retail (San Jose),UsedBoat,4,0.0,0.0,0.0,0.0 -Retail (San Jose),UsedBoat,5,0.0,0.0,0.0,0.0 +center,latitude,longitude,output product,year,amount collected (tonne),amount disposed (tonne),disposal limit (tonne),collection cost ($),disposal cost ($) +NailFactory (Chicago),41.881832,-87.623177,Nail,1,1.0,0.0,Inf,1000.0,0.0 +NailFactory (Chicago),41.881832,-87.623177,Nail,2,1.0,0.0,Inf,1000.0,0.0 +NailFactory (Chicago),41.881832,-87.623177,Nail,3,1.0,0.0,Inf,1000.0,0.0 +NailFactory (Chicago),41.881832,-87.623177,Nail,4,1.0,0.0,Inf,1000.0,0.0 +NailFactory (Chicago),41.881832,-87.623177,Nail,5,1.0,0.0,Inf,1000.0,0.0 +NailFactory (Phoenix),33.448376,-112.074036,Nail,1,1.0,0.0,Inf,1000.0,0.0 +NailFactory (Phoenix),33.448376,-112.074036,Nail,2,1.0,0.0,Inf,1000.0,0.0 +NailFactory (Phoenix),33.448376,-112.074036,Nail,3,1.0,0.0,Inf,1000.0,0.0 +NailFactory (Phoenix),33.448376,-112.074036,Nail,4,1.0,0.0,Inf,1000.0,0.0 +NailFactory (Phoenix),33.448376,-112.074036,Nail,5,1.0,0.0,Inf,1000.0,0.0 +NailFactory (Dallas),32.776664,-96.796988,Nail,1,1.0,0.0,Inf,1000.0,0.0 +NailFactory (Dallas),32.776664,-96.796988,Nail,2,1.0,-0.0,Inf,1000.0,-0.0 +NailFactory (Dallas),32.776664,-96.796988,Nail,3,1.0,0.0,Inf,1000.0,0.0 +NailFactory (Dallas),32.776664,-96.796988,Nail,4,1.0,-0.0,Inf,1000.0,-0.0 +NailFactory (Dallas),32.776664,-96.796988,Nail,5,1.0,-0.0,Inf,1000.0,-0.0 +Forest (Chicago),41.881832,-87.623177,Wood,1,100.0,100.0,Inf,0.0,0.0 +Forest (Chicago),41.881832,-87.623177,Wood,2,100.0,100.0,Inf,0.0,0.0 +Forest (Chicago),41.881832,-87.623177,Wood,3,100.0,100.0,Inf,0.0,0.0 +Forest (Chicago),41.881832,-87.623177,Wood,4,100.0,100.0,Inf,0.0,0.0 +Forest (Chicago),41.881832,-87.623177,Wood,5,100.0,100.0,Inf,0.0,0.0 +Forest (Phoenix),33.448376,-112.074036,Wood,1,100.0,100.0,Inf,0.0,0.0 +Forest (Phoenix),33.448376,-112.074036,Wood,2,100.0,100.0,Inf,0.0,0.0 +Forest (Phoenix),33.448376,-112.074036,Wood,3,100.0,100.0,Inf,0.0,0.0 +Forest (Phoenix),33.448376,-112.074036,Wood,4,100.0,100.0,Inf,0.0,0.0 +Forest (Phoenix),33.448376,-112.074036,Wood,5,100.0,100.0,Inf,0.0,0.0 +Forest (Dallas),32.776664,-96.796988,Wood,1,100.0,43.0,Inf,14250.0,0.0 +Forest (Dallas),32.776664,-96.796988,Wood,2,100.0,43.0,Inf,14250.0,0.0 +Forest (Dallas),32.776664,-96.796988,Wood,3,100.0,43.0,Inf,14250.0,0.0 +Forest (Dallas),32.776664,-96.796988,Wood,4,100.0,43.0,Inf,14250.0,0.0 +Forest (Dallas),32.776664,-96.796988,Wood,5,100.0,43.0,Inf,14250.0,0.0 +Retail (Chicago),41.881832,-87.623177,UsedBoat,1,0.0,0.0,0.0,0.0,0.0 +Retail (Chicago),41.881832,-87.623177,UsedBoat,2,0.0,0.0,0.0,0.0,0.0 +Retail (Chicago),41.881832,-87.623177,UsedBoat,3,0.0,0.0,0.0,0.0,0.0 +Retail (Chicago),41.881832,-87.623177,UsedBoat,4,0.0,0.0,0.0,0.0,0.0 +Retail (Chicago),41.881832,-87.623177,UsedBoat,5,0.0,0.0,0.0,0.0,0.0 +Retail (New York City),40.712776,-74.005974,UsedBoat,1,0.0,0.0,0.0,0.0,0.0 +Retail (New York City),40.712776,-74.005974,UsedBoat,2,0.0,0.0,0.0,0.0,0.0 +Retail (New York City),40.712776,-74.005974,UsedBoat,3,0.0,0.0,0.0,0.0,0.0 +Retail (New York City),40.712776,-74.005974,UsedBoat,4,0.0,0.0,0.0,0.0,0.0 +Retail (New York City),40.712776,-74.005974,UsedBoat,5,0.0,0.0,0.0,0.0,0.0 +Retail (Los Angeles),34.052235,-118.243683,UsedBoat,1,0.0,0.0,0.0,0.0,0.0 +Retail (Los Angeles),34.052235,-118.243683,UsedBoat,2,0.0,0.0,0.0,0.0,0.0 +Retail (Los Angeles),34.052235,-118.243683,UsedBoat,3,0.0,0.0,0.0,0.0,0.0 +Retail (Los Angeles),34.052235,-118.243683,UsedBoat,4,0.0,0.0,0.0,0.0,0.0 +Retail (Los Angeles),34.052235,-118.243683,UsedBoat,5,-0.0,0.0,0.0,-0.0,0.0 +Retail (Houston),29.760427,-95.369804,UsedBoat,1,0.0,0.0,0.0,0.0,0.0 +Retail (Houston),29.760427,-95.369804,UsedBoat,2,0.0,0.0,0.0,0.0,0.0 +Retail (Houston),29.760427,-95.369804,UsedBoat,3,0.0,0.0,0.0,0.0,0.0 +Retail (Houston),29.760427,-95.369804,UsedBoat,4,0.0,0.0,0.0,0.0,0.0 +Retail (Houston),29.760427,-95.369804,UsedBoat,5,-0.0,0.0,0.0,-0.0,0.0 +Retail (Phoenix),33.448376,-112.074036,UsedBoat,1,0.0,0.0,0.0,0.0,0.0 +Retail (Phoenix),33.448376,-112.074036,UsedBoat,2,0.0,0.0,0.0,0.0,0.0 +Retail (Phoenix),33.448376,-112.074036,UsedBoat,3,0.0,0.0,0.0,0.0,0.0 +Retail (Phoenix),33.448376,-112.074036,UsedBoat,4,-0.0,0.0,0.0,-0.0,0.0 +Retail (Phoenix),33.448376,-112.074036,UsedBoat,5,-0.0,0.0,0.0,-0.0,0.0 +Retail (Philadelphia),39.952583,-75.165222,UsedBoat,1,0.0,0.0,0.0,0.0,0.0 +Retail (Philadelphia),39.952583,-75.165222,UsedBoat,2,0.0,0.0,0.0,0.0,0.0 +Retail (Philadelphia),39.952583,-75.165222,UsedBoat,3,0.0,0.0,0.0,0.0,0.0 +Retail (Philadelphia),39.952583,-75.165222,UsedBoat,4,0.0,0.0,0.0,0.0,0.0 +Retail (Philadelphia),39.952583,-75.165222,UsedBoat,5,0.0,0.0,0.0,0.0,0.0 +Retail (San Antonio),29.424122,-98.493629,UsedBoat,1,0.0,0.0,0.0,0.0,0.0 +Retail (San Antonio),29.424122,-98.493629,UsedBoat,2,0.0,0.0,0.0,0.0,0.0 +Retail (San Antonio),29.424122,-98.493629,UsedBoat,3,0.0,0.0,0.0,0.0,0.0 +Retail (San Antonio),29.424122,-98.493629,UsedBoat,4,0.0,0.0,0.0,0.0,0.0 +Retail (San Antonio),29.424122,-98.493629,UsedBoat,5,0.0,0.0,0.0,0.0,0.0 +Retail (San Diego),32.715736,-117.161087,UsedBoat,1,0.0,0.0,0.0,0.0,0.0 +Retail (San Diego),32.715736,-117.161087,UsedBoat,2,0.0,0.0,0.0,0.0,0.0 +Retail (San Diego),32.715736,-117.161087,UsedBoat,3,0.0,0.0,0.0,0.0,0.0 +Retail (San Diego),32.715736,-117.161087,UsedBoat,4,0.0,0.0,0.0,0.0,0.0 +Retail (San Diego),32.715736,-117.161087,UsedBoat,5,0.0,0.0,0.0,0.0,0.0 +Retail (Dallas),32.776664,-96.796988,UsedBoat,1,6.31579,0.0,0.0,631.57895,0.0 +Retail (Dallas),32.776664,-96.796988,UsedBoat,2,22.93629,0.0,0.0,2293.62881,0.0 +Retail (Dallas),32.776664,-96.796988,UsedBoat,3,31.7714,0.0,0.0,3177.13952,0.0 +Retail (Dallas),32.776664,-96.796988,UsedBoat,4,33.80867,0.0,0.0,3380.86724,0.0 +Retail (Dallas),32.776664,-96.796988,UsedBoat,5,34.54174,0.0,0.0,3454.17409,0.0 +Retail (San Jose),37.338208,-121.886329,UsedBoat,1,0.0,0.0,0.0,0.0,0.0 +Retail (San Jose),37.338208,-121.886329,UsedBoat,2,0.0,0.0,0.0,0.0,0.0 +Retail (San Jose),37.338208,-121.886329,UsedBoat,3,0.0,0.0,0.0,0.0,0.0 +Retail (San Jose),37.338208,-121.886329,UsedBoat,4,0.0,0.0,0.0,0.0,0.0 +Retail (San Jose),37.338208,-121.886329,UsedBoat,5,0.0,0.0,0.0,0.0,0.0 diff --git a/test/fixtures/boat_example/centers.csv b/test/fixtures/boat_example/centers.csv index 51fd605..f71f570 100644 --- a/test/fixtures/boat_example/centers.csv +++ b/test/fixtures/boat_example/centers.csv @@ -1,81 +1,81 @@ -center,year,input product,input amount (tonne),revenue ($),operating cost ($) -NailFactory (Chicago),1,,0.0,0.0,0.0 -NailFactory (Chicago),2,,0.0,0.0,0.0 -NailFactory (Chicago),3,,0.0,0.0,0.0 -NailFactory (Chicago),4,,0.0,0.0,0.0 -NailFactory (Chicago),5,,0.0,0.0,0.0 -NailFactory (Phoenix),1,,0.0,0.0,0.0 -NailFactory (Phoenix),2,,0.0,0.0,0.0 -NailFactory (Phoenix),3,,0.0,0.0,0.0 -NailFactory (Phoenix),4,,0.0,0.0,0.0 -NailFactory (Phoenix),5,,0.0,0.0,0.0 -NailFactory (Dallas),1,,0.0,0.0,0.0 -NailFactory (Dallas),2,,0.0,0.0,0.0 -NailFactory (Dallas),3,,0.0,0.0,0.0 -NailFactory (Dallas),4,,0.0,0.0,0.0 -NailFactory (Dallas),5,,0.0,0.0,0.0 -Forest (Chicago),1,,0.0,0.0,0.0 -Forest (Chicago),2,,0.0,0.0,0.0 -Forest (Chicago),3,,0.0,0.0,0.0 -Forest (Chicago),4,,0.0,0.0,0.0 -Forest (Chicago),5,,0.0,0.0,0.0 -Forest (Phoenix),1,,0.0,0.0,0.0 -Forest (Phoenix),2,,0.0,0.0,0.0 -Forest (Phoenix),3,,0.0,0.0,0.0 -Forest (Phoenix),4,,0.0,0.0,0.0 -Forest (Phoenix),5,,0.0,0.0,0.0 -Forest (Dallas),1,,0.0,0.0,0.0 -Forest (Dallas),2,,0.0,0.0,0.0 -Forest (Dallas),3,,0.0,0.0,0.0 -Forest (Dallas),4,,0.0,0.0,0.0 -Forest (Dallas),5,,0.0,0.0,0.0 -Retail (Chicago),1,NewBoat,0.0,0.0,125000.0 -Retail (Chicago),2,NewBoat,0.0,0.0,125000.0 -Retail (Chicago),3,NewBoat,0.0,0.0,125000.0 -Retail (Chicago),4,NewBoat,0.0,0.0,125000.0 -Retail (Chicago),5,NewBoat,0.0,0.0,125000.0 -Retail (New York City),1,NewBoat,0.0,0.0,125000.0 -Retail (New York City),2,NewBoat,0.0,0.0,125000.0 -Retail (New York City),3,NewBoat,0.0,0.0,125000.0 -Retail (New York City),4,NewBoat,0.0,0.0,125000.0 -Retail (New York City),5,NewBoat,0.0,0.0,125000.0 -Retail (Los Angeles),1,NewBoat,0.0,0.0,125000.0 -Retail (Los Angeles),2,NewBoat,0.0,0.0,125000.0 -Retail (Los Angeles),3,NewBoat,0.0,0.0,125000.0 -Retail (Los Angeles),4,NewBoat,0.0,0.0,125000.0 -Retail (Los Angeles),5,NewBoat,-0.0,0.0,125000.0 -Retail (Houston),1,NewBoat,0.0,0.0,125000.0 -Retail (Houston),2,NewBoat,0.0,0.0,125000.0 -Retail (Houston),3,NewBoat,0.0,0.0,125000.0 -Retail (Houston),4,NewBoat,0.0,0.0,125000.0 -Retail (Houston),5,NewBoat,-0.0,0.0,125000.0 -Retail (Phoenix),1,NewBoat,0.0,0.0,125000.0 -Retail (Phoenix),2,NewBoat,0.0,0.0,125000.0 -Retail (Phoenix),3,NewBoat,0.0,0.0,125000.0 -Retail (Phoenix),4,NewBoat,-0.0,-0.0,125000.0 -Retail (Phoenix),5,NewBoat,0.0,0.0,125000.0 -Retail (Philadelphia),1,NewBoat,0.0,0.0,125000.0 -Retail (Philadelphia),2,NewBoat,0.0,0.0,125000.0 -Retail (Philadelphia),3,NewBoat,0.0,0.0,125000.0 -Retail (Philadelphia),4,NewBoat,0.0,0.0,125000.0 -Retail (Philadelphia),5,NewBoat,0.0,0.0,125000.0 -Retail (San Antonio),1,NewBoat,0.0,0.0,125000.0 -Retail (San Antonio),2,NewBoat,0.0,0.0,125000.0 -Retail (San Antonio),3,NewBoat,0.0,0.0,125000.0 -Retail (San Antonio),4,NewBoat,0.0,0.0,125000.0 -Retail (San Antonio),5,NewBoat,0.0,0.0,125000.0 -Retail (San Diego),1,NewBoat,0.0,0.0,125000.0 -Retail (San Diego),2,NewBoat,0.0,0.0,125000.0 -Retail (San Diego),3,NewBoat,0.0,0.0,125000.0 -Retail (San Diego),4,NewBoat,0.0,0.0,125000.0 -Retail (San Diego),5,NewBoat,0.0,0.0,125000.0 -Retail (Dallas),1,NewBoat,63.15789,757894.73684,125000.0 -Retail (Dallas),2,NewBoat,71.46814,857617.72853,125000.0 -Retail (Dallas),3,NewBoat,75.8857,910628.37148,125000.0 -Retail (Dallas),4,NewBoat,76.90434,922852.03459,125000.0 -Retail (Dallas),5,NewBoat,77.27087,927250.44516,125000.0 -Retail (San Jose),1,NewBoat,0.0,0.0,125000.0 -Retail (San Jose),2,NewBoat,0.0,0.0,125000.0 -Retail (San Jose),3,NewBoat,0.0,0.0,125000.0 -Retail (San Jose),4,NewBoat,0.0,0.0,125000.0 -Retail (San Jose),5,NewBoat,0.0,0.0,125000.0 +center,latitude,longitude,year,input product,input amount (tonne),revenue ($),operating cost ($) +NailFactory (Chicago),41.881832,-87.623177,1,,0.0,0.0,0.0 +NailFactory (Chicago),41.881832,-87.623177,2,,0.0,0.0,0.0 +NailFactory (Chicago),41.881832,-87.623177,3,,0.0,0.0,0.0 +NailFactory (Chicago),41.881832,-87.623177,4,,0.0,0.0,0.0 +NailFactory (Chicago),41.881832,-87.623177,5,,0.0,0.0,0.0 +NailFactory (Phoenix),33.448376,-112.074036,1,,0.0,0.0,0.0 +NailFactory (Phoenix),33.448376,-112.074036,2,,0.0,0.0,0.0 +NailFactory (Phoenix),33.448376,-112.074036,3,,0.0,0.0,0.0 +NailFactory (Phoenix),33.448376,-112.074036,4,,0.0,0.0,0.0 +NailFactory (Phoenix),33.448376,-112.074036,5,,0.0,0.0,0.0 +NailFactory (Dallas),32.776664,-96.796988,1,,0.0,0.0,0.0 +NailFactory (Dallas),32.776664,-96.796988,2,,0.0,0.0,0.0 +NailFactory (Dallas),32.776664,-96.796988,3,,0.0,0.0,0.0 +NailFactory (Dallas),32.776664,-96.796988,4,,0.0,0.0,0.0 +NailFactory (Dallas),32.776664,-96.796988,5,,0.0,0.0,0.0 +Forest (Chicago),41.881832,-87.623177,1,,0.0,0.0,0.0 +Forest (Chicago),41.881832,-87.623177,2,,0.0,0.0,0.0 +Forest (Chicago),41.881832,-87.623177,3,,0.0,0.0,0.0 +Forest (Chicago),41.881832,-87.623177,4,,0.0,0.0,0.0 +Forest (Chicago),41.881832,-87.623177,5,,0.0,0.0,0.0 +Forest (Phoenix),33.448376,-112.074036,1,,0.0,0.0,0.0 +Forest (Phoenix),33.448376,-112.074036,2,,0.0,0.0,0.0 +Forest (Phoenix),33.448376,-112.074036,3,,0.0,0.0,0.0 +Forest (Phoenix),33.448376,-112.074036,4,,0.0,0.0,0.0 +Forest (Phoenix),33.448376,-112.074036,5,,0.0,0.0,0.0 +Forest (Dallas),32.776664,-96.796988,1,,0.0,0.0,0.0 +Forest (Dallas),32.776664,-96.796988,2,,0.0,0.0,0.0 +Forest (Dallas),32.776664,-96.796988,3,,0.0,0.0,0.0 +Forest (Dallas),32.776664,-96.796988,4,,0.0,0.0,0.0 +Forest (Dallas),32.776664,-96.796988,5,,0.0,0.0,0.0 +Retail (Chicago),41.881832,-87.623177,1,NewBoat,0.0,0.0,125000.0 +Retail (Chicago),41.881832,-87.623177,2,NewBoat,0.0,0.0,125000.0 +Retail (Chicago),41.881832,-87.623177,3,NewBoat,0.0,0.0,125000.0 +Retail (Chicago),41.881832,-87.623177,4,NewBoat,0.0,0.0,125000.0 +Retail (Chicago),41.881832,-87.623177,5,NewBoat,0.0,0.0,125000.0 +Retail (New York City),40.712776,-74.005974,1,NewBoat,0.0,0.0,125000.0 +Retail (New York City),40.712776,-74.005974,2,NewBoat,0.0,0.0,125000.0 +Retail (New York City),40.712776,-74.005974,3,NewBoat,0.0,0.0,125000.0 +Retail (New York City),40.712776,-74.005974,4,NewBoat,0.0,0.0,125000.0 +Retail (New York City),40.712776,-74.005974,5,NewBoat,0.0,0.0,125000.0 +Retail (Los Angeles),34.052235,-118.243683,1,NewBoat,0.0,0.0,125000.0 +Retail (Los Angeles),34.052235,-118.243683,2,NewBoat,0.0,0.0,125000.0 +Retail (Los Angeles),34.052235,-118.243683,3,NewBoat,0.0,0.0,125000.0 +Retail (Los Angeles),34.052235,-118.243683,4,NewBoat,0.0,0.0,125000.0 +Retail (Los Angeles),34.052235,-118.243683,5,NewBoat,-0.0,0.0,125000.0 +Retail (Houston),29.760427,-95.369804,1,NewBoat,0.0,0.0,125000.0 +Retail (Houston),29.760427,-95.369804,2,NewBoat,0.0,0.0,125000.0 +Retail (Houston),29.760427,-95.369804,3,NewBoat,0.0,0.0,125000.0 +Retail (Houston),29.760427,-95.369804,4,NewBoat,0.0,0.0,125000.0 +Retail (Houston),29.760427,-95.369804,5,NewBoat,-0.0,0.0,125000.0 +Retail (Phoenix),33.448376,-112.074036,1,NewBoat,0.0,0.0,125000.0 +Retail (Phoenix),33.448376,-112.074036,2,NewBoat,0.0,0.0,125000.0 +Retail (Phoenix),33.448376,-112.074036,3,NewBoat,0.0,0.0,125000.0 +Retail (Phoenix),33.448376,-112.074036,4,NewBoat,-0.0,-0.0,125000.0 +Retail (Phoenix),33.448376,-112.074036,5,NewBoat,0.0,0.0,125000.0 +Retail (Philadelphia),39.952583,-75.165222,1,NewBoat,0.0,0.0,125000.0 +Retail (Philadelphia),39.952583,-75.165222,2,NewBoat,0.0,0.0,125000.0 +Retail (Philadelphia),39.952583,-75.165222,3,NewBoat,0.0,0.0,125000.0 +Retail (Philadelphia),39.952583,-75.165222,4,NewBoat,0.0,0.0,125000.0 +Retail (Philadelphia),39.952583,-75.165222,5,NewBoat,0.0,0.0,125000.0 +Retail (San Antonio),29.424122,-98.493629,1,NewBoat,0.0,0.0,125000.0 +Retail (San Antonio),29.424122,-98.493629,2,NewBoat,0.0,0.0,125000.0 +Retail (San Antonio),29.424122,-98.493629,3,NewBoat,0.0,0.0,125000.0 +Retail (San Antonio),29.424122,-98.493629,4,NewBoat,0.0,0.0,125000.0 +Retail (San Antonio),29.424122,-98.493629,5,NewBoat,0.0,0.0,125000.0 +Retail (San Diego),32.715736,-117.161087,1,NewBoat,0.0,0.0,125000.0 +Retail (San Diego),32.715736,-117.161087,2,NewBoat,0.0,0.0,125000.0 +Retail (San Diego),32.715736,-117.161087,3,NewBoat,0.0,0.0,125000.0 +Retail (San Diego),32.715736,-117.161087,4,NewBoat,0.0,0.0,125000.0 +Retail (San Diego),32.715736,-117.161087,5,NewBoat,0.0,0.0,125000.0 +Retail (Dallas),32.776664,-96.796988,1,NewBoat,63.15789,757894.73684,125000.0 +Retail (Dallas),32.776664,-96.796988,2,NewBoat,71.46814,857617.72853,125000.0 +Retail (Dallas),32.776664,-96.796988,3,NewBoat,75.8857,910628.37148,125000.0 +Retail (Dallas),32.776664,-96.796988,4,NewBoat,76.90434,922852.03459,125000.0 +Retail (Dallas),32.776664,-96.796988,5,NewBoat,77.27087,927250.44516,125000.0 +Retail (San Jose),37.338208,-121.886329,1,NewBoat,0.0,0.0,125000.0 +Retail (San Jose),37.338208,-121.886329,2,NewBoat,0.0,0.0,125000.0 +Retail (San Jose),37.338208,-121.886329,3,NewBoat,0.0,0.0,125000.0 +Retail (San Jose),37.338208,-121.886329,4,NewBoat,0.0,0.0,125000.0 +Retail (San Jose),37.338208,-121.886329,5,NewBoat,0.0,0.0,125000.0 diff --git a/test/fixtures/boat_example/plant_outputs.csv b/test/fixtures/boat_example/plant_outputs.csv index 428cf1a..fad04cb 100644 --- a/test/fixtures/boat_example/plant_outputs.csv +++ b/test/fixtures/boat_example/plant_outputs.csv @@ -1,151 +1,151 @@ -plant,output product,year,amount produced (tonne),amount disposed (tonne),disposal cost ($) -BoatFactory (Chicago),NewBoat,1,0.0,0.0,0.0 -BoatFactory (Chicago),NewBoat,2,0.0,0.0,0.0 -BoatFactory (Chicago),NewBoat,3,0.0,0.0,0.0 -BoatFactory (Chicago),NewBoat,4,0.0,0.0,0.0 -BoatFactory (Chicago),NewBoat,5,0.0,0.0,0.0 -BoatFactory (New York City),NewBoat,1,0.0,0.0,0.0 -BoatFactory (New York City),NewBoat,2,0.0,0.0,0.0 -BoatFactory (New York City),NewBoat,3,0.0,0.0,0.0 -BoatFactory (New York City),NewBoat,4,0.0,0.0,0.0 -BoatFactory (New York City),NewBoat,5,0.0,0.0,0.0 -BoatFactory (Los Angeles),NewBoat,1,0.0,0.0,0.0 -BoatFactory (Los Angeles),NewBoat,2,0.0,0.0,0.0 -BoatFactory (Los Angeles),NewBoat,3,0.0,0.0,0.0 -BoatFactory (Los Angeles),NewBoat,4,0.0,0.0,0.0 -BoatFactory (Los Angeles),NewBoat,5,0.0,0.0,0.0 -BoatFactory (Houston),NewBoat,1,0.0,0.0,0.0 -BoatFactory (Houston),NewBoat,2,0.0,0.0,0.0 -BoatFactory (Houston),NewBoat,3,0.0,0.0,0.0 -BoatFactory (Houston),NewBoat,4,0.0,0.0,0.0 -BoatFactory (Houston),NewBoat,5,0.0,0.0,0.0 -BoatFactory (Phoenix),NewBoat,1,0.0,0.0,0.0 -BoatFactory (Phoenix),NewBoat,2,0.0,0.0,0.0 -BoatFactory (Phoenix),NewBoat,3,0.0,0.0,0.0 -BoatFactory (Phoenix),NewBoat,4,0.0,0.0,0.0 -BoatFactory (Phoenix),NewBoat,5,0.0,0.0,0.0 -BoatFactory (Philadelphia),NewBoat,1,0.0,0.0,0.0 -BoatFactory (Philadelphia),NewBoat,2,0.0,0.0,0.0 -BoatFactory (Philadelphia),NewBoat,3,0.0,0.0,0.0 -BoatFactory (Philadelphia),NewBoat,4,0.0,0.0,0.0 -BoatFactory (Philadelphia),NewBoat,5,0.0,0.0,0.0 -BoatFactory (San Antonio),NewBoat,1,0.0,0.0,0.0 -BoatFactory (San Antonio),NewBoat,2,0.0,0.0,0.0 -BoatFactory (San Antonio),NewBoat,3,0.0,0.0,0.0 -BoatFactory (San Antonio),NewBoat,4,0.0,0.0,0.0 -BoatFactory (San Antonio),NewBoat,5,0.0,0.0,0.0 -BoatFactory (San Diego),NewBoat,1,0.0,0.0,0.0 -BoatFactory (San Diego),NewBoat,2,0.0,0.0,0.0 -BoatFactory (San Diego),NewBoat,3,0.0,0.0,0.0 -BoatFactory (San Diego),NewBoat,4,0.0,0.0,0.0 -BoatFactory (San Diego),NewBoat,5,0.0,0.0,0.0 -BoatFactory (Dallas),NewBoat,1,63.15789,0.0,0.0 -BoatFactory (Dallas),NewBoat,2,71.46814,0.0,0.0 -BoatFactory (Dallas),NewBoat,3,75.8857,0.0,0.0 -BoatFactory (Dallas),NewBoat,4,76.90434,0.0,0.0 -BoatFactory (Dallas),NewBoat,5,77.27087,0.0,0.0 -BoatFactory (San Jose),NewBoat,1,0.0,0.0,0.0 -BoatFactory (San Jose),NewBoat,2,0.0,0.0,0.0 -BoatFactory (San Jose),NewBoat,3,0.0,0.0,0.0 -BoatFactory (San Jose),NewBoat,4,0.0,0.0,0.0 -BoatFactory (San Jose),NewBoat,5,0.0,0.0,0.0 -RecyclingPlant (Chicago),Nail,1,0.0,0.0,0.0 -RecyclingPlant (Chicago),Nail,2,-0.0,0.0,0.0 -RecyclingPlant (Chicago),Nail,3,0.0,0.0,0.0 -RecyclingPlant (Chicago),Nail,4,0.0,0.0,0.0 -RecyclingPlant (Chicago),Nail,5,0.0,0.0,0.0 -RecyclingPlant (Chicago),Wood,1,0.0,0.0,0.0 -RecyclingPlant (Chicago),Wood,2,-0.0,0.0,0.0 -RecyclingPlant (Chicago),Wood,3,0.0,0.0,0.0 -RecyclingPlant (Chicago),Wood,4,0.0,0.0,0.0 -RecyclingPlant (Chicago),Wood,5,0.0,0.0,0.0 -RecyclingPlant (New York City),Nail,1,0.0,0.0,0.0 -RecyclingPlant (New York City),Nail,2,0.0,0.0,0.0 -RecyclingPlant (New York City),Nail,3,0.0,0.0,0.0 -RecyclingPlant (New York City),Nail,4,0.0,0.0,0.0 -RecyclingPlant (New York City),Nail,5,0.0,0.0,0.0 -RecyclingPlant (New York City),Wood,1,0.0,0.0,0.0 -RecyclingPlant (New York City),Wood,2,0.0,0.0,0.0 -RecyclingPlant (New York City),Wood,3,0.0,0.0,0.0 -RecyclingPlant (New York City),Wood,4,0.0,0.0,0.0 -RecyclingPlant (New York City),Wood,5,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),Nail,1,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),Nail,2,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),Nail,3,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),Nail,4,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),Nail,5,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),Wood,1,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),Wood,2,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),Wood,3,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),Wood,4,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),Wood,5,0.0,0.0,0.0 -RecyclingPlant (Houston),Nail,1,0.0,0.0,0.0 -RecyclingPlant (Houston),Nail,2,0.0,0.0,0.0 -RecyclingPlant (Houston),Nail,3,0.0,0.0,0.0 -RecyclingPlant (Houston),Nail,4,0.0,0.0,0.0 -RecyclingPlant (Houston),Nail,5,0.0,0.0,0.0 -RecyclingPlant (Houston),Wood,1,0.0,0.0,0.0 -RecyclingPlant (Houston),Wood,2,0.0,0.0,0.0 -RecyclingPlant (Houston),Wood,3,0.0,0.0,0.0 -RecyclingPlant (Houston),Wood,4,0.0,0.0,0.0 -RecyclingPlant (Houston),Wood,5,0.0,0.0,0.0 -RecyclingPlant (Phoenix),Nail,1,0.0,0.0,0.0 -RecyclingPlant (Phoenix),Nail,2,0.0,0.0,0.0 -RecyclingPlant (Phoenix),Nail,3,0.0,0.0,0.0 -RecyclingPlant (Phoenix),Nail,4,0.0,0.0,0.0 -RecyclingPlant (Phoenix),Nail,5,0.0,0.0,0.0 -RecyclingPlant (Phoenix),Wood,1,0.0,0.0,0.0 -RecyclingPlant (Phoenix),Wood,2,0.0,0.0,0.0 -RecyclingPlant (Phoenix),Wood,3,0.0,0.0,0.0 -RecyclingPlant (Phoenix),Wood,4,0.0,0.0,0.0 -RecyclingPlant (Phoenix),Wood,5,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),Nail,1,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),Nail,2,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),Nail,3,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),Nail,4,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),Nail,5,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),Wood,1,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),Wood,2,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),Wood,3,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),Wood,4,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),Wood,5,0.0,0.0,0.0 -RecyclingPlant (San Antonio),Nail,1,0.0,0.0,0.0 -RecyclingPlant (San Antonio),Nail,2,0.0,0.0,0.0 -RecyclingPlant (San Antonio),Nail,3,0.0,0.0,0.0 -RecyclingPlant (San Antonio),Nail,4,0.0,0.0,0.0 -RecyclingPlant (San Antonio),Nail,5,0.0,0.0,0.0 -RecyclingPlant (San Antonio),Wood,1,0.0,0.0,0.0 -RecyclingPlant (San Antonio),Wood,2,0.0,0.0,0.0 -RecyclingPlant (San Antonio),Wood,3,0.0,0.0,0.0 -RecyclingPlant (San Antonio),Wood,4,0.0,0.0,0.0 -RecyclingPlant (San Antonio),Wood,5,0.0,0.0,0.0 -RecyclingPlant (San Diego),Nail,1,0.0,0.0,0.0 -RecyclingPlant (San Diego),Nail,2,0.0,0.0,0.0 -RecyclingPlant (San Diego),Nail,3,0.0,0.0,0.0 -RecyclingPlant (San Diego),Nail,4,0.0,0.0,0.0 -RecyclingPlant (San Diego),Nail,5,0.0,0.0,0.0 -RecyclingPlant (San Diego),Wood,1,0.0,0.0,0.0 -RecyclingPlant (San Diego),Wood,2,0.0,0.0,0.0 -RecyclingPlant (San Diego),Wood,3,0.0,0.0,0.0 -RecyclingPlant (San Diego),Wood,4,0.0,0.0,0.0 -RecyclingPlant (San Diego),Wood,5,0.0,0.0,0.0 -RecyclingPlant (Dallas),Nail,1,0.15789,0.0,0.0 -RecyclingPlant (Dallas),Nail,2,0.57341,0.0,0.0 -RecyclingPlant (Dallas),Nail,3,0.79428,0.0,0.0 -RecyclingPlant (Dallas),Nail,4,0.84522,0.0,0.0 -RecyclingPlant (Dallas),Nail,5,0.86354,0.0,0.0 -RecyclingPlant (Dallas),Wood,1,3.0,0.0,0.0 -RecyclingPlant (Dallas),Wood,2,10.89474,0.0,0.0 -RecyclingPlant (Dallas),Wood,3,15.09141,0.0,0.0 -RecyclingPlant (Dallas),Wood,4,16.05912,0.0,0.0 -RecyclingPlant (Dallas),Wood,5,16.40733,0.0,0.0 -RecyclingPlant (San Jose),Nail,1,0.0,0.0,0.0 -RecyclingPlant (San Jose),Nail,2,0.0,0.0,0.0 -RecyclingPlant (San Jose),Nail,3,0.0,0.0,0.0 -RecyclingPlant (San Jose),Nail,4,0.0,0.0,0.0 -RecyclingPlant (San Jose),Nail,5,0.0,0.0,0.0 -RecyclingPlant (San Jose),Wood,1,0.0,0.0,0.0 -RecyclingPlant (San Jose),Wood,2,0.0,0.0,0.0 -RecyclingPlant (San Jose),Wood,3,0.0,0.0,0.0 -RecyclingPlant (San Jose),Wood,4,0.0,0.0,0.0 -RecyclingPlant (San Jose),Wood,5,0.0,0.0,0.0 +plant,latitude,longitude,output product,year,amount produced (tonne),amount disposed (tonne),disposal limit (tonne),disposal cost ($) +BoatFactory (Chicago),41.881832,-87.623177,NewBoat,1,0.0,0.0,0.0,0.0 +BoatFactory (Chicago),41.881832,-87.623177,NewBoat,2,0.0,0.0,0.0,0.0 +BoatFactory (Chicago),41.881832,-87.623177,NewBoat,3,0.0,0.0,0.0,0.0 +BoatFactory (Chicago),41.881832,-87.623177,NewBoat,4,0.0,0.0,0.0,0.0 +BoatFactory (Chicago),41.881832,-87.623177,NewBoat,5,0.0,0.0,0.0,0.0 +BoatFactory (New York City),40.712776,-74.005974,NewBoat,1,0.0,0.0,0.0,0.0 +BoatFactory (New York City),40.712776,-74.005974,NewBoat,2,0.0,0.0,0.0,0.0 +BoatFactory (New York City),40.712776,-74.005974,NewBoat,3,0.0,0.0,0.0,0.0 +BoatFactory (New York City),40.712776,-74.005974,NewBoat,4,0.0,0.0,0.0,0.0 +BoatFactory (New York City),40.712776,-74.005974,NewBoat,5,0.0,0.0,0.0,0.0 +BoatFactory (Los Angeles),34.052235,-118.243683,NewBoat,1,0.0,0.0,0.0,0.0 +BoatFactory (Los Angeles),34.052235,-118.243683,NewBoat,2,0.0,0.0,0.0,0.0 +BoatFactory (Los Angeles),34.052235,-118.243683,NewBoat,3,0.0,0.0,0.0,0.0 +BoatFactory (Los Angeles),34.052235,-118.243683,NewBoat,4,0.0,0.0,0.0,0.0 +BoatFactory (Los Angeles),34.052235,-118.243683,NewBoat,5,0.0,0.0,0.0,0.0 +BoatFactory (Houston),29.760427,-95.369804,NewBoat,1,0.0,0.0,0.0,0.0 +BoatFactory (Houston),29.760427,-95.369804,NewBoat,2,0.0,0.0,0.0,0.0 +BoatFactory (Houston),29.760427,-95.369804,NewBoat,3,0.0,0.0,0.0,0.0 +BoatFactory (Houston),29.760427,-95.369804,NewBoat,4,0.0,0.0,0.0,0.0 +BoatFactory (Houston),29.760427,-95.369804,NewBoat,5,0.0,0.0,0.0,0.0 +BoatFactory (Phoenix),33.448376,-112.074036,NewBoat,1,0.0,0.0,0.0,0.0 +BoatFactory (Phoenix),33.448376,-112.074036,NewBoat,2,0.0,0.0,0.0,0.0 +BoatFactory (Phoenix),33.448376,-112.074036,NewBoat,3,0.0,0.0,0.0,0.0 +BoatFactory (Phoenix),33.448376,-112.074036,NewBoat,4,0.0,0.0,0.0,0.0 +BoatFactory (Phoenix),33.448376,-112.074036,NewBoat,5,0.0,0.0,0.0,0.0 +BoatFactory (Philadelphia),39.952583,-75.165222,NewBoat,1,0.0,0.0,0.0,0.0 +BoatFactory (Philadelphia),39.952583,-75.165222,NewBoat,2,0.0,0.0,0.0,0.0 +BoatFactory (Philadelphia),39.952583,-75.165222,NewBoat,3,0.0,0.0,0.0,0.0 +BoatFactory (Philadelphia),39.952583,-75.165222,NewBoat,4,0.0,0.0,0.0,0.0 +BoatFactory (Philadelphia),39.952583,-75.165222,NewBoat,5,0.0,0.0,0.0,0.0 +BoatFactory (San Antonio),29.424122,-98.493629,NewBoat,1,0.0,0.0,0.0,0.0 +BoatFactory (San Antonio),29.424122,-98.493629,NewBoat,2,0.0,0.0,0.0,0.0 +BoatFactory (San Antonio),29.424122,-98.493629,NewBoat,3,0.0,0.0,0.0,0.0 +BoatFactory (San Antonio),29.424122,-98.493629,NewBoat,4,0.0,0.0,0.0,0.0 +BoatFactory (San Antonio),29.424122,-98.493629,NewBoat,5,0.0,0.0,0.0,0.0 +BoatFactory (San Diego),32.715736,-117.161087,NewBoat,1,0.0,0.0,0.0,0.0 +BoatFactory (San Diego),32.715736,-117.161087,NewBoat,2,0.0,0.0,0.0,0.0 +BoatFactory (San Diego),32.715736,-117.161087,NewBoat,3,0.0,0.0,0.0,0.0 +BoatFactory (San Diego),32.715736,-117.161087,NewBoat,4,0.0,0.0,0.0,0.0 +BoatFactory (San Diego),32.715736,-117.161087,NewBoat,5,0.0,0.0,0.0,0.0 +BoatFactory (Dallas),32.776664,-96.796988,NewBoat,1,63.15789,0.0,0.0,0.0 +BoatFactory (Dallas),32.776664,-96.796988,NewBoat,2,71.46814,0.0,0.0,0.0 +BoatFactory (Dallas),32.776664,-96.796988,NewBoat,3,75.8857,0.0,0.0,0.0 +BoatFactory (Dallas),32.776664,-96.796988,NewBoat,4,76.90434,0.0,0.0,0.0 +BoatFactory (Dallas),32.776664,-96.796988,NewBoat,5,77.27087,0.0,0.0,0.0 +BoatFactory (San Jose),37.338208,-121.886329,NewBoat,1,0.0,0.0,0.0,0.0 +BoatFactory (San Jose),37.338208,-121.886329,NewBoat,2,0.0,0.0,0.0,0.0 +BoatFactory (San Jose),37.338208,-121.886329,NewBoat,3,0.0,0.0,0.0,0.0 +BoatFactory (San Jose),37.338208,-121.886329,NewBoat,4,0.0,0.0,0.0,0.0 +BoatFactory (San Jose),37.338208,-121.886329,NewBoat,5,0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,Nail,1,0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,Nail,2,-0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,Nail,3,0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,Nail,4,0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,Nail,5,0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,Wood,1,0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,Wood,2,-0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,Wood,3,0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,Wood,4,0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,Wood,5,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,Nail,1,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,Nail,2,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,Nail,3,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,Nail,4,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,Nail,5,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,Wood,1,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,Wood,2,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,Wood,3,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,Wood,4,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,Wood,5,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,Nail,1,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,Nail,2,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,Nail,3,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,Nail,4,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,Nail,5,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,Wood,1,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,Wood,2,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,Wood,3,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,Wood,4,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,Wood,5,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,Nail,1,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,Nail,2,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,Nail,3,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,Nail,4,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,Nail,5,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,Wood,1,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,Wood,2,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,Wood,3,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,Wood,4,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,Wood,5,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,Nail,1,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,Nail,2,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,Nail,3,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,Nail,4,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,Nail,5,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,Wood,1,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,Wood,2,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,Wood,3,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,Wood,4,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,Wood,5,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,Nail,1,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,Nail,2,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,Nail,3,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,Nail,4,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,Nail,5,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,Wood,1,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,Wood,2,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,Wood,3,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,Wood,4,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,Wood,5,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,Nail,1,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,Nail,2,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,Nail,3,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,Nail,4,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,Nail,5,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,Wood,1,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,Wood,2,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,Wood,3,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,Wood,4,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,Wood,5,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,Nail,1,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,Nail,2,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,Nail,3,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,Nail,4,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,Nail,5,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,Wood,1,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,Wood,2,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,Wood,3,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,Wood,4,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,Wood,5,0.0,0.0,0.0,0.0 +RecyclingPlant (Dallas),32.776664,-96.796988,Nail,1,0.15789,0.0,0.0,0.0 +RecyclingPlant (Dallas),32.776664,-96.796988,Nail,2,0.57341,0.0,0.0,0.0 +RecyclingPlant (Dallas),32.776664,-96.796988,Nail,3,0.79428,0.0,0.0,0.0 +RecyclingPlant (Dallas),32.776664,-96.796988,Nail,4,0.84522,0.0,0.0,0.0 +RecyclingPlant (Dallas),32.776664,-96.796988,Nail,5,0.86354,0.0,0.0,0.0 +RecyclingPlant (Dallas),32.776664,-96.796988,Wood,1,3.0,0.0,0.0,0.0 +RecyclingPlant (Dallas),32.776664,-96.796988,Wood,2,10.89474,0.0,0.0,0.0 +RecyclingPlant (Dallas),32.776664,-96.796988,Wood,3,15.09141,0.0,0.0,0.0 +RecyclingPlant (Dallas),32.776664,-96.796988,Wood,4,16.05912,0.0,0.0,0.0 +RecyclingPlant (Dallas),32.776664,-96.796988,Wood,5,16.40733,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,Nail,1,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,Nail,2,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,Nail,3,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,Nail,4,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,Nail,5,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,Wood,1,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,Wood,2,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,Wood,3,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,Wood,4,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,Wood,5,0.0,0.0,0.0,0.0 diff --git a/test/fixtures/boat_example/plants.csv b/test/fixtures/boat_example/plants.csv index 6511ad9..eeddb4a 100644 --- a/test/fixtures/boat_example/plants.csv +++ b/test/fixtures/boat_example/plants.csv @@ -1,101 +1,101 @@ -plant,year,operational?,input amount (tonne),opening cost ($),fixed operating cost ($),variable operating cost ($) -BoatFactory (Chicago),1,false,0.0,0.0,0.0,0.0 -BoatFactory (Chicago),2,false,0.0,0.0,0.0,0.0 -BoatFactory (Chicago),3,false,0.0,0.0,0.0,0.0 -BoatFactory (Chicago),4,false,0.0,0.0,0.0,0.0 -BoatFactory (Chicago),5,false,0.0,0.0,0.0,0.0 -BoatFactory (New York City),1,false,0.0,0.0,0.0,0.0 -BoatFactory (New York City),2,false,0.0,0.0,0.0,0.0 -BoatFactory (New York City),3,false,0.0,0.0,0.0,0.0 -BoatFactory (New York City),4,false,0.0,0.0,0.0,0.0 -BoatFactory (New York City),5,false,0.0,0.0,0.0,0.0 -BoatFactory (Los Angeles),1,false,0.0,0.0,0.0,0.0 -BoatFactory (Los Angeles),2,false,0.0,0.0,0.0,0.0 -BoatFactory (Los Angeles),3,false,0.0,0.0,0.0,0.0 -BoatFactory (Los Angeles),4,false,0.0,0.0,0.0,0.0 -BoatFactory (Los Angeles),5,false,0.0,0.0,0.0,0.0 -BoatFactory (Houston),1,false,0.0,0.0,0.0,0.0 -BoatFactory (Houston),2,false,0.0,0.0,0.0,0.0 -BoatFactory (Houston),3,false,0.0,0.0,0.0,0.0 -BoatFactory (Houston),4,false,0.0,0.0,0.0,0.0 -BoatFactory (Houston),5,false,0.0,0.0,0.0,0.0 -BoatFactory (Phoenix),1,false,0.0,0.0,0.0,0.0 -BoatFactory (Phoenix),2,false,0.0,0.0,0.0,0.0 -BoatFactory (Phoenix),3,false,0.0,0.0,0.0,0.0 -BoatFactory (Phoenix),4,false,0.0,0.0,0.0,0.0 -BoatFactory (Phoenix),5,false,0.0,0.0,0.0,0.0 -BoatFactory (Philadelphia),1,false,0.0,0.0,0.0,0.0 -BoatFactory (Philadelphia),2,false,0.0,0.0,0.0,0.0 -BoatFactory (Philadelphia),3,false,0.0,0.0,0.0,0.0 -BoatFactory (Philadelphia),4,false,0.0,0.0,0.0,0.0 -BoatFactory (Philadelphia),5,false,0.0,0.0,0.0,0.0 -BoatFactory (San Antonio),1,false,0.0,0.0,0.0,0.0 -BoatFactory (San Antonio),2,false,0.0,0.0,0.0,0.0 -BoatFactory (San Antonio),3,false,0.0,0.0,0.0,0.0 -BoatFactory (San Antonio),4,false,0.0,0.0,0.0,0.0 -BoatFactory (San Antonio),5,false,0.0,0.0,0.0,0.0 -BoatFactory (San Diego),1,false,0.0,0.0,0.0,0.0 -BoatFactory (San Diego),2,false,0.0,0.0,0.0,0.0 -BoatFactory (San Diego),3,false,0.0,0.0,0.0,0.0 -BoatFactory (San Diego),4,false,0.0,0.0,0.0,0.0 -BoatFactory (San Diego),5,false,0.0,0.0,0.0,0.0 -BoatFactory (Dallas),1,true,63.15789,100000.0,250000.0,315.78947 -BoatFactory (Dallas),2,true,71.46814,0.0,250000.0,357.34072 -BoatFactory (Dallas),3,true,75.8857,0.0,250000.0,379.42849 -BoatFactory (Dallas),4,true,76.90434,0.0,250000.0,384.52168 -BoatFactory (Dallas),5,true,77.27087,0.0,250000.0,386.35435 -BoatFactory (San Jose),1,false,0.0,0.0,0.0,0.0 -BoatFactory (San Jose),2,false,0.0,0.0,0.0,0.0 -BoatFactory (San Jose),3,false,0.0,0.0,0.0,0.0 -BoatFactory (San Jose),4,false,0.0,0.0,0.0,0.0 -BoatFactory (San Jose),5,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Chicago),1,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Chicago),2,false,-0.0,0.0,0.0,-0.0 -RecyclingPlant (Chicago),3,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Chicago),4,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Chicago),5,false,0.0,0.0,0.0,0.0 -RecyclingPlant (New York City),1,false,0.0,0.0,0.0,0.0 -RecyclingPlant (New York City),2,false,0.0,0.0,0.0,0.0 -RecyclingPlant (New York City),3,false,0.0,0.0,0.0,0.0 -RecyclingPlant (New York City),4,false,0.0,0.0,0.0,0.0 -RecyclingPlant (New York City),5,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),1,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),2,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),3,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),4,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Los Angeles),5,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Houston),1,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Houston),2,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Houston),3,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Houston),4,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Houston),5,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Phoenix),1,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Phoenix),2,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Phoenix),3,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Phoenix),4,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Phoenix),5,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),1,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),2,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),3,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),4,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Philadelphia),5,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Antonio),1,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Antonio),2,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Antonio),3,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Antonio),4,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Antonio),5,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Diego),1,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Diego),2,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Diego),3,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Diego),4,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Diego),5,false,0.0,0.0,0.0,0.0 -RecyclingPlant (Dallas),1,true,6.31579,500000.0,125000.0,15.78947 -RecyclingPlant (Dallas),2,true,22.93629,0.0,125000.0,57.34072 -RecyclingPlant (Dallas),3,true,31.7714,0.0,125000.0,79.42849 -RecyclingPlant (Dallas),4,true,33.80867,0.0,125000.0,84.52168 -RecyclingPlant (Dallas),5,true,34.54174,0.0,125000.0,86.35435 -RecyclingPlant (San Jose),1,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Jose),2,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Jose),3,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Jose),4,false,0.0,0.0,0.0,0.0 -RecyclingPlant (San Jose),5,false,0.0,0.0,0.0,0.0 +plant,latitude,longitude,initial capacity,current capacity,year,operational?,input amount (tonne),opening cost ($),fixed operating cost ($),variable operating cost ($) +BoatFactory (Chicago),41.881832,-87.623177,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +BoatFactory (Chicago),41.881832,-87.623177,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +BoatFactory (Chicago),41.881832,-87.623177,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +BoatFactory (Chicago),41.881832,-87.623177,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +BoatFactory (Chicago),41.881832,-87.623177,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +BoatFactory (New York City),40.712776,-74.005974,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +BoatFactory (New York City),40.712776,-74.005974,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +BoatFactory (New York City),40.712776,-74.005974,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +BoatFactory (New York City),40.712776,-74.005974,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +BoatFactory (New York City),40.712776,-74.005974,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +BoatFactory (Los Angeles),34.052235,-118.243683,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +BoatFactory (Los Angeles),34.052235,-118.243683,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +BoatFactory (Los Angeles),34.052235,-118.243683,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +BoatFactory (Los Angeles),34.052235,-118.243683,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +BoatFactory (Los Angeles),34.052235,-118.243683,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +BoatFactory (Houston),29.760427,-95.369804,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +BoatFactory (Houston),29.760427,-95.369804,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +BoatFactory (Houston),29.760427,-95.369804,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +BoatFactory (Houston),29.760427,-95.369804,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +BoatFactory (Houston),29.760427,-95.369804,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +BoatFactory (Phoenix),33.448376,-112.074036,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +BoatFactory (Phoenix),33.448376,-112.074036,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +BoatFactory (Phoenix),33.448376,-112.074036,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +BoatFactory (Phoenix),33.448376,-112.074036,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +BoatFactory (Phoenix),33.448376,-112.074036,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +BoatFactory (Philadelphia),39.952583,-75.165222,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +BoatFactory (Philadelphia),39.952583,-75.165222,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +BoatFactory (Philadelphia),39.952583,-75.165222,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +BoatFactory (Philadelphia),39.952583,-75.165222,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +BoatFactory (Philadelphia),39.952583,-75.165222,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +BoatFactory (San Antonio),29.424122,-98.493629,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +BoatFactory (San Antonio),29.424122,-98.493629,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +BoatFactory (San Antonio),29.424122,-98.493629,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +BoatFactory (San Antonio),29.424122,-98.493629,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +BoatFactory (San Antonio),29.424122,-98.493629,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +BoatFactory (San Diego),32.715736,-117.161087,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +BoatFactory (San Diego),32.715736,-117.161087,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +BoatFactory (San Diego),32.715736,-117.161087,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +BoatFactory (San Diego),32.715736,-117.161087,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +BoatFactory (San Diego),32.715736,-117.161087,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +BoatFactory (Dallas),32.776664,-96.796988,0.0,500.0,1,true,63.15789,100000.0,250000.0,315.78947 +BoatFactory (Dallas),32.776664,-96.796988,0.0,500.0,2,true,71.46814,0.0,250000.0,357.34072 +BoatFactory (Dallas),32.776664,-96.796988,0.0,500.0,3,true,75.8857,0.0,250000.0,379.42849 +BoatFactory (Dallas),32.776664,-96.796988,0.0,500.0,4,true,76.90434,0.0,250000.0,384.52168 +BoatFactory (Dallas),32.776664,-96.796988,0.0,500.0,5,true,77.27087,0.0,250000.0,386.35435 +BoatFactory (San Jose),37.338208,-121.886329,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +BoatFactory (San Jose),37.338208,-121.886329,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +BoatFactory (San Jose),37.338208,-121.886329,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +BoatFactory (San Jose),37.338208,-121.886329,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +BoatFactory (San Jose),37.338208,-121.886329,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,0.0,0.0,2,false,-0.0,0.0,0.0,-0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Chicago),41.881832,-87.623177,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +RecyclingPlant (New York City),40.712776,-74.005974,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Los Angeles),34.052235,-118.243683,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Houston),29.760427,-95.369804,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Phoenix),33.448376,-112.074036,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Philadelphia),39.952583,-75.165222,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Antonio),29.424122,-98.493629,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Diego),32.715736,-117.161087,0.0,0.0,5,false,0.0,0.0,0.0,0.0 +RecyclingPlant (Dallas),32.776664,-96.796988,0.0,500.0,1,true,6.31579,500000.0,125000.0,15.78947 +RecyclingPlant (Dallas),32.776664,-96.796988,0.0,500.0,2,true,22.93629,0.0,125000.0,57.34072 +RecyclingPlant (Dallas),32.776664,-96.796988,0.0,500.0,3,true,31.7714,0.0,125000.0,79.42849 +RecyclingPlant (Dallas),32.776664,-96.796988,0.0,500.0,4,true,33.80867,0.0,125000.0,84.52168 +RecyclingPlant (Dallas),32.776664,-96.796988,0.0,500.0,5,true,34.54174,0.0,125000.0,86.35435 +RecyclingPlant (San Jose),37.338208,-121.886329,0.0,0.0,1,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,0.0,0.0,2,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,0.0,0.0,3,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,0.0,0.0,4,false,0.0,0.0,0.0,0.0 +RecyclingPlant (San Jose),37.338208,-121.886329,0.0,0.0,5,false,0.0,0.0,0.0,0.0