Azzera filtri
Azzera filtri

Cant not change the environment temperature in PEM fuel cell model

7 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Nirupama
Nirupama il 26 Feb 2024
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!

Categorie

Scopri di più su Foundation and Custom Domains in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by