Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Matlab embeded function

Status
Not open for further replies.

KajOle

Mechanical
Oct 24, 2006
1
Hi
I am trying to simulate a pump in simunlink. The function depends on 2 variables and the function is this:
(523*F+(104706129*F^2-3560000*P*50^2)^0.5)/(178*50)
Which way can I do this?? I tried with an embedded function but it didn't work.
thanks
Kasper
 
Replies continue below

Recommended for you

The basic answer as to how to simulate a pump in simulink is to write the system of equations that defines the relationship between the input, voltage or torque or force, given to the pump and the output, pressure or flow. Then translate the equations into a hand written block diagram. From this diagram it should be easy to see what components one needs to connect to one another in simulink to create the simulation.

More information generally means a more concise answer...

Hope this helps.
BsK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor