Difference between revisions of "Ghaisani Khoirunnisa"

From ccitonlinewiki
Jump to: navigation, search
Line 149: Line 149:
 
  node /tmp/tpnPVffDqn.js
 
  node /tmp/tpnPVffDqn.js
 
  Optimized Thickness: 39.90 mm
 
  Optimized Thickness: 39.90 mm
 +
 +
The tube's dimensions can be determined from the coding in the manner described below:
 +
Best Radius: 4 cm
 +
Best Height: 20 cm
 +
Best Difference: 5.309649148733797 cm³
 +
Best Surface Area: 603.1857894892403 cm²
 +
Optimized Thickness: 39.90 mm

Revision as of 11:45, 9 June 2023

Introduction

Greetings, everyone! my name is Ghaisani Khoirunnisa, feel free to call me Gisa. I was born in Jakarta on 22th November 2005. During college I lived in a boarding house located in the Kukusan area, Beji, Depok.

Lecture Resume on 26/05/2023

At the first meeting of the "Metode Numerik" course, I gained an understanding about the principles and practical implementation of the Numerical Method in solving mathematical problems using numerical approaches. Complex problems that are difficult to answer analytically using formulas are solved using a mathematical technique known as the Numerical Method. This approach is particularly helpful when dealing with problems without closed form solutions or when using computationally intensive analytical approaches.

The course emphasized the significance of consciousness in recognizing and addressing problems with the goal of finding solutions. Consciousness refers to an individual's cognitive ability to understand the existence of a problem, and to be actively involved in finding solutions or solving the problem.

In one of our class examples, we explored the expression (x^2-1)/(x-1), where substituting x=1 directly resulted in an indeterminate form of 0/0, lacking a consistent or logically defined solution. We then employed alternative methods such as limit calculations or value approximation, which yielded a result of 2. However, it is important to understand that this value is not absolute. Numerical methods are employed to conduct calculations and utilize approaches that generate the closest possible accurate value. It is crucial to acknowledge that these values are not definitive, as absolute truth can only be attributed to God Almighty.

Design & Optimization of Pressurized Hydrogen Storage

To design the hydrogen cylinder, I utilized various resources, including existing tools like ChatGPT. I relied on ChatGPT to gather the necessary information for my design process. Here are the summarized outcomes and findings obtained through interactions and information searches with ChatGPT.

Design and optimize a pressurized hydrogen storage system with the following specifications :

  • Storage capacity : 1 liter
  • Pressure : 8 bars
  • Fee limit : IDR 500,000

First, we need to consider the design and material for the storage vessel. A common choice for hydrogen storage is a high-pressure cylinder made of a composite material, such as carbon fiber. These cylinders are light, durable and able to withstand high pressure. Considering the cost constraint, we will explore options that fit within the specified budget. To achieve this, we can consider the following approaches:

Cylinder Selection : Research and compare different options for hydrogen storage cylinders available in the market. Look for cylinders specifically designed for high-pressure applications and check if they meet the requirements of 1-liter capacity and 8-bar pressure. Consider factors such as material, weight, and cost. Choose a cylinder that offers the best balance between performance and affordability.

Material Optimization : Optimize the material selection for the cylinder while keeping the cost in mind. Look for materials that provide the necessary strength and safety while being cost-effective. Carbon fiber composite cylinders are commonly used for hydrogen storage due to their lightweight nature and high strength. Evaluate different materials and choose the one that fits within the budget.

Supplier Comparison : Reach out to multiple suppliers and request quotations for the selected cylinder. Compare the prices provided by different suppliers and negotiate for the best possible deal. Consider factors like warranty, delivery time, and after-sales support. Choose a reputable supplier that offers a competitive price and meets the requirements.

Safety Considerations : Ensure that the selected cylinder meets safety standards for pressurized hydrogen storage. Check if the cylinder has necessary safety features such as pressure relief valves, burst discs, and proper certifications. Safety should never be compromised, so prioritize cylinders that meet stringent safety requirements.

Cost Optimization : Explore cost optimization techniques such as bulk purchasing or negotiating for a lower price. Consider buying multiple cylinders to leverage volume discounts if applicable. Seek partnerships or collaborations with other stakeholders to share the cost of the system. By optimizing the procurement process, it may be possible to reduce the overall cost within the given budget.

System Integration : Evaluate the overall system requirements and consider any additional components needed for the pressurized hydrogen storage system, such as valves, regulators, and pressure gauges. Research and select cost-effective components that meet the system specifications. Ensure that the cost of these additional components is included in the overall budget.

System Efficiency : Consider system efficiency to optimize the hydrogen storage capacity. Explore options such as advanced compression techniques or thermal management systems that can maximize the amount of hydrogen stored within the 1-liter capacity. This will help to optimize the system's performance and make the most of the available storage space.

