Modelica.Electrical.Analog.Examples.Utilities

Utility components used by package Examples

Information

This package contains some utility components used by package examples. These components are auxiliary components that should not be used like true MLS components since they are designed the purpose of the examples only, not for common use.

Extends from Modelica.Icons.UtilitiesPackage (Icon for utility packages).

Package Content

Name Description
Modelica.Electrical.Analog.Examples.Utilities.Nand Nand CMOS NAND Gate (see Tietze/Schenk, page 157)
Modelica.Electrical.Analog.Examples.Utilities.NonlinearResistor NonlinearResistor Chua's resistor
Modelica.Electrical.Analog.Examples.Utilities.RealSwitch RealSwitch Ideal switch with resistance
Modelica.Electrical.Analog.Examples.Utilities.Transistor Transistor Transistor with resistance an capacitance
Modelica.Electrical.Analog.Examples.Utilities.DirectCapacitor DirectCapacitor Input/output block of a direct capacitor model
Modelica.Electrical.Analog.Examples.Utilities.InverseCapacitor InverseCapacitor Input/output block of an inverse capacitor model
Modelica.Electrical.Analog.Examples.Utilities.SwitchedCapacitor SwitchedCapacitor Switched capacitor which can represent a positive or negative resistance
Modelica.Electrical.Analog.Examples.Utilities.Resistor Resistor Input/output block of a resistance model
Modelica.Electrical.Analog.Examples.Utilities.DirectInductor DirectInductor Input/output block of a direct inductor model
Modelica.Electrical.Analog.Examples.Utilities.InverseInductor InverseInductor Input/output block of an inverse inductor model
Modelica.Electrical.Analog.Examples.Utilities.Conductor Conductor Input/output block of a conductance model

Modelica.Electrical.Analog.Examples.Utilities.Nand Modelica.Electrical.Analog.Examples.Utilities.Nand

CMOS NAND Gate (see Tietze/Schenk, page 157)

Information

The nand gate is a basic CMOS building block. It consists of four CMOS transistors.

Reference:

Tietze, U.; Schenk, Ch.: Halbleiter-Schaltungstechnik. Springer-Verlag Berlin Heidelberg NewYork 1980, p. 157

Connectors

NameDescription
x1 
x2 
Vdd 
y 

Modelica.Electrical.Analog.Examples.Utilities.NonlinearResistor Modelica.Electrical.Analog.Examples.Utilities.NonlinearResistor

Chua's resistor

Information

This is the only nonlinear component for Chua's circuit. It is a piecewise linear resistor with both an inner and an outer range, which includes the inner one. The slopes of both ranges are given by parameters. The resistance characteristic is continuous. For Chua's circuit both slopes have to be chosen to be negative.

Extends from Interfaces.OnePort (Component with two electrical pins p and n and current i from p to n).

Parameters

NameDescription
GaConductance in inner voltage range [S]
GbConductance in outer voltage range [S]
VeInner voltage range limit [V]

Connectors

NameDescription
pPositive electrical pin
nNegative electrical pin

Modelica.Electrical.Analog.Examples.Utilities.RealSwitch Modelica.Electrical.Analog.Examples.Utilities.RealSwitch

Ideal switch with resistance

Information

This component is a special kind of a commuting switch which possesses an additional constant resistance. This resistance was necessary in an example. It is not designed for common use.

Connectors

NameDescription
p 
n1 
n2 
control 

Modelica.Electrical.Analog.Examples.Utilities.Transistor Modelica.Electrical.Analog.Examples.Utilities.Transistor

Transistor with resistance an capacitance

Information

Since the simple bipolar transistor model does not have base or collector resistances both are added in this component. Additionally, a capacity is added to the base pin. See the schematic for more details. In such a way the transistor model can be enhanced to become more common.

Connectors

NameDescription
c 
b 
e 

Modelica.Electrical.Analog.Examples.Utilities.DirectCapacitor Modelica.Electrical.Analog.Examples.Utilities.DirectCapacitor

Input/output block of a direct capacitor model

Information

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

NameDescription
CCapacitance [F]

Connectors

NameDescription
iDrive[A]
vCapacitor changes voltage due to current [V]
dvCapacitor changes voltage due to current [V/s]
iCurrent to the capacitor [A]

Modelica.Electrical.Analog.Examples.Utilities.InverseCapacitor Modelica.Electrical.Analog.Examples.Utilities.InverseCapacitor

Input/output block of an inverse capacitor model

Information

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

NameDescription
CCapacitance [F]

Connectors

NameDescription
vVoltage to drive the Capacitor [V]
dvVoltage to drive the Capacitor [V/s]
iCurrent needed to drive the oneport according to v, dv [A]

Modelica.Electrical.Analog.Examples.Utilities.SwitchedCapacitor Modelica.Electrical.Analog.Examples.Utilities.SwitchedCapacitor

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

NameDescription
clockClock [s]
RResistance [Ohm]

Connectors

NameDescription
p 
n 

Modelica.Electrical.Analog.Examples.Utilities.Resistor Modelica.Electrical.Analog.Examples.Utilities.Resistor

Input/output block of a resistance model

Information

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

NameDescription
RResistance [Ohm]

Connectors

NameDescription
v1Voltage of left oneport of conduction element [V]
i1Current generated by the conduction element [A]
v2Voltage of right oneport of conduction element [V]
i2Current generated by the conduction element [A]

Modelica.Electrical.Analog.Examples.Utilities.DirectInductor Modelica.Electrical.Analog.Examples.Utilities.DirectInductor

Input/output block of a direct inductor model

Information

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

NameDescription
LInductance [H]

Connectors

NameDescription
vDrive[V]
iInductor changes current due to voltage [A]
diInductor changes current due to voltage [A/s]
vVoltage to the inductor [V]

Modelica.Electrical.Analog.Examples.Utilities.InverseInductor Modelica.Electrical.Analog.Examples.Utilities.InverseInductor

Input/output block of an inverse inductor model

Information

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

NameDescription
LInductance [H]

Connectors

NameDescription
iCurrent to drive the Inductor [A]
diCurrent to drive the Inductor [A/s]
vVoltage needed to drive the oneport according to i, di [V]

Modelica.Electrical.Analog.Examples.Utilities.Conductor Modelica.Electrical.Analog.Examples.Utilities.Conductor

Input/output block of a conductance model

Information

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

NameDescription
GConductance [S]

Connectors

NameDescription
i1Current of left oneport of resistance element [A]
v1Voltage generated by the resistance element [V]
i2Current of right oneport of conduction element [A]
v2Voltage generated by the resistance element [V]
Automatically generated Thu Oct 1 16:07:38 2020.