I would like to implement simple circuits that I am studying during the electrical engineering (mechanical engineering) course. Can anyone tell me how the following circuit should be drawn in simulink? (R2020a)
or

 채택된 답변

Sriram Tadavarty
Sriram Tadavarty 2020년 7월 30일

0 개 추천

Hi Luca,
You can draw this in Simulink, if you hace access to Simscape Electical.
There are quite a good number of examples and blocks in this and can be used to perform the task.
For the circuits placed, you can use Resistor, Current source and Voltage source.
Hope this helps.
Regards,
Sriram

댓글 수: 8

Luca
Luca 2020년 7월 30일
편집: Luca 2020년 7월 30일
This is true in general, but I don't find such simple circuits. In theory, connecting the dipoles would not be difficult, but, as in the attached example, I cannot connect a voltage meter.
The connectors have square or circular terminals, what is the difference?
I apologize for my ignorance.
Sriram Tadavarty
Sriram Tadavarty 2020년 8월 9일
편집: Sriram Tadavarty 2020년 8월 10일
Hi Luca,
Sorry for the late reply. Here is what i had.
The blocks to be used are from the same type. In the above figure, one element is of type General Electric Sources and the other elements are of type Specicalized Power Systems. This difference in type led to the issue in the connection.
The Simscape signals are not the physical signals and to convert them to Simulink Signals, use the PS Simulink converter. To convert Simulink to physical signals, use Simulink PS converter.
For measurement, as in the above diagrams, use the sensor blocks present here.
Attached here a sample circuit with the voltage measurement. For a similar examples, look over these.
Hope this helps.
Regards,
Sriram
Luca
Luca 2020년 8월 9일
The Simscape signals are the physical signals and to convert them to Simulink Signals,
Don't worry, in fact, thanks for the answer. But what is the difference between physical signal and simulink signal?
Luca
Luca 2020년 8월 9일
???
Sriram Tadavarty
Sriram Tadavarty 2020년 8월 10일
편집: Sriram Tadavarty 2020년 8월 10일
The Simscape signals are not the physical signals.
The error you get is due to the solver configuration not provided. In the sample example, I have connected a solver f(x) = 0. That will solve the conditions and provide the output. Please add a solver to the circuit and the simulation would work.
Hope this helps. Regards, Sriram
Sriram Tadavarty
Sriram Tadavarty 2020년 8월 10일
편집: Sriram Tadavarty 2020년 8월 10일
Here are the answers for the differences between Simscape physical signals and Simulink signals. Please find the link .
Luca
Luca 2020년 8월 10일
Thanks.
Sriram Tadavarty
Sriram Tadavarty 2020년 8월 11일
Good work Luca!
If the answer was helpful, feel free to accept it.
Regards,
Sriram

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

제품

릴리스

R2020a

질문:

2020년 7월 30일

댓글:

2020년 8월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by