Discrete variable capacitor
Simscape / Electrical / Specialized Power Systems / Fundamental Blocks / Elements
The Variable Capacitor block represents a linear time-varying capacitor. It implements a discrete variable capacitor as a current source. The capacitance is specified by the Simulink input signal. The capacitance value can be negative.
When you use a Variable Capacitor block in your model, set the powergui block
Simulation type to Discrete
. The
robust discrete solver is used to discretize the electrical model.
The block uses the following equations for the relationship between the voltage, v, across the device and the current through the capacitor, i, when the capacitance at port C is C:
Nonlinear Inductor | Nonlinear Resistor | Variable Inductor | Variable Resistor | Variable-Ratio Transformer