Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces

Interfaces for AC singlephase models

Information


This package contains connector specifications and partial models for more complex components.

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

Package Content

NameDescription
Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.Pin Pin Basic connector
Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.PositivePin PositivePin Positive connector
Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.NegativePin NegativePin Negative Connector
Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.TwoPin TwoPin Two pins
Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.OnePort OnePort Two pins, current through
Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.AbsoluteSensor AbsoluteSensor Partial potential sensor
Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.RelativeSensor RelativeSensor Partial voltage / current sensor
Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.Source Source Partial voltage / current source


Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.Pin

Basic connector

Information


The potential of this connector is the complex voltage and the flow variable is the complex current. The positive and negative pin are derived from this base connector.

See also

PositivePin, NegativePin, Plug, PositivePlug, NegativePlug

Contents

TypeNameDescription
ComplexVoltagevComplex potential at the node
flow ComplexCurrentiComplex current flowing into the pin

Modelica definition

connector Pin "Basic connector"
  Modelica.SIunits.ComplexVoltage  v "Complex potential at the node";
  flow Modelica.SIunits.ComplexCurrent  i 
    "Complex current flowing into the pin";
end Pin;

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.PositivePin Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.PositivePin

Positive connector

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.PositivePin

Information



The positive pin is based on Pin. Additionally the reference angle is specified in the connector. The time derivative of the reference angle is the actual angluar velocity of the quasi stationary voltage and current. The symbol is also designed such way to look different than the negative pin.

See also

Pin, NegativePin, Plug, PositivePlug, NegativePlug

Extends from Pin (Basic connector).

Contents

TypeNameDescription
ComplexVoltagevComplex potential at the node
flow ComplexCurrentiComplex current flowing into the pin
ReferencereferenceReference

Modelica definition

connector PositivePin "Positive connector"
  extends Pin;
  QuasiStationary.Types.Reference reference "Reference";
end PositivePin;

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.NegativePin Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.NegativePin

Negative Connector

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.NegativePin

Information



The negative pin is based on Pin. Additionally the reference angle is specified in the connector. The time derivative of the reference angle is the actual angluar velocity of the quasi stationary voltage and current. The symbol is also designed such way to look different than the positive pin.

See also

Pin, PositivePin, Plug, PositivePlug, NegativePlug

Extends from Pin (Basic connector).

Contents

TypeNameDescription
ComplexVoltagevComplex potential at the node
flow ComplexCurrentiComplex current flowing into the pin
ReferencereferenceReference

Modelica definition

connector NegativePin "Negative Connector"
  extends Pin;
  QuasiStationary.Types.Reference reference "Reference";
end NegativePin;

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.TwoPin Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.TwoPin

Two pins

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.TwoPin

Information


This partial model uses a positive and negative pin and defines the complex voltage difference as well as the complex current (into the positive pin). Additionally, the angular velocity of the quasi stationary system is explicitely defined as variable. This model is mainly intended to be used with graphical representation of user models.

See also

PositivePin, NegativePin, OnePort

Connectors

TypeNameDescription
PositivePinpin_pPositive pin
NegativePinpin_nNegative pin

Modelica definition

partial model TwoPin "Two pins"
  Modelica.SIunits.ComplexVoltage  v;
  Modelica.SIunits.ComplexCurrent  i;
  Modelica.SIunits.AngularVelocity omega = der(pin_p.reference.gamma);
  PositivePin pin_p "Positive pin";
  NegativePin pin_n "Negative pin";
equation 
  Connections.branch(pin_p.reference, pin_n.reference);
  pin_p.reference.gamma = pin_n.reference.gamma;
  i = pin_p.i;
  v = pin_p.v - pin_n.v;
end TwoPin;

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.OnePort Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.OnePort

Two pins, current through

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.OnePort

Information


This partial model is based on TwoPin and additionally considers the complex current balance of the positive and the negative pin. This model is intended to be used with textual representation of user models.

See also

PositivePin, NegativePin, TwoPin

Extends from TwoPin (Two pins).

Connectors

TypeNameDescription
PositivePinpin_pPositive pin
NegativePinpin_nNegative pin

Modelica definition

partial model OnePort "Two pins, current through"
  extends TwoPin;
equation 
  pin_p.i + pin_n.i = Complex(0);
end OnePort;

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.AbsoluteSensor Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.AbsoluteSensor

Partial potential sensor

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.AbsoluteSensor

Information


The absolute sensor partial model provides a single positive pin to measure the complex voltage. Additionally this model contains a proper icon and a definition of the angular velocity.

See also

RelativeSensor, PotentialSensor, MultiPhase.Interfaces.AbsoluteSensor, MultiPhase.Interfaces.RelativeSensor

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

Connectors

TypeNameDescription
PositivePinpinPin

Modelica definition

partial model AbsoluteSensor "Partial potential sensor"
  extends Modelica.Icons.RotationalSensor;
  Modelica.SIunits.AngularVelocity omega = der(pin.reference.gamma);
  PositivePin pin "Pin";
equation 
  pin.i = Complex(0);
end AbsoluteSensor;

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.RelativeSensor Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.RelativeSensor

Partial voltage / current sensor

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.RelativeSensor

Information


The relative sensor partial model relies on the OnePort to measure the complex voltage, current or power. Additionally this model contains a proper icon and a definition of the angular velocity.

See also

AbsoluteSensor, VoltageSensor, CurrentSensor, PowerSensor, MultiPhase.Interfaces.AbsoluteSensor, MultiPhase.Interfaces.RelativeSensor

Extends from Modelica.Icons.RotationalSensor (Icon representing a round measurement device), OnePort (Two pins, current through).

Connectors

TypeNameDescription
PositivePinpin_pPositive pin
NegativePinpin_nNegative pin
output ComplexOutputy 

Modelica definition

partial model RelativeSensor "Partial voltage / current sensor"
  extends Modelica.Icons.RotationalSensor;
  extends OnePort;
  Modelica.ComplexBlocks.Interfaces.ComplexOutput y;
end RelativeSensor;

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.Source Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.Source

Partial voltage / current source

Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.Source

Information


The source partial model relies on the OnePort and contains a proper icon.

See also

VoltageSource, VariableVoltageSource, CurrentSource, VariableCurrentSource, MultiPhase.Interfaces.Source.

Extends from OnePort (Two pins, current through).

Connectors

TypeNameDescription
PositivePinpin_pPositive pin
NegativePinpin_nNegative pin

Modelica definition

partial model Source "Partial voltage / current source"
  extends OnePort;
equation 
  Connections.root(pin_p.reference);
end Source;

Automatically generated Fri Nov 12 16:29:24 2010.