Skip to content

Commit

Permalink
update slash pine acre cost
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamSwayne committed Nov 26, 2023
1 parent ed420ef commit df78bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linear_program.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df78bea

Please sign in to comment.