# Package Modelica.​Electrical.​Machines.​SpacePhasors.​ComponentsBasic space phasor models

### Information

This package contains basic space phasor models.
Real and imaginary part of voltage space phasor are the potentials v_[2] of the space phasor connector; (implicit grounded).
Real and imaginary part of current space phasor are the currents i_[2] at the space phasor connector; a ground has to be used where necessary for currents flowing back.

Extends from `Modelica.​Icons.​Package` (Icon for standard packages).

### Package Contents

NameDescription
`Rotator`Rotates space phasor
`SpacePhasor`Physical transformation: three phase <-> space phasors

## Model Modelica.​Electrical.​Machines.​SpacePhasors.​Components.​SpacePhasorPhysical transformation: three phase <-> space phasors

### Information

Physical transformation of voltages and currents: three phases <-> space phasors:
x[k] = X0 + {cos(-(k - 1)/m*2*pi),-sin(-(k - 1)/m*2*pi)}*X[Re,Im]
and vice versa:
X0 = sum(x[k])/m
X[Re,Im] = sum(2/m*{cos((k - 1)/m*2*pi),sin((k - 1)/m*2*pi)}*x[k])
were x designates three phase values, X[Re,Im] designates the space phasor and X0 designates the zero sequence system.
Physical transformation means that both voltages and currents are transformed in both directions.
Zero-sequence voltage and current are present at pin zero. An additional zero-sequence impedance could be connected between pin zero and pin ground.

### Parameters

TypeNameDefaultDescription
`Real``turnsRatio``1`Turns ratio

### Connectors

TypeNameDescription
`PositivePlug``plug_p`
`NegativePlug``plug_n`
`PositivePin``zero`
`NegativePin``ground`
`SpacePhasor``spacePhasor`

## Model Modelica.​Electrical.​Machines.​SpacePhasors.​Components.​RotatorRotates space phasor

### Information

Rotates space phasors of left connector to right connector by the angle provided by the input signal "angle" from one coordinate system into another.

### Connectors

TypeNameDescription
`SpacePhasor``spacePhasor_a`
`SpacePhasor``spacePhasor_b`
`input ``RealInput``angle`