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

 Akzeptierte Antwort

Paul
Paul am 5 Jan. 2025

0 Stimmen

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 Kommentar

Aryan
Aryan am 8 Jan. 2025
Thanks for the answer , that helped resolve the issue .

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2023b

Gefragt:

am 5 Jan. 2025

Kommentiert:

am 8 Jan. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by