I am a new user of PLECS blockset and was familiarising myself with the components used to interface between Simulink and PLECS blockset. I was trying to use the electrical port block to connect simulink and PLECS blocks together as shown in the attached screenshot.
In the PLECS circuit, I only used the DC voltage source to act as a source and then used electrical ports to have the load simulated using Simulink blocks. For the load, I used a series RLC branch with just R=20ohms and connected a voltage measurement and scope across is to measure the voltage across the resistor.
However, when I try to run the simulation, I get an error saying "The model 'untitled' can't be solved, since it contains no state variables and no inputs.".
I have tried simulating the resistive load in just the PLECS circuit and it runs just fine but I would like to learn to make electrical connections between Simulink and PLECS circuits. Can someone please tell me what I am doing wrong here?
Many thanks in advance for your help and time!