Difference between revisions of "M. Reyhan Fachriansyah Hermawan"

From ccitonlinewiki
Jump to: navigation, search
(Geometrical Constraint by a Fixed Thickness)
(End Cap Compensation)
Line 129: Line 129:
  
 
== End Cap Compensation ==
 
== End Cap Compensation ==
 +
 +
The bulges or convex shapes often observed on each end of gas tanks serve multiple purposes related to safety and structural integrity. Here are the main reasons why gas tanks have bulges on each end:
 +
 +
1. Reinforcement: The bulges on the ends of gas tanks provide structural reinforcement. By adding curvature to the ends, the tank gains additional strength to withstand internal and external forces. This reinforcement helps improve the tank's ability to resist deformation, impacts, and other stresses, thereby enhancing its overall durability.
 +
2. Stress Distribution: The bulges aid in distributing stress more evenly across the tank. When pressure or other external forces act on the tank, the curved shape helps distribute the load, reducing localized stress concentrations. This design feature enhances the tank's resistance to deformation and potential failure under extreme conditions.
 +
3. Safety and Containment: In the event of an accident or impact, the bulges help protect the tank from damage. By extending outward, they act as a buffer, absorbing and dispersing forces before they reach the main body of the tank. This design helps prevent punctures or ruptures, reducing the risk of leaks and potential hazards associated with gas containment.
 +
 +
It's important to note that the specific design and shape of gas tanks can vary depending on factors such as the type of gas being stored, the intended application, and safety regulations. The bulges on the ends of gas tanks are one of the common design features employed to ensure safe and reliable storage of gases.
 +
 +
End cap compensation serves the objective of accurately determining the usable capacity of a cylindrical tank. The objective is to account for the volume occupied by the end caps in order to provide precise measurements or calculations for storing liquids or other substances. By considering the space taken up by the end caps, end cap compensation ensures that the reported capacity reflects the actual volume available for use. This information is important in various industries, such as engineering, manufacturing, and storage, where precise measurements are crucial for efficient operations and accurate planning.
  
 
  from scipy.integrate import quad
 
  from scipy.integrate import quad

Revision as of 09:05, 6 June 2023

Introduction

My conciousness is my top priority

2106657172fotofahri.png

Name: M. Reyhan Fachriansyah Hermawan

NPM: 2106657172

Major: Mechanical Engineering KKI

DoB: 19 April 2003

E-mail: reyhanfachriansyah@gmail.com


Hello All!

My name is Reyhan Fachriansyah, you can call me fahri. This is my page that contains the progress of my ongoing assigned project for Numerical Method course in my fourth semester. My future goal is to establish several high-tech manufacturing company revolving around robotics, sensors, and renewable energy. I hope by undertaking this course, i will bring my self closer to my goal by expanding my knowledge and conciousness

Class Abstract

23 May 2023

This day is the first day of our course, lectured by Pak Dr. Ahmad Indra Siswantara or commonly called as "pak Dai". In this day we were given knowledge about how conciousness highly important to our daily life espescially affecting Numerical Methodology. Pak Dai also lectured us about Cara Cerdas Ingat Tuhan.

30 May 2023

On today's session, Mr. Dai assigned us to discuss together about our main project of Numerical Method with our friend Patrick Samperuru as the discussion moderator as the head of class's replacement. Each of the attendants were given several chance of public-explanation in front of the class in order to complete our project, which entails designing a functional hydrogen tank that is optimized within the constraints of pressure constraints at 8 bar, 1 liter capacity, and a maximum budget of IDR 500,000, all participants are asked to contribute their thoughts in the form of opinions and personal viewpoints. There were two session on todays dicussion, which is material discussion and optimization discussion.


