Difference between revisions of "Muhammad Ikhsan Rahadian"

From ccitonlinewiki
Jump to: navigation, search
(The Material of Hydrogen Tank)
(The Material of Hydrogen Tank)
Line 40: Line 40:
  
 
The coding of the geometry of the tank
 
The coding of the geometry of the tank
 +
<syntaxhighlight lang="XML">
 +
 +
 +
import math
 +
 +
def minimize_surface_area(volume):
 +
    # Initialize variables for minimum surface area and corresponding dimensions
 +
    min_surface_area = float('inf')
 +
    best_dimensions = ()
 +
 +
    # Iterate through possible dimensions to find the minimum surface area
 +
    for radius in range(1, int(math.sqrt(volume / math.pi)) + 1):
 +
        height = volume / (math.pi * radius**2)
 +
        surface_area = 2 * math.pi * radius * (radius + height)
 +
 +
        # Update minimum surface area and corresponding dimensions if a smaller area is found
 +
        if surface_area < min_surface_area:
 +
            min_surface_area = surface_area
 +
            best_dimensions = (radius, height)
 +
 +
    return best_dimensions
 +
 +
# Given a minimum volume of 1 liter (1000 cm^3)
 +
minimum_volume = 1000
 +
 +
# Calculate the dimensions of the cylinder with minimum surface area
 +
radius, height = minimize_surface_area(minimum_volume)
 +
 +
# Print the results
 +
print("Optimal dimensions for minimum surface area:")
 +
print("Radius:", radius, "cm")
 +
print("Height:", height, "cm")

Revision as of 23:06, 5 June 2023

Biodata

Assalamualaikum. Wr. Wb Selamat pagi, siang, sore, malam. Hello, my name is Ikhsan, currently studying Mechanical Engineering at The University of Indonesia. This blog was made for Numerical Method KKI that I took this semester with Pak DAI as the lecturer.

Foto ts.jpeg

Name: Muhammad Ikhsan Rahadian

Date of Birth: Agustus 2nd, 2002

NPM: 2106656882

Major: Mechanical Engineering

E-mail: ikhsan.sony2@gmail.com

Case Study of Hydrogen Storage Optimization

A pressurized hydrogen tank is a specialized container designed to store hydrogen gas at high pressures. These tanks are essential for the safe storage and transport of hydrogen, which is a highly flammable and low-density gas. Pressurizing hydrogen increases its energy density and allows for more efficient storage and utilization in various applications. Usually, materials that can withstand high pressures are used to build pressurized hydrogen tanks. These materials offer the strength and durability needed to hold the hydrogen gas under high pressure. Pressurized hydrogen tanks are used in various industries and applications such as fuel cell vehicles, energy storage, and industrial process. In this class, our goal is to improve and optimize the pressurized hydrogen tank's design to withstand an 8-bar pressure and hold 1 liter of hydrogen.

Hydrogen Tank

Pressurized hydrogen refers to hydrogen gas that is stored or transported at high pressures. Hydrogen is naturally a gas at standard temperature and pressure (STP), which is defined as 0 degrees Celsius (32 degrees Fahrenheit) and 1 atmosphere of pressure. However, when hydrogen is subjected to higher pressures, it becomes compressed and occupies a smaller volume.

Pressurized hydrogen is typically stored in specially designed containers, such as high-pressure cylinders or tanks, that can withstand the increased internal pressure. These containers are constructed using materials that can handle high pressures. The hydrogen gas is compressed into these containers, allowing for a greater quantity of hydrogen to be stored in a smaller space.

The Material of Hydrogen Tank

Stainless steel 304, also known as UNS S30400, is a commonly used austenitic stainless steel alloy. It is part of the 300 series stainless steels, which are known for their excellent corrosion resistance, durability, and versatility. I choose this material because of several factors, such as Corrosion Resistance; strength and durability: it has good mechanical properties, including high tensile strength and yield strength; Formability and Weldability; and Temperature Resistance.

The Material of Hydrogen Tank

My concern for optimizing the design of the tank is the safety of the design of the tank, I choose a cylindrical shape because it can spread the pressure evenly and can hold plenty but still maintain the minimum space.

The coding of the geometry of the tank <syntaxhighlight lang="XML">


import math

def minimize_surface_area(volume):

   # Initialize variables for minimum surface area and corresponding dimensions
   min_surface_area = float('inf')
   best_dimensions = ()
   # Iterate through possible dimensions to find the minimum surface area
   for radius in range(1, int(math.sqrt(volume / math.pi)) + 1):
       height = volume / (math.pi * radius**2)
       surface_area = 2 * math.pi * radius * (radius + height)
       # Update minimum surface area and corresponding dimensions if a smaller area is found
       if surface_area < min_surface_area:
           min_surface_area = surface_area
           best_dimensions = (radius, height)
   return best_dimensions
  1. Given a minimum volume of 1 liter (1000 cm^3)

minimum_volume = 1000

  1. Calculate the dimensions of the cylinder with minimum surface area

radius, height = minimize_surface_area(minimum_volume)

  1. Print the results

print("Optimal dimensions for minimum surface area:") print("Radius:", radius, "cm") print("Height:", height, "cm")