modelSwitchedCapacitor

Switched capacitor which can represent a positive or negative resistance

Information

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.

Parameters

TypeNameDefaultDescription
SI.TimeclockClock
SI.ResistanceRResistance

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp
Modelica.Electrical.Analog.Interfaces.NegativePinn

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.BooleanPulseBooleanPulse
Modelica.Electrical.Analog.Basic.CapacitorCapacitor
Modelica.Electrical.Analog.Ideal.IdealTwoWaySwitchIdealCommutingSwitch1
Modelica.Electrical.Analog.Ideal.IdealTwoWaySwitchIdealCommutingSwitch2
Modelica.Electrical.Analog.Basic.GroundGround1
Modelica.Electrical.Analog.Basic.GroundGround2
Modelica.Blocks.Logical.LessEqualThresholdlessEqualThreshold
Modelica.Blocks.Sources.RealExpressionResistance
Modelica.Blocks.Logical.Notnot1
Modelica.Blocks.Logical.LogicalSwitchlogicalSwitch