1
0
Fork 0

auts: commit work

This commit is contained in:
coaljoe 2020-04-30 18:36:52 +03:00
parent a5769cc640
commit 18a0c79d5f
2 changed files with 149 additions and 0 deletions

23
calc_mats.py Executable file
View File

@ -0,0 +1,23 @@
#!/bin/env python
import sys
if len(sys.argv) < 3:
print("usage: %s mat_density model_mass" % sys.argv[0])
exit()
mat_density = int(sys.argv[1])
model_mass = int(sys.argv[2])
mat_volume = model_mass / mat_density
result_bits = mat_volume / (1.0/100)
print("mat_density:", mat_density)
print("model_mass:", model_mass)
print("")
print("result:")
print("mat_volume:", mat_volume)
print("result_bits:", result_bits)
print("")
print("done")

126
todo.txt
View File

@ -7,3 +7,129 @@
- use it in case of decomposition or effects
- add containers
? - do we need actual bits for models or just BitInfo?
(summary of bits used for construction/deconstruction/recycling)
which can be calculated by for example volume and element/material,
or even weight/density [automatic] formula
example formula for concrete pipe calculation:
element dentisy (d) = 2400 kg/m3
pipe diameter = 1200 mm
pipe mass per meter = 1600 kg
pipe length = 3 m
total pipe mass (mass) = 1600 * 3 = 4800 kg
amount material = 4800 (mass) / 2400 (d) = 2.0 m3
amount material bits = 2.0 / (1.0/100.0) (10cm x 10cm x 10cm) = 200 bits
result: 200 bits of concrete (1bit = 10cm x 10cm x 10cm (10cm3))
- XXX try to calculate more complex things like truck materials/bits
truck elements:
- 4 wheels
- materials (tires):
rubber
- materials (hubs (minor?)):
steel
- cab
- materials:
glass (windows)
electric (wires, lights, etc)
plastic (panels, (minor?))
- steel frame
- materials:
steel
- hull
- materials:
steel
- engine/transmission block
- materials:
steel
- wheel axles and suspension
- materials:
steel
test truck model:
Tatra 148
weight: ~10,000 kg
num tires: 10 (3 axel)
tires: 20"
engine weight: 845 kg
elements:
tires:
1 tire weight = 20 kg
total tire weight = 20 * 10 = 200 kg
material density (rubber) = 1000 kg/m3
total volume = 0.2 m3
total bits = 20 bits
weight left = 10000 - 200 = 9800
engine block:
weight engine = 845 kg
weight transmission = 300 kg (guess)
total weight = ~1200 kg
material density (steel) = 8000 kg/m3
total volume = 0.15 m3
total bits = 15 bits
weight left = 9800 - 1200 = 8600
the rest:
approx. all steel
total weight = 8600 kg
material density (steel) = 8000 kg/m3
total volume = 1.075 m3
total bits = 107.5 bits
result:
rubber bits: 20
steel bits: 122.5
XXX questions:
- what kind of production processing needed for material processing?
- need to use special techniques to process steel/rubber?
- what kind of production line/chain can be used?
- what kind of special non-listed elements/materials is used in truck?
for example: car battery/lead?
- can it use products from other factories?
like windows or car battery or metalworking/metal parts or car parts?
- what kind of processing equipment is needed?
where the equipment can be located?
XXX elements that can be ignored (material-wise(?)):
- small elements (usually <1 bit in total)
- non-essential elements
- paints
- fastening (?)
- wires (?)
- misc items that can be grouped (and produced in bulk) (?)
--
truck production requerements/details:
elements:
steering wheel (steering column):
processing/technique:
lathes operations (metalworking):
time 10 minutes (guess)
tires:
?