ObjectStab.Base

Base package

ObjectStab.Base.Pin ObjectStab.Base.OnePin ObjectStab.Base.TwoPin

Information

The base package contains definitions common to all
subpackages, including the new datatypes for the p.u. 
quantities are defined.
 
The constant f0 sets the rated frequency. 
This can be changed into 60 Hz for american users.

Types and constants

type Time = Real (final quantity="Time", final unit="s");

type Duration = Time (min=0);

type AngularVelocity = Real ( final quantity="AngularVelocity", final unit="rad/s", displayUnit="rev/min");

type Angle = Real ( final quantity="Angle", final unit="rad", displayUnit="deg");

type InertiaConstant = Real (final quantity="InertiaConstant", final unit="s");

type DampingCoefficient = Real (final quantity="DampingCoefficient", final unit="1");

type CurrentRealPart = Real (final quantity="CurrentPhasor", final unit="p.u.");

type CurrentImagPart = Real (final quantity="CurrentPhasor", final unit="p.u");

type VoltageRealPart = Real (final quantity="VoltagePhasor", final unit="p.u");

type VoltageImagPart = Real (final quantity="VoltagePhasor", final unit="p.u");

type CurrentAmplitude = Real (final quantity="CurrentAmplitude", final unit="p.u.");

type CurrentAngle = Angle ;

type VoltageAmplitude = Real (final quantity="VoltageAmplitude", final unit="p.u.");

type VoltageAngle = Angle ;

type Resistance = Real ( final quantity="Resistance", final unit="p.u.", min=0);

type Reactance = Real (final quantity="Resistance", final unit= "p.u.");

type Conductance = Real ( final quantity="Conductance", final unit="p.u.", min=0);

type Susceptance = Real (final quantity="Conductance", final unit= "p.u.");

type ActivePower = Real (final quantity="Power", final unit= "p.u.");

type ApparentPower = Real (final quantity="Power", final unit= "p.u.");

type ReactivePower = Real (final quantity="Power", final unit= "p.u.");

type PowerFactor = Real (final quantity="PowerFactor", final unit= "1");

type TapRatio = Real (final quantity="Transformer Ratio", final unit= "p.u.");

type TapStep = Real (final quantity="Number", final unit= "1");

type ElectricalTorque = Real (final quantity="Torque", final unit= "p.u.");

type MechanicalTorque = Real (final quantity="Torque", final unit= "p.u.");

type MechanicalPower = Real (final quantity="Power", final unit= "p.u.");

constant Real f0=50;

constant Real ws=2*Modelica.Constants.PI*f0;


ObjectStab.Base.Pin ObjectStab.Base.Pin

Electrical connector for ObjectStab models

ObjectStab.Base.Pin

Information

The electrical connectors of ObjectStab models are modelled by the voltages and 
currents in phasor representation:

I =   ia + j ib 
V = 1+va + j vb

The constant one has been introduced in order to help the initial value solver.
Two connected Pins results in the following equations:  

Pin1.va = Pin2.va
Pin1.vb = Pin2.vb
Pin1.ia + Pin2.ia = 0
Pin1.ib + Pin2.ib = 0

By definition, currents are considered positive when going into a component.

Modelica definition

connector Pin "Electrical connector for ObjectStab models" 
  Base.VoltageRealPart va;
  Base.VoltageImagPart vb;
  flow Base.CurrentRealPart ia;
  flow Base.CurrentImagPart ib;
end Pin;

ObjectStab.Base.OnePin ObjectStab.Base.OnePin

Shell model for ObjectStab models with one electrical connector

ObjectStab.Base.OnePin

Modelica definition

partial model OnePin 
  "Shell model for ObjectStab models with one electrical connector " 
  ObjectStab.Base.Pin T;
end OnePin;

ObjectStab.Base.TwoPin ObjectStab.Base.TwoPin

Shell model for ObjectStab models with two electrical connectors

ObjectStab.Base.TwoPin

Modelica definition

partial model TwoPin 
  "Shell model for ObjectStab models with two electrical connectors "
   
  ObjectStab.Base.Pin T1;
  ObjectStab.Base.Pin T2;
end TwoPin;

HTML-documentation generated by Dymola Thu Jun 29 23:15:12 2000 .