Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

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

Attachments:

Re: RLC - Just a simple electronic circuit with variable capacitor

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

Attachments:
There are 0 guests and 0 other users also viewing this topic
You are here: