Cant not change the environment temperature in PEM fuel cell model

조회 수: 5 (최근 30일)
Naouel
Naouel 2024년 2월 19일
댓글: Ahmad 2025년 4월 1일
Hi,
The initial value of the environment temperature is 20°C --> "env_T=20".
I want to change it to 18°C, so "env_T=18" :
I didn't change the other parameters, just the "env_T".
When I run the simulation, there is a lot of error messages :
  • "First solve for initial conditiond failed to converge. Trying again with all high priorities relaxed to low."
  • "Second solve for initial conditioned failed to converge.Trying again with all variable targets ignored."
  • "Here is the set of components with unconverged equations :" -----> especially for pipe equations...
How can I solve this problem ?
Thanks in advance
Best regards
Naouel

답변 (1개)

Nirupama
Nirupama 2024년 2월 26일
I ran the example mentioned in the following documentation page on MATLAB R2023b: https://www.mathworks.com/help/simscape/ug/pem-fuel-cell-system.html
The simulation results were as expected.
I then modified the "env_T" from 20 to 18. The detailed steps are as follows:
  1. Open the example in MATLAB R2023b using
openExample('simscape/PEMFuelCellSystemExample')
2. Navigate to "Modelling" tab and click "Model Explorer"
3. Under "PEMFuelCellSystem" click "Model Workspace"
4. Change the value of "env_T" to 18. Hit "Enter" or Click "Apply".
5. Run the model
The simulation went through without any errors. I did not come across the errors that you have mentioned. May be there were some subtle changes that you made unknowingly.
I would recommend you to open a fresh copy of the example in MATLAB R2023b and try out the steps mentioned above.
Hope this helps!
  댓글 수: 1
Ahmad
Ahmad 2025년 4월 1일
If I want to change all the parameters to customise FC, can I follow the same steps as you did?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by