modelBaseGeneratorSynchronous

Synchronous machine - Base dynamic model

Extends from GeneratorSynchronousParameters (Synchronous machine record: Common parameters to the init and the dynamic models), Dynawo.Electrical.Controls.Basics.SwitchOff.SwitchOffGenerator (Switch-off model for a generator).

Parameters

TypeNameDefaultDescription
Types.VoltageModuleUNom (from GeneratorSynchronousParameters)Nominal voltage in kV
Types.ApparentPowerModuleSNom (from GeneratorSynchronousParameters)Nominal apparent power in MVA
Types.ActivePowerPNomTurb (from GeneratorSynchronousParameters)Nominal active (turbine) power in MW
Types.ActivePowerPNomAlt (from GeneratorSynchronousParameters)Nominal active (alternator) power in MW
Types.ReactivePowerQNomAlt (from GeneratorSynchronousParameters)sqrt(SNom*SNom - PNomAlt*PNomAlt)Nominal reactive (alternator) power in Mvar
ExcitationPuTypeExcitationPu (from GeneratorSynchronousParameters)Choice of excitation base voltage
Types.TimeH (from GeneratorSynchronousParameters)Kinetic constant = kinetic energy / rated power
Types.PerUnitDPu (from GeneratorSynchronousParameters)Damping coefficient of the swing equation in pu
Types.ApparentPowerModuleSnTfo (from GeneratorSynchronousParameters)Nominal apparent power of the generator transformer in MVA
Types.VoltageModuleUNomHV (from GeneratorSynchronousParameters)Nominal voltage on the network side of the transformer in kV
Types.VoltageModuleUNomLV (from GeneratorSynchronousParameters)Nominal voltage on the generator side of the transformer in kV
Types.VoltageModuleUBaseHV (from GeneratorSynchronousParameters)Base voltage on the network side of the transformer in kV
Types.VoltageModuleUBaseLV (from GeneratorSynchronousParameters)Base voltage on the generator side of the transformer in kV
Types.PerUnitRTfPu (from GeneratorSynchronousParameters)Resistance of the generator transformer in pu (base UBaseHV, SnTfo)
Types.PerUnitXTfPu (from GeneratorSynchronousParameters)Reactance of the generator transformer in pu (base UBaseHV, SnTfo)
Types.PerUnitmd (from GeneratorSynchronousParameters)Parameter for direct axis mutual inductance saturation modelling
Types.PerUnitmq (from GeneratorSynchronousParameters)Parameter for quadrature axis mutual inductance saturation modelling
Types.PerUnitnd (from GeneratorSynchronousParameters)Parameter for direct axis mutual inductance saturation modelling
Types.PerUnitnq (from GeneratorSynchronousParameters)Parameter for quadrature axis mutual inductance saturation modelling
Types.PerUnitRTfoPu (from GeneratorSynchronousParameters)RTfPu*(UNomHV/UBaseHV)^2*(SNom/SnTfo)Resistance of the generator transformer in pu (base SNom, UNom)
Types.PerUnitXTfoPu (from GeneratorSynchronousParameters)XTfPu*(UNomHV/UBaseHV)^2*(SNom/SnTfo)Reactance of the generator transformer in pu (base SNom, UNom)
Types.PerUnitrTfoPu (from GeneratorSynchronousParameters)if RTfPu > 0.0 or XTfPu > 0.0 then UNomHV/UBaseHV/(UNomLV/UBaseLV) else 1.0Ratio of the generator transformer in pu (base UBaseHV, UBaseLV)
IntegerNbSwitchOffSignals (from SwitchOffLogic)Number of switch-off signals to take into account in inputs
BooleanSwitchOffSignal10 (from SwitchOffLogic)falseInitial switch-off signal 1
BooleanSwitchOffSignal20 (from SwitchOffLogic)falseInitial switch-off signal 2
BooleanSwitchOffSignal30 (from SwitchOffLogic)falseInitial switch-off signal 3
BooleanRunning0 (from SwitchOffLogic)if NbSwitchOffSignals >= 3 then not (SwitchOffSignal10 or SwitchOffSignal20 or SwitchOffSignal30) elseif NbSwitchOffSignals >= 2 then not (SwitchOffSignal10 or SwitchOffSignal20) else not SwitchOffSignal10Indicates if the component is initially running or not
Constants.stateState0 (from SwitchOffGenerator)Constants.state.ClosedStart value of connection state
Types.PerUnitRaPPuArmature resistance in pu
Types.PerUnitLdPPuDirect axis stator leakage in pu
Types.PerUnitMdPPuDirect axis mutual inductance in pu
Types.PerUnitLDPPuDirect axis damper leakage in pu
Types.PerUnitRDPPuDirect axis damper resistance in pu
Types.PerUnitMrcPPuCanay's mutual inductance in pu
Types.PerUnitLfPPuExcitation winding leakage in pu
Types.PerUnitRfPPuExcitation winding resistance in pu
Types.PerUnitLqPPuQuadrature axis stator leakage in pu
Types.PerUnitMqPPuQuadrature axis mutual inductance in pu
Types.PerUnitLQ1PPuQuadrature axis 1st damper leakage in pu
Types.PerUnitRQ1PPuQuadrature axis 1st damper resistance in pu
Types.PerUnitLQ2PPuQuadrature axis 2nd damper leakage in pu
Types.PerUnitRQ2PPuQuadrature axis 2nd damper resistance in pu
Types.PerUnitMsalPuConstant difference between direct and quadrature axis saturated mutual inductances in pu
Types.PerUnitMdPPuEfdDirect axis mutual inductance used to determine the excitation voltage in pu
Types.PerUnitMdPPuEfdNomDirect axis mutual inductance used to determine the excitation voltage in nominal conditions in pu
Types.PerUnitKufif ExcitationPu == ExcitationPuType.Kundur then 1 elseif ExcitationPu == ExcitationPuType.UserBase then RfPPu/MdPPuEfd elseif ExcitationPu == ExcitationPuType.NoLoad then RfPPu/MdPPu elseif ExcitationPu == ExcitationPuType.NoLoadSaturated then RfPPu*(1 + md)/MdPPu else RfPPu/MdPPuEfdNomScaling factor for excitation pu voltage
Types.VoltageModulePuU0PuStart value of voltage amplitude in pu (base UNom)
Types.ActivePowerPuP0PuStart value of active power at terminal in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQ0PuStart value of reactive power at terminal in pu (base SnRef) (receptor convention)
Types.AngleUPhase0Start value of voltage angle in rad
Types.PerUnitEfd0PuStart value of input exciter voltage in pu (user-selected base)
Types.PerUnitPm0PuStart value of mechanical power in pu (base PNomTurb/OmegaNom)
Types.ComplexApparentPowerPus0PuStart value of complex apparent power at terminal in pu (base SnRef)
Types.ComplexVoltagePuu0PuStart value of complex voltage at terminal in pu (base UNom)
Types.ComplexCurrentPui0PuStart value of complex current at terminal in pu (base UNom, SnRef)
Types.AngleTheta0Start value of rotor angle: angle between machine rotor frame and port phasor frame
Types.PerUnitUd0PuStart value of voltage of direct axis in pu
Types.PerUnitUq0PuStart value of voltage of quadrature axis in pu
Types.PerUnitId0PuStart value of current of direct axis in pu
Types.PerUnitIq0PuStart value of current of quadrature axis in pu
Types.PerUnitIf0PuStart value of current of excitation winding in pu
Types.PerUnitUf0PuStart value of exciter voltage in pu (Kundur base)
Types.PerUnitLambdad0PuStart value of flux of direct axis in pu
Types.PerUnitLambdaq0PuStart value of flux of quadrature axis in pu
Types.PerUnitLambdaD0PuStart value of flux of direct axis damper
Types.PerUnitLambdaf0PuStart value of flux of excitation winding
Types.PerUnitLambdaQ10PuStart value of flux of quadrature axis 1st damper
Types.PerUnitLambdaQ20PuStart value of flux of quadrature axis 2nd damper
Types.PerUnitCe0PuStart value of electrical torque in pu (base SNom/OmegaNom)
Types.PerUnitCm0PuStart value of mechanical torque in pu (base PNomTurb/OmegaNom)
Types.PerUnitMdSat0PPuStart value of direct axis saturated mutual inductance in pu
Types.PerUnitMqSat0PPuStart value of quadrature axis saturated mutual inductance in pu
Types.PerUnitLambdaAirGap0PuStart value of total air gap flux in pu
Types.PerUnitLambdaAD0PuStart value of common flux of direct axis in pu
Types.PerUnitLambdaAQ0PuStart value of common flux of quadrature axis in pu
Types.PerUnitMds0PuStart value of direct axis saturated mutual inductance in the case when the total air gap flux is aligned on the direct axis in pu
Types.PerUnitMqs0PuStart value of quadrature axis saturated mutual inductance in the case when the total air gap flux is aligned on the quadrature axis in pu
Types.PerUnitCos2Eta0Start value of the common flux of direct axis contribution to the total air gap flux in pu
Types.PerUnitSin2Eta0Start value of the common flux of quadrature axis contribution to the total air gap flux in pu
Types.PerUnitMi0PuStart value of intermediate axis saturated mutual inductance in pu

