ObjectStab.Generators.Controllers

ObjectStab.Generators.Controllers.Exciter ObjectStab.Generators.Controllers.Governor ObjectStab.Generators.Controllers.ConstPm ObjectStab.Generators.Controllers.ConstEf


ObjectStab.Generators.Controllers.Governor ObjectStab.Generators.Controllers.Governor

ObjectStab.Generators.Controllers.Governor

Parameters

NameDefaultDescription
wrefBase.wsReference Angular Velocity [rad/s]
Pgref1Reference Electrical Power [p.u.]
Kgov25Governor Gain
THR1
PROPH0.3

Modelica definition

model Governor 
  extends Modelica.Blocks.Interfaces.SISO;
  parameter Base.AngularVelocity wref=Base.ws 
    "Reference Angular Velocity";
  parameter Base.ActivePower Pgref=1 "Reference Electrical Power";
  parameter Real Kgov=25 "Governor Gain";
  parameter Real THR=1;
  parameter Real PROPH=0.3;
  Modelica.Blocks.Math.Add Add1(k1=-1);
  Modelica.Blocks.Sources.Constant Constant1(k={wref});
  Modelica.Blocks.Math.Gain Gain1(k={Kgov/Base.ws});
  Modelica.Blocks.Math.Add Add2;
  Modelica.Blocks.Continuous.TransferFunction TransferFunction1(b={PROPH*
        THR,1}, a={THR,1});
  Modelica.Blocks.Sources.Constant Constant2(k={Pgref});
equation 
  connect(Constant2.outPort, Add2.inPort2);
  connect(Add2.inPort1, Gain1.outPort);
  connect(Add1.outPort, Gain1.inPort);
  connect(Constant1.outPort, Add1.inPort2);
  connect(Add1.inPort1, inPort);
  connect(TransferFunction1.inPort, Add2.outPort);
  connect(TransferFunction1.outPort, outPort);
end Governor;

ObjectStab.Generators.Controllers.Exciter ObjectStab.Generators.Controllers.Exciter

ObjectStab.Generators.Controllers.Exciter

Parameters

NameDefaultDescription
Vref1Voltage Reference after step [p.u.]
Vref21.0Voltage Reference after step [p.u.]
StepTime1.0Time for voltage reference step [s]
Kavr50Voltage Regulator Gain
Tavr0.05Voltage Regulator Time Constant
Efmax3.5AVR Maximum Output [p.u.]
Efmin-3.5AVR Minimum Output [p.u.]

Modelica definition

model Exciter 
  extends Modelica.Blocks.Interfaces.SISO;
  parameter Base.VoltageAmplitude Vref=1 
    "Voltage Reference after step";
  parameter Base.VoltageAmplitude Vref2=1.0 
    "Voltage Reference after step";
  parameter Base.Time StepTime=1.0 "Time for voltage reference step"
    ;
  parameter Real Kavr=50 "Voltage Regulator Gain";
  parameter Real Tavr=0.05 "Voltage Regulator Time Constant";
  parameter Base.VoltageAmplitude Efmax=3.5 "AVR Maximum Output";
  parameter Base.VoltageAmplitude Efmin=-3.5 "AVR Minimum Output";
  
  Modelica.Blocks.Continuous.TransferFunction TransferFunction1(b={Kavr}, a
      ={Tavr,1});
  Modelica.Blocks.Nonlinear.Limiter Limiter1(uMax={Efmax}, uMin={Efmin});
  Modelica.Blocks.Math.Add Add1(k1=-1);
  Modelica.Blocks.Sources.Step Step1(
    height={Vref2 - Vref}, 
    offset={Vref}, 
    startTime={StepTime});
equation 
  connect(Limiter1.outPort, outPort);
  connect(Limiter1.inPort, TransferFunction1.outPort);
  connect(TransferFunction1.inPort, Add1.outPort);
  connect(inPort, Add1.inPort1);
  connect(Step1.outPort, Add1.inPort2);
end Exciter;

ObjectStab.Generators.Controllers.ConstPm ObjectStab.Generators.Controllers.ConstPm

ObjectStab.Generators.Controllers.ConstPm

Parameters

NameDefaultDescription
Pgref1Reference Electrical Power [p.u.]

Modelica definition

model ConstPm 
  extends Modelica.Blocks.Interfaces.SISO;
  parameter Base.ActivePower Pgref=1 "Reference Electrical Power";
  Modelica.Blocks.Sources.Constant Constant2(k={Pgref});
equation 
  connect(Constant2.outPort, outPort);
end ConstPm;

ObjectStab.Generators.Controllers.ConstEf ObjectStab.Generators.Controllers.ConstEf

ObjectStab.Generators.Controllers.ConstEf

Parameters

NameDefaultDescription
Ef1Field Voltage [p.u.]

Modelica definition

model ConstEf 
  extends Modelica.Blocks.Interfaces.SISO;
  parameter Base.VoltageAmplitude Ef=1 "Field Voltage";
  Modelica.Blocks.Sources.Constant Constant2(k={Ef});
equation 
  connect(Constant2.outPort, outPort);
end ConstEf;

HTML-documentation generated by Dymola Thu Jun 29 23:19:01 2000 .