Final Report of Design & Optimization Hydrogen Storage

Material Selection of the Pressurized Hydrogen Tanks

As for the material itself, after several searches, I found that 304 stainless steel is a suitable and adaptable material with high corrosion resistance, high strength. It is used for a wide variety of home and commercial applications, it is one of the best known and most frequently used alloys in the stainless steel family. Typical applications include tanks and containers for a wide variety of liquids and solids. Most of it is made of iron, with large amounts of nickel (8%), and chromium (18%). These alloying components provide stainless steel with its ability to resist corrosion, which makes it perfect for a variety of uses, including hydrogen storage.

Calculation with JavaScript of the Pressurized Hydrogen Tanks

Specification of the Cylindrical Hydrogen Storage Tank

To determine the specifications of the hydrogen cylinder tank, I use JavaScript coding. Let's start by focusing on finding the cylinder dimensions. Here is the code :

function calculateVolume(radius, height) {
 // Calculate the volume of the cylinder in cm³
 return Math.PI * Math.pow(radius, 2) * height;
}
function calculateSurfaceArea(radius, height) {
 // Calculate the surface area of the cylinder in cm²
 const baseArea = 2 * Math.PI * Math.pow(radius, 2);
 const lateralArea = 2 * Math.PI * radius * height;
 return baseArea + lateralArea;
}
function optimizeCylinder(targetVolume, minRadius, maxRadius, minHeight, maxHeight) {
 let bestRadius = 0;
 let bestHeight = 0;
 let bestDifference = Number.MAX_VALUE;
 let bestSurfaceArea = 0;
 // Iterate through the range of radius and height values in cm
 for (let radius = minRadius; radius <= maxRadius; radius++) {
   for (let height = minHeight; height <= maxHeight; height++) {
     // Calculate the volume of the cylinder in cm³
     const volume = calculateVolume(radius, height);
     // Calculate the difference between the cylinder volume and the target volume
     const difference = Math.abs(volume - targetVolume);
     // Check if the current difference is smaller than the best difference found so far
     if (difference < bestDifference) {
       // Update the best values
       bestRadius = radius;
       bestHeight = height;
       bestDifference = difference;
       bestSurfaceArea = calculateSurfaceArea(radius, height);
     }
   }
 }
 // Output the best results with units in cm
 console.log("Optimization Results:");
 console.log("Best Radius: " + bestRadius + " cm");
 console.log("Best Height: " + bestHeight + " cm");
 console.log("Best Difference: " + bestDifference + " cm³");
 console.log("Best Surface Area: " + bestSurfaceArea + " cm²");
}
// Example usage:
const targetVolume = 1000; // 1 liter
const minRadius = 1; // in cm
const maxRadius = 10; // in cm
const minHeight = 1; // in cm
const maxHeight = 20; // in cm
optimizeCylinder(targetVolume, minRadius, maxRadius, minHeight, maxHeight);

From the code above, the outputs I get are :

node /tmp/bBzmwGMPYP.js
Optimization Results:
Best Radius: 4 cm
Best Height: 20 cm
Best Difference: 5.309649148733797 cm³
Best Surface Area: 603.1857894892403 cm²

Next is finding the thickness of the tank with material properties that I use is 304 stainless steel[1].

function calculateThickness(surfaceArea, radius) {
 // Material properties for Stainless Steel 304
 const materialDensity = 7900; // Density in kg/m³
 // Calculate the volume of the cylinder
 const volume = surfaceArea * radius;
 // Calculate the mass of the cylinder
 const mass = volume * materialDensity;
 // Specify the range for thickness optimization (0.4 - 40 mm)
 const minThickness = 0.4;
 const maxThickness = 40;
 // Iterate through the thickness range to find the optimized thickness
 let optimizedThickness = minThickness;
 let minDifference = Number.MAX_SAFE_INTEGER;
 for (let thickness = minThickness; thickness <= maxThickness; thickness += 0.1) {
   const difference = Math.abs(thickness - (mass / (Math.PI * radius)));
   if (difference < minDifference) {
     minDifference = difference;
     optimizedThickness = thickness;
   }
 }
 return optimizedThickness;
}
// Given values
const radius = 4; // in cm
const height = 20; // in cm
const surfaceArea = 603.1857894892403; // in cm²
// Calculate the optimized thickness
const optimizedThickness = calculateThickness(surfaceArea, radius);
console.log("Optimized Thickness: " + optimizedThickness.toFixed(2) + " mm");

The output is :

node /tmp/tpnPVffDqn.js
Optimized Thickness: 39.90 mm

The tube's dimensions can be determined from the coding in the manner described below: Best Radius: 4 cm Best Height: 20 cm Best Difference: 5.309649148733797 cm³ Best Surface Area: 603.1857894892403 cm² Optimized Thickness: 39.90 mm