heat_exchanger.py -> Fix example to use radius instead of apothem

This commit is contained in:
jdegenstein 2024-06-19 20:32:11 -05:00 committed by GitHub
parent 43a1d93115
commit 42c91cc975
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,7 @@ with BuildPart() as heat_exchanger:
tube_locations = [ tube_locations = [
l l
for l in HexLocations( for l in HexLocations(
apothem=(tube_diameter + tube_spacing) / 2, radius=(tube_diameter + tube_spacing) / 2,
x_count=exchanger_diameter // tube_diameter, x_count=exchanger_diameter // tube_diameter,
y_count=exchanger_diameter // tube_diameter, y_count=exchanger_diameter // tube_diameter,
) )