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

 Réponse acceptée

Paul
Paul le 5 Jan 2025

0 votes

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 commentaire

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Produits

Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by