The discussion was then continued by one of our friend Patrick Samperuru in the first discussion for applicable materials, Patrick then listed a number of possible materials that can be used as the hydrogen tank based on the different hydrogen tank types such as type I, (all metal), type II, (metal with a carbon fiber wrap), type III, (composite with metal lining), and type IV, (composite with non-metal lining). But for this project, he reckon that the most probable type of hydrogen tank would be the type I or II since the production would be easier, and also theoritically be able to withold 8 bar of pressure, thus the end production price will be more affordable for our capped cost of IDR 500,000. In the next turn, Reyhan Fachri stated the details of several possible material that can be applied as hydrogen tank, this inlcudes AISI 316, AISI 304, AISI 316L, AISI 304L. Cu, or Al alloys are commonly used as the main material for hydrogen tanks since it is largely immune to hydrogen effects at ambient temperatures.


For the second session of the discussion which is optimization discussion several attendee points out the three key areas required for our optimization. The area consists of design variable, goal function, and constraint, all of which may vary for each member of the class. Reyhan Fachri began by describing his objective function, which is weight consideration. In sectors like aircraft, home appliences or the automobile, where weight is particularly important, hydrogen tanks are frequently employed. Therefore, while retaining structural integrity, the tank design should strive to reduce weight. Ikhsan Rahadian then points out the importance of structural integrity to bear internal pressure, external loads, and other environmental conditions, the tank has to be structurally sound. To assure the tank's stability and strength, structural study, including finite element analysis. After that, M. Annawfal Rizky mentioned that he wanted the limitation to be the compatibility with hydrogen gas: 'The tank material should be compatible with hydrogen gas to prevent any chemical reactions, embrittlement, or degradation that could affect the tank's performance or safety', he said.

Design and Optimization Project - Hydrogen Tank

Project Overview

This design and optimization project is assigned by our lecturer Pak Dr. Ahmad Indra Siswantara as an individual project/task as a learning method to use Numerical Method as a tool for real-life application problems. The project consist of designing a hydrogen tank with some constraints: consider being the gas pressurized at 8 bars, a required volume of 1 liter, and a maximum budget of 500,000 IDR to make one. Hydrogen gas has a high level of danger espescially when pressurized to a high pressure by reason of the likelihood of explosion. Thus, it is crucial for engineers to design and optimize a safe hydrogen tanks for several type of real life practices.

The example of the application of hydrogen tank used as fuel tank in a car

When building a hydrogen storage facility, the following factors should be taken into account:

  • Fatigue Resistance: Tanks must be built to sustain the necessary pressure, which is commonly expressed in bars or pounds per square inch (psi). The needed material strength, wall thickness, and structural design will be determined by the pressure rating.
  • Limitations on volume and shape: The tank's overall dimensions and shape will depend on the available space and required capacity. The tank should be made to fit the area allotted for it and to have the appropriate volume.
  • Material compatibility: It's important to use materials that are friendly to hydrogen since it might embrittle or have other negative effects on some materials. Carbon fiber composites, high-strength steel alloys, and several aluminum alloys are popular options.
  • Weight considerations: Applications where weight is important, such in the aerospace or automobile sectors that is frequently employ hydrogen tanks inside. Therefore, while retaining structural integrity, the tank design should be able to reduce it own weight.
  • Safety Features: Due to its great flammability, hydrogen demands extra safety measures. To avoid overpressurization, reduce hazards, and maintain safe operation, it is crucial to include the proper safety measures, such as pressure release devices, burst discs, and leak detection systems.
  • Operational Environtment: Which includes temperature changes, exposure to moisture or chemicals, and potential impacts or vibration. The tank should be constructed so that it can resist these circumstances without losing integrity.

Hydrogen Gas Study

