unable to identify and simulate a function block

조회 수: 4 (최근 30일)
Aryan
Aryan 2025년 1월 5일
댓글: Aryan 2025년 1월 8일
I need to implement the simulink model of a nernst equation which is provided in the research paper as follows:
The block 2KIfc is a reference input(where you can manipulate te Ifc value to check the variation in output, Kr :Molar constant flow , Ifc:fuel cell current) to the controlled current source but I'm unable to create the function block in the simulink using the constant . Is there something I'm missing ?
Please provide me with a possible solution to implement this model

채택된 답변

Paul
Paul 2025년 1월 5일
Try using a Constant block and set the block parameter "Constant value" to 2*Kr*lfc. Can do the same for the Kr*lfc term as well if both of those terms should change as lfc is varied. I think, but am not sure, that a Constant block is compatible with Simscape.
  댓글 수: 1
Aryan
Aryan 2025년 1월 8일
Thanks for the answer , that helped resolve the issue .

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by