Modelica.Electrical.QuasiStationary.MultiPhase.Sources

AC multiphase sources

Information


This package hosts sources for quasi stationary multiphase circuits. Quasi stationary theory can be found in the references.

See also

SinglePhase.Sources

Extends from Modelica.Icons.SourcesPackage (Icon for packages containing sources).

Package Content

NameDescription
Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VoltageSource VoltageSource Constant multiphase AC voltage
Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VariableVoltageSource VariableVoltageSource Variable multiphase AC voltage
Modelica.Electrical.QuasiStationary.MultiPhase.Sources.CurrentSource CurrentSource Constant multiphase AC current
Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VariableCurrentSource VariableCurrentSource Variable multiphase AC current


Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VoltageSource Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VoltageSource

Constant multiphase AC voltage

Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VoltageSource

Information



This model describes m constant voltage sources, specifying the complex voltages by the RMS voltages and the phase shifts. m single phase VoltageSources are used.

See also

SinglePhase.VoltageSource, VariableVoltageSource, CurrentSource, VariableCurrentSource

Extends from Interfaces.Source (Partial voltage / current source).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
Frequencyf Frequency of the source [Hz]
VoltageV[m] RMS voltage of the source [V]
Anglephi[m]{0 - (j - 1)*2*pi/m for j in...Phase shift of the source [rad]

Connectors

TypeNameDescription
PositivePlugplug_p 
NegativePlugplug_n 

Modelica definition

model VoltageSource "Constant multiphase AC voltage"
  extends Interfaces.Source;
  parameter Modelica.SIunits.Frequency f(start=1) "Frequency of the source";
  parameter Modelica.SIunits.Voltage V[m](start=fill(1,m)) 
    "RMS voltage of the source";
  parameter Modelica.SIunits.Angle phi[m]={0 - (j-1)*2*pi/m for j in 1:m} 
    "Phase shift of the source";
  QuasiStationary.SinglePhase.Sources.VoltageSource voltageSource[
                                                  m](
    each final f=f,
    final V=V,
    final phi=phi);
equation 
  connect(plugToPins_p.pin_p, voltageSource.pin_p);
  connect(voltageSource.pin_n, plugToPins_n.pin_n);
end VoltageSource;

Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VariableVoltageSource Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VariableVoltageSource

Variable multiphase AC voltage

Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VariableVoltageSource

Information



This model describes m variable voltage sources, with m complex signal inputs, specifying the complex voltages by the complex RMS voltage components. Additionally, the frequency of the voltage source is defined by a real signal input. m single phase VariableVoltageSources are used.

See also

SinglePhase.VoltageSource, VoltageSource, CurrentSource, VariableCurrentSource

Extends from Interfaces.Source (Partial voltage / current source).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Connectors

TypeNameDescription
PositivePlugplug_p 
NegativePlugplug_n 
input RealInputf 
input ComplexInputV[m] 

Modelica definition

model VariableVoltageSource "Variable multiphase AC voltage"
  extends Interfaces.Source;
  QuasiStationary.SinglePhase.Sources.VariableVoltageSource
    variableVoltageSource[m];
  Modelica.Blocks.Interfaces.RealInput f;
  Modelica.ComplexBlocks.Interfaces.ComplexInput V[m];
equation 
  for j in 1:m loop
    connect(f, variableVoltageSource[j].f);
  end for;
  connect(plugToPins_p.pin_p, variableVoltageSource.pin_p);
  connect(variableVoltageSource.pin_n, plugToPins_n.pin_n);
  connect(V, variableVoltageSource.V);
end VariableVoltageSource;

Modelica.Electrical.QuasiStationary.MultiPhase.Sources.CurrentSource Modelica.Electrical.QuasiStationary.MultiPhase.Sources.CurrentSource

Constant multiphase AC current

Modelica.Electrical.QuasiStationary.MultiPhase.Sources.CurrentSource

Information



This model describes m constant current sources, specifying the complex currents by the RMS currents and the phase shifts. m single phase CurrentSources are used.

See also

SinglePhase.CurrentSource, VoltageSource, VariableVoltageSource, VariableCurrentSource

Extends from Interfaces.Source (Partial voltage / current source).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
Frequencyf Frequency of the source [Hz]
CurrentI[m] RMS current of the source [A]
Anglephi[m]{0 - (j - 1)*2*pi/m for j in...Phase shift of the source [rad]

Connectors

TypeNameDescription
PositivePlugplug_p 
NegativePlugplug_n 

Modelica definition

model CurrentSource "Constant multiphase AC current"
  extends Interfaces.Source;
  parameter Modelica.SIunits.Frequency f(start=1) "Frequency of the source";
  parameter Modelica.SIunits.Current I[m](start=fill(1,m)) 
    "RMS current of the source";
  parameter Modelica.SIunits.Angle phi[m]={0 - (j-1)*2*pi/m for j in 1:m} 
    "Phase shift of the source";
  QuasiStationary.SinglePhase.Sources.CurrentSource currentSource[
                                                  m](
    each final f=f,
    final phi=phi,
    final I=I);
equation 
  connect(plugToPins_p.pin_p,currentSource. pin_p);
  connect(currentSource.pin_n, plugToPins_n.pin_n);
end CurrentSource;

Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VariableCurrentSource Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VariableCurrentSource

Variable multiphase AC current

Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VariableCurrentSource

Information



This model describes m variable current sources, with m complex signal inputs, specifying the complex current by the complex RMS voltage components. Additionally, the frequency of the current source is defined by a real signal input. m single phase VariableCurrentSources are used.

See also

SinglePhase.VoltageSource, VoltageSource, VariableVoltageSource, CurrentSource.

Extends from Interfaces.Source (Partial voltage / current source).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Connectors

TypeNameDescription
PositivePlugplug_p 
NegativePlugplug_n 
input RealInputf 
input ComplexInputI[m] 

Modelica definition

model VariableCurrentSource "Variable multiphase AC current"
  extends Interfaces.Source;
  QuasiStationary.SinglePhase.Sources.VariableCurrentSource
    variableCurrentSource[m];
  Modelica.Blocks.Interfaces.RealInput f;
  Modelica.ComplexBlocks.Interfaces.ComplexInput I[m];
equation 
  for j in 1:m loop
    connect(f, variableCurrentSource[j].f);
  end for;
  connect(plugToPins_p.pin_p, variableCurrentSource.pin_p);
  connect(variableCurrentSource.pin_n, plugToPins_n.pin_n);
  connect(I, variableCurrentSource.I);
end VariableCurrentSource;

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