The lightest gas in the universe, hydrogen is often found as the diatomic gas H2, and it is typically non-reactive. However, when it is gaseous, it easily burns. Despite having a moderate reactivity, hydrogen takes up a substantial amount of space when exposed to typical circumstances like atmospheric pressure. This volume has to be decreased in order to facilitate effective storage and transit. High-pressure storage as a gas, extremely low-temperature storage as a liquid, or solid-state storage utilizing hydrides are the most used techniques for improving hydrogen storage and transit efficiency (albeit the first two techniques are more popular). Pressurization up to 700 bars or more is required to provide the greatest hydrogen output in a specific container capacity, requiring significant energy and a durable container design. Because it is cryogenic, liquid hydrogen needs to be kept at very low temperatures in order to preserve its liquid condition and avoid considerable evaporation. The attention changes away from the hydrogen yield's efficiency in the current scenario, though, where a tiny storage volume and constrained pressure are involved, to the cost and efficiency of the container material. In Indonesia, the average interior temperature is around 30 degrees Celsius, and the hydrogen gas has a density of 0.627 kilograms per cubic meter at 8 bars of pressure. Consequently, the gas weights 0.627 grams, or less than 0.001 kg, per liter, or 0.001 cubic meters. This suggests that in order to store the gas under these circumstances, a container's material and design must be able to sustain an 8 bar wall pressure. In order to guarantee that the weight of the container as a whole is much more than the weight of the gas being held, the container's density should ideally be lower.

Material Choice

Because they can withstand the cryogenic temperatures (about -253 degrees Celsius), Type 614 austenitic stainless steels are frequently utilized for liquid hydrogen services. Austenitic stainless steels have strong ductility and energy absorption characteristics at such low temperatures, which is crucial for preserving safety. However, compared to other materials, austenitic stainless steel has a substantially lower hydrogen diffusion rate. Stainless steel outperforms other hydrogen pipeline materials in harsh situations due to its strong corrosion resistance.

Geometrical Constraint

import numpy as np
from scipy.optimize import minimize
def objective(x):
   R, V = x
   h = 4 * np.sqrt((np.pi * R**2 * 4 - V) / np.pi)
   r = h / 4
   thickness = R - r
   return thickness
def volume_constraint(x):
   R, V = x
   h = 4 * np.sqrt((np.pi * R**2 * 4 - V) / np.pi)
   r = h / 4
   return np.pi * h * (R**2 - r**2) - V
def pressure_constraint(x):
   R, V = x
   t = R - (R / 4)
   stress = 8 * R / (2 * t)
   allowable_stress = 75 * 1000  # ksi to psi
   return allowable_stress - stress
# Define the initial guess for R and V in mm
x0 = np.array([100, 125])  # initial guess for R and V
# Define the bounds for R and V in mm
bounds = [(0, None), (100, 150)]
# Define the constraints
constraints = [
   {'type': 'eq', 'fun': volume_constraint},
   {'type': 'ineq', 'fun': pressure_constraint}
]
# Perform the optimization
result = minimize(objective, x0, method='SLSQP', bounds=bounds, constraints=constraints)
# Extract the optimal values
R_opt, V_opt = result.x
h_opt = 4 * np.sqrt((np.pi * R_opt**2 * 4 - V_opt) / np.pi)
r_opt = h_opt / 4
thickness_opt = R_opt - r_opt
# Print the optimal results
print('Optimal Dimensions:')
print('Outer Radius (R):', R_opt, 'mm')
print('Inner Radius (r):', r_opt, 'mm')
print('Height (h):', h_opt, 'mm')
print('Thickness:', thickness_opt, 'mm')

The code's output is displayed on the bottom left, along with the recommended shape for a cylindrical tank with a 1 liter by using AISI 614 material is:

Optimal Dimensions:
Outer Radius (R): 3.837168217663359 mm
Inner Radius (r): 3.3390053601356486 mm
Height (h): 13.356021440542595 mm
Thickness: 0.4981628575277104 mm

Volume of the tank is:

Volume = π * h * (R^2 - r^2)
Volume = π * 13.3560 * (3.837^2 - 3.339^2) mm^3
Volume ≈ 754.168 mm^3

Therefore, with the given dimensions, the volume of the cylinder is approximately 754.168 cubic millimeters (mm^3).

