From df78beaea3a663bd561b52a94b84939ff0777178 Mon Sep 17 00:00:00 2001 From: Liam Swayne Date: Sun, 26 Nov 2023 18:11:54 -0500 Subject: [PATCH] update slash pine acre cost --- linear_program.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linear_program.py b/linear_program.py index f451364..7669c1c 100644 --- a/linear_program.py +++ b/linear_program.py @@ -51,7 +51,7 @@ def calculate(floors=1, xLength=1, yLength=1): # aluminum and steel column figures from https://www.wesa.fm/development-transportation/2017-08-31/aluminum-production-leaves-a-big-carbon-footprint-so-alcoa-is-adapting-with-sustainable-products#:~:text=For%20each%20ton%20of%20steel%20produced%2C%202%20tons%20of%20carbon%20is%20emitted.%20And%20for%20each%20ton%20of%20aluminum%2C%20the%20worldwide%20average%20is%2011.7%20tons%20of%20carbon%20emitted # each aluminum column is 30 pounds, equivalent to 0.0136078, and 0.0136078*11.7 = 0.15921126 # each steel column is 35 pounds, equivalent to 0.0158757, and 0.0158757*2 = 0.0317514 - constraints.append(cp.sum(steelColumns)*0.0317514 + cp.sum(aluminumColumns)*0.15921126 - slashPineAcres*166.05 <= 0) + constraints.append(cp.sum(steelColumns)*0.0317514 + cp.sum(aluminumColumns)*0.15921126 - slashPineAcres*1000 <= 0) # columns supporting each floor # aluminum column support figure from https://www.homedepot.com/p/Afco-8-x-7-5-8-Endura-Aluminum-Column-Round-Shaft-Load-Bearing-21-000-lbs-Non-Tapered-Fluted-Gloss-White-EA0808ANFSATUTU/301315907#:~:text=bearing%20limit%20(lb.)-,21000,-Material