Package 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 Contents

NameDescription
ConductorInput/output block of a conductance model
DirectCapacitorInput/output block of a direct capacitor model
DirectInductorInput/output block of a direct inductor model
InverseCapacitorInput/output block of an inverse capacitor model
InverseInductorInput/output block of an inverse inductor model
NandCMOS NAND Gate (see Tietze/Schenk, page 157)
NonlinearResistorChua's resistor
RealSwitchIdeal switch with resistance
ResistorInput/output block of a resistance model
SwitchedCapacitorSwitched capacitor which can represent a positive or negative resistance
TransistorTransistor with resistance an capacitance

Model 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

TypeNameDescription
Pinx1 
Pinx2 
PinVdd 
Piny 

Model 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 Modelica.​Electrical.​Analog.​Interfaces.​OnePort (Component with two electrical pins p and n and current i from p to n).

Parameters

TypeNameDefaultDescription
ConductanceGa Conductance in inner voltage range
ConductanceGb Conductance in outer voltage range
VoltageVe Inner voltage range limit

Connectors

TypeNameDescription
PositivePinpPositive electrical pin
NegativePinnNegative electrical pin

Model 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

TypeNameDescription
Pinp 
Pinn1 
Pinn2 
Pincontrol 

Model 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

TypeNameDescription
Pinc 
Pinb 
Pine 

Model Modelica.​Electrical.​Analog.​Examples.​Utilities.​DirectCapacitor
Input/output block of a direct capacitor model

Information

Block that has only the basic icon for an input/output block (no declarations, no equations). Most blocks of package Modelica.Blocks inherit directly or indirectly from this block.

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

Parameters

TypeNameDefaultDescription
CapacitanceC1Capacitance

Connectors

TypeNameDescription
input RealInputiDrive 
output RealOutputvCapacitor changes voltage due to current
output RealOutputdvCapacitor changes voltage due to current
input RealInputiCurrent to the capacitor

Model Modelica.​Electrical.​Analog.​Examples.​Utilities.​InverseCapacitor
Input/output block of an inverse capacitor model

Information

Block that has only the basic icon for an input/output block (no declarations, no equations). Most blocks of package Modelica.Blocks inherit directly or indirectly from this block.

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

Parameters

TypeNameDefaultDescription
CapacitanceC1Capacitance

Connectors

TypeNameDescription
input RealInputvVoltage to drive the Capacitor
input RealInputdvVoltage to drive the Capacitor
output RealOutputiCurrent needed to drive the oneport according to v, dv

Model 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

TypeNameDefaultDescription
Timeclock Clock
ResistanceR Resistance

Connectors

TypeNameDescription
PositivePinp 
NegativePinn 

Model Modelica.​Electrical.​Analog.​Examples.​Utilities.​Resistor
Input/output block of a resistance model

Information

Block that has only the basic icon for an input/output block (no declarations, no equations). Most blocks of package Modelica.Blocks inherit directly or indirectly from this block.

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

Parameters

TypeNameDefaultDescription
ResistanceR1Resistance

Connectors

TypeNameDescription
input RealInputv1Voltage of left oneport of conduction element
output RealOutputi1Current generated by the conduction element
input RealInputv2Voltage of right oneport of conduction element
output RealOutputi2Current generated by the conduction element

Model Modelica.​Electrical.​Analog.​Examples.​Utilities.​DirectInductor
Input/output block of a direct inductor model

Information

Block that has only the basic icon for an input/output block (no declarations, no equations). Most blocks of package Modelica.Blocks inherit directly or indirectly from this block.

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

Parameters

TypeNameDefaultDescription
InductanceL1Inductance

Connectors

TypeNameDescription
input RealInputvDrive 
output RealOutputiInductor changes current due to voltage
output RealOutputdiInductor changes current due to voltage
input RealInputvVoltage to the inductor

Model Modelica.​Electrical.​Analog.​Examples.​Utilities.​InverseInductor
Input/output block of an inverse inductor model

Information

Block that has only the basic icon for an input/output block (no declarations, no equations). Most blocks of package Modelica.Blocks inherit directly or indirectly from this block.

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

Parameters

TypeNameDefaultDescription
InductanceL1Inductance

Connectors

TypeNameDescription
input RealInputiCurrent to drive the Inductor
input RealInputdiCurrent to drive the Inductor
output RealOutputvVoltage needed to drive the oneport according to i, di

Model Modelica.​Electrical.​Analog.​Examples.​Utilities.​Conductor
Input/output block of a conductance model

Information

Block that has only the basic icon for an input/output block (no declarations, no equations). Most blocks of package Modelica.Blocks inherit directly or indirectly from this block.

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

Parameters

TypeNameDefaultDescription
ConductanceG1Conductance

Connectors

TypeNameDescription
input RealInputi1Current of left oneport of resistance element
output RealOutputv1Voltage generated by the resistance element
input RealInputi2Current of right oneport of conduction element
output RealOutputv2Voltage generated by the resistance element