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

 Réponse acceptée

Sriram Tadavarty
Sriram Tadavarty le 30 Juil 2020

0 votes

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 commentaires

Luca
Luca le 30 Juil 2020
Modifié(e) : Luca le 30 Juil 2020
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 le 9 Août 2020
Modifié(e) : Sriram Tadavarty le 10 Août 2020
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 le 9 Août 2020
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 le 9 Août 2020
???
Sriram Tadavarty
Sriram Tadavarty le 10 Août 2020
Modifié(e) : Sriram Tadavarty le 10 Août 2020
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 le 10 Août 2020
Modifié(e) : Sriram Tadavarty le 10 Août 2020
Here are the answers for the differences between Simscape physical signals and Simulink signals. Please find the link .
Luca
Luca le 10 Août 2020
Thanks.
Sriram Tadavarty
Sriram Tadavarty le 11 Août 2020
Good work Luca!
If the answer was helpful, feel free to accept it.
Regards,
Sriram

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by