WOLFRAM SYSTEM MODELER
SwitchedCapacitorSwitched capacitor which can represent a positive or negative resistance |
|
SystemModel["Modelica.Electrical.Analog.Examples.Utilities.SwitchedCapacitor"]

This information is part of the Modelica Standard Library maintained by the Modelica Association.
This model is a switched capacitor model without thermal behavior which can represent positive and negative resistances.
The clock source is inside the model, its frequency can be chosen by a parameter. Also the resistance is a parameter which can be positive and negative. The internal (switched) capacitor is parametrized in such a way that the total resistance is independently from the frequency equal to the resistance parameter.
| clock |
Value: Type: Time (s) Description: Clock |
|---|---|
| R |
Value: Type: Resistance (Ω) Description: Resistance |
| p |
Type: PositivePin Description: Positive pin of an electrical component |
|
|---|---|---|
| n |
Type: NegativePin Description: Negative pin of an electrical component |
| BooleanPulse |
Type: BooleanPulse Description: Generate pulse signal of type Boolean |
|
|---|---|---|
| Capacitor |
Type: Capacitor Description: Ideal linear electrical capacitor |
|
| IdealCommutingSwitch1 |
Type: IdealTwoWaySwitch Description: Ideal two-way switch |
|
| IdealCommutingSwitch2 |
Type: IdealTwoWaySwitch Description: Ideal two-way switch |
|
| Ground1 |
Type: Ground Description: Ground node |
|
| Ground2 |
Type: Ground Description: Ground node |
|
| lessEqualThreshold |
Type: LessEqualThreshold Description: Output y is true, if input u is less or equal than threshold |
|
| Resistance |
Type: RealExpression Description: Set output signal to a time varying Real expression |
|
| not1 |
Type: Not Description: Logical 'not': y = not u |
|
| logicalSwitch |
Type: LogicalSwitch Description: Logical Switch |
|
Modelica.Electrical.Analog.Examples Cauer low-pass filter with operational amplifiers and switched capacitors |