Radiation-Induced Charge Generation

Radiation-Induced Charge Generation

Thickness: 100 nm
Intensity: 1.0 Gy
Field: 10 kV/cm

Charge Generated: 0 C, Power Output: 0 W, Efficiency: 0%

Radiation Type Charge (C) Power (W) Efficiency (%)
Radiation-Induced Charge Generation README

Radiation-Induced Charge Generation README

This web application simulates radiation-induced charge generation in different materials under various conditions:

  • Radiation Type: Choose between gamma, neutron, alpha, and beta radiation.
  • Material Thickness: Adjust the thickness of the material in nanometers (nm).
  • Radiation Intensity: Modify the intensity of the radiation in grays (Gy).
  • Electric Field: Apply an electric field in kilovolts per centimeter (kV/cm) to analyze the impact on charge generation.

This interactive simulation uses HTML5, Bootstrap 5.3, and Chart.js to allow dynamic graphing and user control over inputs.

Project Structure

HTML Structure

The HTML structure consists of form inputs and sliders for user interaction. The page is laid out using Bootstrap to ensure responsiveness, and it displays real-time results using a dynamic table and Chart.js for visualizations.

Scripts and Libraries

  • Bootstrap 5.3: Provides layout, form controls, and overall styling.
  • Chart.js: Used for graph plotting to display charge generation and current results.

The JavaScript code dynamically updates the results and graph based on user input.

Detailed Explanation of Code

1. HTML Structure

The HTML starts with a <!DOCTYPE html> declaration. The <div> elements contain form controls for selecting radiation type, material thickness, intensity, and applied electric field. These inputs dynamically trigger the simulation and update the results.

2. Radiation-Induced Charge Generation Simulation

This simulation calculates charge generation, current, and power based on the selected radiation type, material thickness, intensity, and electric field.

Key Functions
  • updateSimulation(): Calculates the energy absorbed, charge generated, and power output based on the material's properties and the applied electric field.
Important Calculations
  • Energy Absorbed: Calculated using the LET (linear energy transfer) value, thickness, and radiation intensity: LET * thickness * intensity.
  • Charge Generated: Calculated based on the absorbed energy and the energy required to generate an electron-hole pair: energyAbsorbed / ePerPair.
  • Power Output: The power is calculated by multiplying the generated current by the applied electric field: current * field.
  • Efficiency: The efficiency is computed as the ratio of power output to total radiation energy absorbed: (powerOutput / totalRadiationEnergy) * 100.
Charts
  • Charge Chart: Displays charge generation and current as bar graphs.

Explore the Code (Interactive)

The code below represents the HTML and JavaScript used to simulate the radiation-induced charge generation experiment. You can explore the code and see how the calculations and dynamic updates are handled.

Running the Project

To run the simulation:

  • Download the HTML file.
  • Open the file in a web browser.
  • Use the sliders to adjust the thickness, intensity, and electric field, and observe the real-time results on the graph and in the history table.
© 2024 Quantum Dot Simulation | Radiation-Induced Charge Generation