Info

This question is closed. Reopen it to edit or answer.

How can physical signal line can be connected with power system blocks?

1 view (last 30 days)
I have modeled some mathematical equations in simulink. i want to connect these with the sim power system blocks. Please suggest how it can be connected?

Answers (1)

Sebastian Castro
Sebastian Castro on 16 Jul 2015
Edited: Sebastian Castro on 16 Jul 2015
With the voltage/current source/sensor blocks in SimPowerSystems. You basically want to make sure your Simulink equations are of the form:
V = function(I) or I = function(V)
That way you can measure voltage, do the calculation, and apply a current back to the circuit -- or the opposite way if need be.
As a simple example, I'd point you to this page, which is the power_VariableInductor model. If you open up that model, right-click the "Variable Inductance" block and select "Mask > Look Under Mask" to see what I mean.
- Sebastian
  3 Comments
Sebastian Castro
Sebastian Castro on 17 Jul 2015
Depends on how the models are made. If one is a SimPowerSystems model and the other is Simulink blocks, my original comment should hold.
Is there another thing you had in mind?
Huan Yu
Huan Yu on 18 Aug 2015
hello Mr. Sebastian,i wonder how to deal with the sim hydraulic blocks for the same purpose, pressure compensated pump for example.

This question is closed.

Community Treasure Hunt

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

Start Hunting!