End Cap Compensation

The bulges or convex shapes often observed on each end of gas tanks serve multiple purposes related to safety and structural integrity. Here are the main reasons why gas tanks have bulges on each end:

1. Reinforcement: The bulges on the ends of gas tanks provide structural reinforcement. By adding curvature to the ends, the tank gains additional strength to withstand internal and external forces. This reinforcement helps improve the tank's ability to resist deformation, impacts, and other stresses, thereby enhancing its overall durability. 2. Stress Distribution: The bulges aid in distributing stress more evenly across the tank. When pressure or other external forces act on the tank, the curved shape helps distribute the load, reducing localized stress concentrations. This design feature enhances the tank's resistance to deformation and potential failure under extreme conditions. 3. Safety and Containment: In the event of an accident or impact, the bulges help protect the tank from damage. By extending outward, they act as a buffer, absorbing and dispersing forces before they reach the main body of the tank. This design helps prevent punctures or ruptures, reducing the risk of leaks and potential hazards associated with gas containment.

It's important to note that the specific design and shape of gas tanks can vary depending on factors such as the type of gas being stored, the intended application, and safety regulations. The bulges on the ends of gas tanks are one of the common design features employed to ensure safe and reliable storage of gases.

End cap compensation serves the objective of accurately determining the usable capacity of a cylindrical tank. The objective is to account for the volume occupied by the end caps in order to provide precise measurements or calculations for storing liquids or other substances. By considering the space taken up by the end caps, end cap compensation ensures that the reported capacity reflects the actual volume available for use. This information is important in various industries, such as engineering, manufacturing, and storage, where precise measurements are crucial for efficient operations and accurate planning.

from scipy.integrate import quad
import numpy as np
# Function to calculate the surface area of a circle
def circle_area(radius):
   return np.pi * radius**2
# Given values
R = 3.837  # Outer Radius in mm
r = 3.339  # Inner Radius in mm
h = 13.3565  # Height in mm
thickness = 0.5  # Thickness in mm ROUNDED
# Calculate the surface area of the outer circle
A_outer, _ = quad(circle_area, 0, R)
# Calculate the surface area of the inner circle
A_inner, _ = quad(circle_area, 0, r)
# Calculate the surface area of the end cap
A_end_cap = A_outer - A_inner
# Calculate the end cap compensation
end_cap_compensation = A_end_cap * thickness
print("End Cap Compensation: {:.4f} mm^3".format(end_cap_compensation))

The final code of the end cap compensatiion result is:

End Cap Compensation: 10.0867 mm^3

3D CAD Modelling, Conclusion & Evaluation

The 2D sketching process with the addition of a filling port
The second 2D sketching process with the addition of a filling port
The final revolved design with the addition of a filling port


Based on the result above, the ideal thickness when considering only the weight and the deflection factor would be 0.312 mm, however we must also consider other factors when designing or manufacturing storage tank. Although the result of the wall thickness seems to be very thin, this is probably due to the assumptions of taking only the wall cylinder.

We can change the wall thickness according to different materials and their properties, a stronger material would reduce the thickness even more whilst weaker material requires thicker wall.

Other interesting note that we can take from this procedure is that it is relatively simple to do, and can be done for many other parameters that we wanted to know, the accuracy however may not be as accurate as some other methods.

For further improvements, I think the best approach is to make the calculations more detail and more realistic, it will also be a great addition if we include simulation such as from ansys, solidworks, or other CAD software. There are some assumptions that might not be ideal for the optimization and also there are some idealization that might not be suitable for this particular case.

As mentioned previously, this approach only accounts for the weight and deflection and not other important factors. Since we are focusing on the optimization aspect of the design process, I only took certain parameters to work on while ignoring other crucial factors. Upon designing and manufacturing a product, we must consider all the factors and must also design according to the code, from its dimensions, safety, reliability, cost, and others.