필터 지우기
필터 지우기

How to run Simscape PEM Fuel Cell model with discrete fixed-step solver

조회 수: 3 (최근 30일)
Daniel
Daniel 2022년 6월 30일
댓글: Naima 2024년 1월 19일
Hey MathWorks community!
I am trying to run this PEM Fuel Cell Model with a discrete fixed-step solver.
So far i changed all continuous blocks with their discrete equals but i think the MEA (Membrane Electrode Assembly) block is still a contiuous one. Has anyone any idea how to solve this?
Thanks in advance!
Daniel

답변 (1개)

Pratik
Pratik 2024년 1월 2일
Hi Daniel,
As per my understanding, you want to simulate the PEM Fuel Cell Simscape model example using discrete fixed-step solver. And to achieve the same have changed all continuous blocks to their discrete equivalent, but Membrane Electrode Assembly block is still continuous.
“FixedStepDiscrete” solver cannot be used with Simscape products because those models will always include continuous states. A possible workaround is to use solvers like “ode1” or “ode2” which permits fixed step simulation of models that include continuous states.
Please refer to the below documentation for more information on how to choose a solver:
Hope this helps!
  댓글 수: 1
Naima
Naima 2024년 1월 19일
Hi Pratik,
I want to the same model with fixed step solver. Only ode1be solver works but it has very slow responses. Have you any idea how to solve this problem ?
You can refer to my post related to this problem.
Thank you,
Naima

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

카테고리

Help CenterFile Exchange에서 Troubleshooting에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by