Modelica.Electrical.Analog.Interfaces

Connectors and partial models for Analog electrical components

Information


This package contains connectors and interfaces (partial models) for analog electrical components. The partial models contain typical combinations of pins, and internal variables which are often used. Furthermore, the thermal heat port is in this package which can be included by inheritance.

Extends from Modelica.Icons.InterfacesPackage (Icon for packages containing interfaces).

Package Content

NameDescription
Modelica.Electrical.Analog.Interfaces.Pin Pin Pin of an electrical component
Modelica.Electrical.Analog.Interfaces.PositivePin PositivePin Positive pin of an electric component
Modelica.Electrical.Analog.Interfaces.NegativePin NegativePin Negative pin of an electric component
Modelica.Electrical.Analog.Interfaces.TwoPin TwoPin Component with two electrical pins
Modelica.Electrical.Analog.Interfaces.OnePort OnePort Component with two electrical pins p and n and current i from p to n
Modelica.Electrical.Analog.Interfaces.TwoPort TwoPort Component with two electrical ports, including current
Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort ConditionalHeatPort Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network
Modelica.Electrical.Analog.Interfaces.AbsoluteSensor AbsoluteSensor Base class to measure the absolute value of a pin variable
Modelica.Electrical.Analog.Interfaces.RelativeSensor RelativeSensor Base class to measure a relative variable between two pins
Modelica.Electrical.Analog.Interfaces.VoltageSource VoltageSource Interface for voltage sources
Modelica.Electrical.Analog.Interfaces.CurrentSource CurrentSource Interface for current sources

Modelica.Electrical.Analog.Interfaces.Pin Modelica.Electrical.Analog.Interfaces.Pin

Pin of an electrical component

Information


Pin is the basic electric connector. It includes the voltage which consists between the pin and the ground node. The ground node is the node of (any) ground device (Modelica.Electrical.Basic.Ground). Furthermore, the pin includes the current, which is considered to be positive if it is flowing at the pin into the device.

Contents

NameDescription
vPotential at the pin [V]
iCurrent flowing into the pin [A]

Modelica.Electrical.Analog.Interfaces.PositivePin Modelica.Electrical.Analog.Interfaces.PositivePin

Positive pin of an electric component

Information


Connectors PositivePin and NegativePin are nearly identical. The only difference is that the icons are different in order to identify more easily the pins of a component. Usually, connector PositivePin is used for the positive and connector NegativePin for the negative pin of an electrical component.

Contents

NameDescription
vPotential at the pin [V]
iCurrent flowing into the pin [A]

Modelica.Electrical.Analog.Interfaces.NegativePin Modelica.Electrical.Analog.Interfaces.NegativePin

Negative pin of an electric component

Information


Connectors PositivePin and NegativePin are nearly identical. The only difference is that the icons are different in order to identify more easily the pins of a component. Usually, connector PositivePin is used for the positive and connector NegativePin for the negative pin of an electrical component.

Contents

NameDescription
vPotential at the pin [V]
iCurrent flowing into the pin [A]

Modelica.Electrical.Analog.Interfaces.TwoPin Modelica.Electrical.Analog.Interfaces.TwoPin

Component with two electrical pins

Information


TwoPin is a partial model with two pins and one internal variable for the voltage over the two pins. Internal currents are not defined. It is intended to be used in cases where the model which inherits TwoPin is composed by combining other components graphically, not by equations.

Connectors

NameDescription
pPositive pin Positive pin (potential p.v > n.v for positive voltage drop v)
nNegative pin

Modelica.Electrical.Analog.Interfaces.OnePort Modelica.Electrical.Analog.Interfaces.OnePort

Component with two electrical pins p and n and current i from p to n

Information


Superclass of elements which have two electrical pins: the positive pin connector p, and the negative pin connector n. It is assumed that the current flowing into pin p is identical to the current flowing out of pin n. This current is provided explicitly as current i.

