- Index
 - » Developer
 - » OpenModelica development
 - » RLC - Just a simple electronic...
 
RLC - Just a simple electronic circuit with variable capacitor
RLC - Just a simple electronic circuit with variable capacitor
 Hi,
I am very new to this simulation environment. I would like to understand how variable capacitor works when connected to a voltage source. I get all sort of error and I cannot see the change in capacitance or current in the circuit. Do you have any example I can start with?
I have attached my model. 
Can you please tell me how to find tutorials for electrical elements.
Thanks,
Bee
PEvaricap.mo
Re: RLC - Just a simple electronic circuit with variable capacitor
- adrpo
 - 
 - 
 - 885 Posts
 
Re: RLC - Just a simple electronic circuit with variable capacitor
 I see two problems with your example.  1)  Your ground is not actually connected to anything.  2)  You have a variable capacitor, but it is not being given a value.  See attached for a version that is working for me.
PEvaricap.mo
- dersh
 - 
 - 
 - 66 Posts
 
- Index
 - » Developer
 - » OpenModelica development
 - » RLC - Just a simple electronic...
 
						 Thank you 
						