Saturday 13 November 2021

Modeling & Analysis of PEM Fuel Cell System Using Matlab Simulink



This example shows Modeling & Analysis of proton exchange membrane (PEM) fuel cell stack system to set up 1) Electrical Load : A) drive cycles, B) step C)Ramp 2)Power Produced & Consumed By The System 3) Plot the fuel cell I V curve, Efficiency & Utilization and Temperature in Fuel Cell system 4) Hydrogen consumed by the fuel cell.
  • This example shows how to model a proton exchange membrane (PEM) fuel cell stack with a custom Simscape block.
  • The PEM fuel cell generates electrical power by consuming hydrogen and oxygen and producing water vapor.
  • The custom block represents the membrane electrode assembly (MEA) and is connected two separate moist air networks: one for the Anode Gas Flow and one for the Cathode gas flow.
  • The two moist air networks represents different gas mixtures.
  • The anode network consists of nitrogen (N2), water vapor (H2O), and hydrogen (H2), representing the fuel.
  • The hydrogen is stored in the fuel tank at 70 MPa.
  • A pressure-reducing valve releases hydrogen to the fuel cell stack at around 0.16 MPa.
  • Unconsumed hydrogen is recirculated back to the stack.
  • The cathode network consists of nitrogen (N2), water vapor (H2O), and oxygen (O2), representing air from the environment.
  • A compressor brings air to the fuel cell stack at a controlled rate to ensure that the fuel cell is not starved of oxygen.
  • A back pressure relief valve maintains a pressure of around 0.16 MPa in the stack and vents the exhaust to the environment.
  • The temperature and relative humidity in the fuel cell stack must be maintained at an optimal level to ensure efficient operation under various loading conditions.
  • Higher temperatures increase thermal efficiency but reduce relative humidity, which causes higher membrane resistance.
  • Therefore, in this model, the fuel cell stack temperature is kept at 80 degC.
  • The cooling system circulates coolant between the cells to absorb heat and rejects it to the environment via the radiator.
  • The humidifers saturate the gas with water vapor to keep the membrane hydrated and minimize electrical resistance.
  • This plot shows the current-voltage (I-V) curve of a fuel cell in the stack.
  • As the current ramps up, an initial drop in voltage occurs due to electrode activation losses, followed by a gradual decrease in voltage due to Ohmic resistances.
  • Near maximum current, a sharp drop in voltage occurs due to gas-transport-related losses.
  • This plot also shows the power produced by the cell.
  • When the ramp scenario is selected, the power increases until a maximum power output, then decreases due to the high losses near maximum current.
  • Click here to download the Simulink files: 2021a version:
https://drive.google.com/file/d/1XTnG4zOll1MR58gy_GU7F0K60uUBPCOh/view?usp=sharing
2020a version: https://drive.google.com/file/d/1VigTbfawAmigpxoK5eAka8gx-GU_UBN6/view?usp=sharing
2019a version: https://drive.google.com/file/d/1eGiWLTkdz0lS-o2odx1D8OCXRcOQuEMM/view?usp=sharing
2018a version: https://drive.google.com/file/d/1GReipArHs_fhwCMPjfkIm1AuS1BNTs6Y/view?usp=sharing Kindly Subscribe My YouTube Channel... Please like, share and worthy comments on My Videos 🙏 Please click the below links to Subscribe/Join & View my Videos https: //www.youtube.com/c/DrMSivakumar Telegram : t.me/Dr_MSivakumar website : drmsivakumar78.blogspot.com

Friday 5 November 2021

Part 1_ Design an Energy System for a Hydrogen-Based Electric vehicle Using Matlab Simulink


This example shows Fuel Cell Electric Vehicle Model with a Motor-Generator, Battery, Direct-Drive Transmission, and Associated Powertrain Control Algorithms.
FCEVs are equipped with other advanced technologies to increase efficiency, such as regenerative braking systems that capture the energy lost during braking and store it in a battery.

This example shows how to create an Fuel Cell electric vehicle reference application project using Matlab.
Run the following command to create and open a working copy of the project files: >>autoblkFCEvStart According to the simulation results including FTP75 and WLTP cycles, it was understood that vehicle speed and cycle speed were the same.
Simulation Result: Displays vehicle-level performance, battery state of charge (SOC), and equivalent fuel economy results that are useful for powertrain matching and component selection analysis. At this point, it is concluded that the energy consumption data obtained from the model is also correct.






Part 2 _ Modeling of an Fuel Cell Electric Vehicle with MATLAB/Simulink


This example shows how to create an Fuel Cell electric vehicle reference application project using Matlab.
Contents
Introduction - Fuel Cell Electric Vehicle
  • Fuel cell electric vehicles (FCEVs) are powered by hydrogen.
  • They are more efficient than conventional internal combustion engine vehicles and produce no tailpipe emissions, they only emit water vapor and warm air.
  • The U.S. Department of Energy leads research efforts to make hydrogen-powered vehicles an affordable, environmentally friendly, and safe transportation option.
  • Powertrain Blockset & Simscape Driveline
  • Built-in Controller Models
  • Powertrain Blockset Blocks for Vehicle design
  • Powertrain Design tradeoff studies
  • Modeling of an Fuel Cell Electric Vehicle with MATLAB/Simulink
  • Sample Output Comparison with Different Drive Cycles
Simulation & Result Analysis : Displays vehicle-level performance, battery state of charge (SOC), and equivalent fuel economy results that are useful for powertrain matching and component selection analysis. FCEVs use a propulsion system similar to that of electric vehicles, where energy stored as hydrogen is converted to electricity by the fuel cell. Unlike conventional internal combustion engine vehicles, these vehicles produce no harmful tailpipe emissions.
FCEVs are fueled with pure hydrogen gas stored in a tank on the vehicle. Similar to conventional internal combustion engine vehicles, they can fuel in less than 4 minutes and have a driving range over 300 miles. Motor torque arbitration and power management: 1) Implements a regenerative braking algorithm for the traction motor to recover the maximum amount of kinetic energy from the vehicle. 2) Implements a power management algorithm that ensures the battery dynamic discharge and charge power limits are not exceeded. 3) The algorithm outputs the dynamic discharge and charge power limits as functions of battery state of charge (SOC). 4) Implements a virtual battery management system. Click here to get the Simulink File: https://drive.google.com/file/d/1ph75ejjGFlWFF4EkC8pV7UWzLyIJpuPZ/view?usp=sharing Click here to get the Whole Project File: https://drive.google.com/file/d/1SuXjtS_-ar61tPWd3RWKSXoZbgqiG5D7/view?usp=sharing



Uploaded Matlab Videos