Connectors

NameDescription
pPositive pin (potential p.v > n.v for positive voltage drop v)
nNegative pin

Modelica.Electrical.Analog.Interfaces.TwoPort Modelica.Electrical.Analog.Interfaces.TwoPort

Component with two electrical ports, including current

Information


TwoPort is a partial model that consists of two ports. Like OnePort each port has two pins. It is assumed that the current flowing into the positive pin is identical to the current flowing out of pin n. This currents of each port are provided explicitly as currents i1 and i2, the voltages respectively as v1 and v2.

Connectors

NameDescription
p1Positive pin of the left port (potential p1.v > n1.v for positive voltage drop v1)
n1Negative pin of the left port
p2Positive pin of the right port (potential p2.v > n2.v for positive voltage drop v2)
n2Negative pin of the right port

Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort

Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network

Information


This partial model provides a conditional heating port for the connection to a thermal network.

If this model is used, the loss power has to be provided by an equation in the model which inherits from ConditionalHeatingPort model (lossPower = ...). As device temperature T_heatPort can be used to describe the influence of the device temperature on the model behaviour.

Parameters

NameDescription
useHeatPort=true, if HeatPort is enabled
TFixed device temperature if useHeatPort = false [K]

Connectors

NameDescription
heatPort 

Modelica.Electrical.Analog.Interfaces.AbsoluteSensor Modelica.Electrical.Analog.Interfaces.AbsoluteSensor

Base class to measure the absolute value of a pin variable

Information


The AbsoluteSensor is a partial model for converting values that can be calculated from one pin connector into a real valued signal. The special calculation has to be described in the model which inherits the AbsoluteSensor. It is often used in sensor devices. To be a true sensor the modeller has to take care that the sensor model does not influence the electrical behavior to be measured.

Extends from Modelica.Icons.RotationalSensor (Icon representing a round measurement device).

Connectors

NameDescription
pPin to be measured
yMeasured quantity as Real output signal

Modelica.Electrical.Analog.Interfaces.RelativeSensor Modelica.Electrical.Analog.Interfaces.RelativeSensor

Base class to measure a relative variable between two pins

Information


The RelaticeSensor is a partial model for converting values that can be calculated from two pin connectors into a real valued signal. The special calculation has to be described in the model which inherits the RelativeSensor. It is often used in sensor devices. To be a true sensor the modeller has to take care that the sensor model does not influence the electrical behavior to be measured.

Extends from Modelica.Icons.RotationalSensor (Icon representing a round measurement device).

Connectors

NameDescription
pPositive pin
nNegative pin
yMeasured quantity as Real output signal

Modelica.Electrical.Analog.Interfaces.VoltageSource Modelica.Electrical.Analog.Interfaces.VoltageSource

Interface for voltage sources

Information


The VoltageSource partial model prepares voltage sources by providing the pins, and the offset and startTime parameters, which are the same at all voltage sources. The source behavior is taken from Modelica.Blocks signal sources by inheritance and usage of the replaceable possibilities.

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

Parameters

NameDescription
offsetVoltage offset [V]
startTimeTime offset [s]
signalSource 

Connectors

NameDescription
pPositive pin (potential p.v > n.v for positive voltage drop v)
nNegative pin

Modelica.Electrical.Analog.Interfaces.CurrentSource Modelica.Electrical.Analog.Interfaces.CurrentSource

Interface for current sources

Information


The CurrentSource partial model prepares current sources by providing the pins, and the offset and startTime parameters, which are the same at all current sources. The source behavior is taken from Modelica.Blocks signal sources by inheritance and usage of the replaceable possibilities.

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

Parameters

NameDescription
offsetCurrent offset [A]
startTimeTime offset [s]
signalSource 

Connectors

NameDescription
pPositive pin (potential p.v > n.v for positive voltage drop v)
nNegative pin

Automatically generated Mon Sep 23 17:20:27 2013.