unable to identify and simulate a function block

4 views (last 30 days)
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

Accepted Answer

Paul
Paul on 5 Jan 2025
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.

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!