Fuel cell lookup table
Show older comments
The fuel cell lookup table generated from the spreadsheet via-https://ww2.mathworks.cn/help/autoblks/ug/generate-mapped-fuel-cell-from-a-spreadsheet.html
However, based on the data,the fuel cell efficiency looks always over 60% which is unrealistic.
Is there something wrong from built-in spreadsheet?
2 Comments
Umar
on 23 Jun 2024
Hi Zhan, When encountering unusually high efficiency values for fuel cells generated from a spreadsheet in MATLAB, it is essential to verify the data input and the calculations performed. Check the spreadsheet data for any anomalies or errors that might be causing the inflated efficiency values. Ensure that the input values are correctly formatted and within realistic ranges. Additionally, review the calculations in the MATLAB script to confirm that the computations are accurate and reflect the actual efficiency values. By carefully examining both the input data and the calculation process, you can identify and rectify any issues leading to unrealistic fuel cell efficiency results. Hope this will help resolve your concern.
Answers (1)
aditi bagora
on 25 Jun 2024
0 votes
Hi Zhan,
In my understanding the documentation https://ww2.mathworks.cn/help/autoblks/ug/generate-mapped-fuel-cell-from-a-spreadsheet.html looks like an example for demonstarting the following:
- How to use the Spreadsheet file to generate mapped fuel calibaration?
- What is the data required in the speadsheet file for calibration like CurrentCmd, TempCmd, Voltage along with the units?
- How to generate response surface models in the Model-Based Calibration Toolbox and calibration in CAGE?
- How to apply the calibration to your model?
In case you don't have a reference model or the spreadsheet file, reference model and default file is provided to show the workflow.
Probably because of the default values in the spreadsheet, the fuel cell efficiency looks unrealistic.
In order to resolve your concern you can change the spreadsheet file with an actual data file and then apply it to the reference model.
For futher information on the reference model and data file requirements, you can refer to the following links:
- https://www.mathworks.com/help/autoblks/ug/fuel-cell-electric-vehicle-reference-application.html
- https://www.mathworks.com/help/autoblks/ug/explore-the-fuel-cell-electric-vehicle-reference-application.html
- https://www.mathworks.com/help/autoblks/ug/generate-mapped-fuel-cell-from-a-spreadsheet.html
Hope this helps!
3 Comments
Yifeng Tang
on 25 Jun 2024
Although this answer suspiciouly looks like it's AI-generated, I actually agree with this sentence: " ... you can change the spreadsheet file with an actual data file and then apply it to the reference model."
You may use your own data file to replace the "FuelCellPerformanceData.xlsx" in the "CalMappedFuelCell" folder. The original file is there to demonstrate a workflow of generating lookup-table-based fuel cell "equivalent" model, not to ask users to use it as is.
The data in the excel file, I believe, is generated by running the Simscape example of PEM fuel cell at different conditions and recording the steady-state values. This example is also embedded as a detailed variant in the electric plant model in the FCEV reference application. But again, these models are there as an example, not to represent any particular system/vehicle. Feel free to modify them.
Zhan Xu
on 27 Jun 2024
Umar
on 27 Jun 2024
Hi Zhan,
To answer your question, yes, Matlab can be utilized to create a dependable datasheet for PEM fuel cell performance. By leveraging Matlab's data handling capabilities, you can read, manipulate, and analyze data from various sources, including Excel files like "FuelCellPerformanceData.xlsx." You can import the data, perform calculations, visualize results, and generate new data sheets tailored to your specific requirements.
To demonstrate an example by replacing the existing datasheet with new data in Matlab, you can utilize the xlsread and xlswrite functions.
% Read new data from a different Excel file
newData = xlsread('NewFuelCellPerformanceData.xlsx');
% Write the new data to the existing Excel file
xlswrite('CalMappedFuelCell.xlsx', newData);
By reading the new data from "NewFuelCellPerformanceData.xlsx" and writing it to "CalMappedFuelCell.xlsx," you can effectively update the datasheet for PEM fuel cell performance in Matlab.
Let us know if you need further assistance or help.
Categories
Find more on Choose and Parameterize Blocks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!