blockSinglephaseSource

Basic single phase signal source

Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).

Information

This block provides a single sinusoidal signal with choosen amplitude A0 and choosen frequency f0. Additionally the following disturbances are injected:

  • at time t_Phi a step dPhi in the phase of the signal
  • at time t_f a step df in the frequency of the signal
  • at time t_A a step dA in the amplitude of the signal

Parameters

TypeNameDefaultDescription
RealA01Rated amplitude
SI.Frequencyf050Rated frequency
SI.Timet_Phi0.2Phase disturbance
SI.AngledPhi15*pi/180Phase disturbance
SI.Timet_f0.5Frequency disturbance
SI.Frequencydf1Frequency disturbance
SI.Timet_A0.8Amplitude disturbance
RealdA0.5Amplitude disturbance

Connectors

TypeNameDefaultDescription
RealOutputy (from SO)Connector of Real output signal
Modelica.Blocks.Interfaces.RealOutputwEstimated angular velocity
Modelica.Blocks.Interfaces.RealOutputphiAngle

Components

TypeNameDefaultDescription
RealAstep_amplitude.yAmplitude
Modelica.Blocks.Sources.Stepstep_f
Modelica.Blocks.Continuous.Integratorintegrator
Modelica.Blocks.Sources.Stepstep_phase
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Math.Coscos
Modelica.Blocks.Sources.Stepstep_amplitude
Modelica.Blocks.Math.Productproduct1
Modelica.Blocks.Math.Gaingain