Variable RC

Documentation Home Page OPAL-RT Schematic Editor Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Variable RC

EHS SOLVER

This block implements a variable RC.

The model consists of a controlled voltage source in series with an RL snubber. The value of the generated voltage is determined by the current measured through it, the resistance, and the capacitance, the latter are send as input.

Model Formulation

The current through a parallel variable RC is the sum of the current through the resistance (Ohm’s law) and the rate of change of the charge inside the capacitor, determined by the equation:

LaTeX Math Block

Since the capacitance

LaTeX Math Inline

is the ratio between charge and the voltage:

LaTeX Math Block

thus,

LaTeX Math Block

It is considered that the current due to the change of the capacitance

LaTeX Math Inline

is negligible as compared with the change of the voltage.

LaTeX Math Block

The discretization of equation above results:

LaTeX Math Block

Finally,

LaTeX Math Block

The voltage across the capacitance

is the state variable and its initial value
is a parameter of the block, the Initial voltage (V0).

Limitations

For the model to be stable, the following condition must be satisfied on the resistance and capacitance values:

Parameters

Parameters

 

Resistance (R)

Variable resistance value in ohm (Ω). Can be set to be an input or a constant.

Capacitance (C)

Variable capacitance value in farad (F). Can be set to be an input or a constant.

Initial Voltage (V0)

Initial voltage in volts (V)

Maximum Voltage (Vmax)

Maximum saturation voltage in volts (V)

Snubber resistance (Rsn)

Snubber resistance value in ohm (Ω).

Snubber Inductance (Lsn)

Snubber inductance value in henry (H).