Extracting Power from circuit [Simulink]
5 views (last 30 days)
Show older comments
As for introduction,I had a simple circuit where it consists of a voltage supply, couple of resistors, inductors and capacitors either in series or in parallel. How it is possible to get the "Power Input and the Output" of the circuit? Basically Power = [Voltage x Current] I'd used the Current measurement as well as the voltage measurement blocks, but that it just for measuring. I need the power signal being extracted. Any possible answers? Thanks in advance.
0 Comments
Accepted Answer
Rick Rosson
on 5 Jul 2011
I do not understand why the Current and Voltage Measurement blocks will not allow you to accomplish what you need. If you measure the current flowing through a branch, and the voltage across the same branch, you can take the two resulting signals (in the Simulink domain) and multiply one by the other to compute electrical power. You can then attach the output of the multiplier to a Simulink scope and see how the power varies with time.
Does that work?
HTH.
Rick
5 Comments
Arnaud Miege
on 7 Jul 2011
It sounds like you are using an if..action subsystem incorrectly, which is where the problem lies. Could you upload your model to a filesharing site?
http://www.mathworks.co.uk/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
More Answers (0)
See Also
Categories
Find more on Conditionally Executed Subsystems and Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!