Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

Error in 'Circuit': Initialization commands cannot be evaluated?

0 votes
24 views

after adding a capacitor to the transformer as I wanted to model it completely with the capacitive effect of the real transformer, I got this error which I don't understand

State/source dependence in components
- circuitPlecs1/Circuit/V
- circuitPlecs1/Circuit/C1

asked Nov 29 by EMdude (71 points)

1 Answer

+1 vote
Hi EMdude,

Connecting a capacitor to a voltage source is invalid because you can't change it's voltage instantly. You could add some internal resistance to the source to fix the error. Keep in mind that the circuit still doesn't make much sense. To model a transformer with parasitic elements you should consider expanding your model to a more elaborate state. The "Mutual Inductance" block in PLECS might give you a place to start.

Best Regards

Falk
answered Nov 29 by Falk Kyburz (243 points)
...