![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1279590/image.png)
How to connect this DC current source, it is not getting connected?
조회 수: 26 (최근 30일)
이전 댓글 표시
Please fins the attched picture of my circuit,
I actually want to demonstrate superposition theorem using Simulink,
But here, I am not able to connect my dc current source, it is showing red dotted line.
I even tried adding ground block, but also I am not able to complete the circuit.
Could you all please help me as to how I could connect this dc current source.
Thank you :)
댓글 수: 0
채택된 답변
Tushar Behera
2023년 1월 31일
Hi Siri,
I believe that you want to make use DC current source in your simulink model. However the block you are using belongs to the Simscape library and not to Simulink library.
In order to solve your query there are two options either model your whole circuit with Simscape blocks or you can use a Controlled Current Source block into your model Change the Source type parameter to DC and connect the input port with a Constant block that contains the value of the DC current as shown in the picture.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1279590/image.png)
I hope this solves your query.
Regards,
Tushar
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Nonlinear Operators에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!