unable to identify and simulate a function block

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

製品

リリース

R2023b

質問済み:

2025 年 1 月 5 日

コメント済み:

2025 年 1 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by