- Open the example in MATLAB R2023b using
Cant not change the environment temperature in PEM fuel cell model
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I use the PEM fuel cell model : https://fr.mathworks.com/help/simscape/ug/pem-fuel-cell-system.html
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
0 commentaires
Réponses (1)
Nirupama
le 26 Fév 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:
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!
0 commentaires
Voir également
Catégories
En savoir plus sur Foundation and Custom Domains dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!