Connectors

TypeNameDefaultDescription
Dynawo.Connectors.BPinswitchOffSignal1 (from SwitchOffLogic)Switch-off signal 1
Dynawo.Connectors.BPinswitchOffSignal2 (from SwitchOffLogic)Switch-off signal 2
Dynawo.Connectors.BPinswitchOffSignal3 (from SwitchOffLogic)Switch-off signal 3
Dynawo.Connectors.BPinrunning (from SwitchOffLogic)Indicates if the component is running or not
Dynawo.Connectors.ACPowerterminalConnector used to connect the synchronous generator to the grid
Dynawo.Connectors.ImPinomegaRefPuReference frequency in pu
Dynawo.Connectors.ImPinPmPuMechanical power in pu (base PNomTurb)
Dynawo.Connectors.ImPinefdPuInput voltage of exciter winding in pu (user-selected base voltage)
Dynawo.Connectors.ImPinomegaPuAngular frequency in pu

Components

TypeNameDefaultDescription
Constants.statestate (from SwitchOffGenerator)Generator connection state
RealgenState (from SwitchOffGenerator)Generator continuous connection state
Modelica.Blocks.Math.IntegerToRealconverter (from SwitchOffGenerator)Converter for generator state
Types.PerUnitudPuVoltage of direct axis in pu
Types.PerUnituqPuVoltage of quadrature axis in pu
Types.PerUnitidPuCurrent of direct axis in pu
Types.PerUnitiqPuCurrent of quadrature axis in pu
Types.PerUnitiDPuCurrent of direct axis damper in pu
Types.PerUnitiQ1PuCurrent of quadrature axis 1st damper in pu
Types.PerUnitiQ2PuCurrent of quadrature axis 2nd damper in pu
Types.PerUnitifPuCurrent of excitation winding in pu
Types.PerUnitufPuVoltage of exciter winding in pu (base voltage as per Kundur)
Types.PerUnitlambdadPuFlux of direct axis in pu
Types.PerUnitlambdaqPuFlux of quadrature axis in pu
Types.PerUnitlambdaDPuFlux of direct axis damper in pu
Types.PerUnitlambdafPuFlux of excitation winding in pu
Types.PerUnitlambdaQ1PuFlux of quadrature axis 1st damper in pu
Types.PerUnitlambdaQ2PuFlux of quadrature axis 2nd damper in pu
Types.AnglethetaRotor angle: angle between machine rotor frame and port phasor frame
Types.PerUnitcmPuMechanical torque in pu (base PNomTurb/OmegaNom)
Types.PerUnitcePuElectrical torque in pu (base SNom/OmegaNom)
Types.PerUnitPePuElectrical active power in pu (base SNom)
Types.PerUnitMdSatPPuDirect axis saturated mutual inductance in pu
Types.PerUnitMqSatPPuQuadrature axis saturated mutual inductance in pu
Types.PerUnitlambdaAirGapPuTotal air gap flux in pu
Types.PerUnitlambdaADPuCommon flux of direct axis in pu
Types.PerUnitlambdaAQPuCommon flux of quadrature axis in pu
Types.PerUnitmdsPuDirect axis saturated mutual inductance in the case when the total air gap flux is aligned on the direct axis in pu
Types.PerUnitmqsPuQuadrature axis saturated mutual inductance in the case when the total air gap flux is aligned on the quadrature axis in pu
Types.PerUnitcos2EtaCommon flux of direct axis contribution to the total air gap flux in pu
Types.PerUnitsin2EtaCommon flux of quadrature axis contribution to the total air gap flux in pu
Types.PerUnitmiPuIntermediate axis saturated mutual inductance in pu