Modelling in Simulink using Fcn Block and Mux

4 views (last 30 days)
SumDood on 24 Jun 2019
Answered: Siamak Lotfi on 10 Dec 2021
Hello Guys,
I am having trouble modelling in Simulink. My modelling is essentially the use of may muxes and Fcn blocks. I have all the mathematical equations I need.
I am facing problems when trying to model an equation that has the one of the input parameters as the output of the whole system.
I have no idea what to do in this case.
For example, Let's say the output of my system is voltage. To build this system, I need to take into consdieration the losses. One of the losses is referred to as electrical losses. These losses can be calculated but the mathematical model needs the voltage as an input parameter. So what do I do now? Any suggestions?
  1 Comment
Arvind Sathyanarayanan
Arvind Sathyanarayanan on 26 Jun 2019
What problem(s) are you facing? Are you getting errors or does the model not converge?
Attaching the model would be helpful!

Sign in to comment.

Answers (1)

Siamak Lotfi
Siamak Lotfi on 10 Dec 2021
you can set a delay block to run correctly


Community Treasure Hunt

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

Start Hunting!