Problems with Controlled Voltage Source with a variable input

2 views (last 30 days)
Hello,
I created a system of blocks to create the output for V = A*sin(wt + phi) (phi is zero in this case so I didn't add it to the diagram). So once I created this signal, I want to input it into the circuit shown except when I try and do so, the blocks do not connect. The wire connections stay red and they never lock onto one another. I have tried moving the whole circuit around, I have tried output the signal to an output block and connecting an input block to the voltage source but the voltage source for some reason does not want to accept any incoming signal.
Let me know if perhaps I am doing something wrong or if this is maybe just a bug with Simulink. Thank you.

Answers (1)

Vishwas Bharadwaj
Vishwas Bharadwaj on 31 Oct 2016
From your description, I see that you are unable to connect Simulink blocks with Simscape blocks. This is because Simscape requires the input to be a physical signal.
Unlike Simulink, the connections between Simscape blocks are physical connections, not signal flows. Hence, the input to Simscape blocks are physical signals. In your model, you need a 'Simulink-PS Converter' block which converts the Simulink input signal into physical signal.
The following link provides additional information:
Hope this helps!

Categories

Find more on Electrical Sensors 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!