Documentation Home Page HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Mean, variable frequency

The Mean, variable frequency component computes the mean value of the input signal over a running window of one cycle of the frequency signal given at input f.

The output is held constant to the DC component value for one cycle of the specified fundamental frequency connected to the second input of the block.

Symbol

Mask Parameters

NameDescriptionUnitVariable = {Possible Values}
DescriptionUse this field to add all kinds of information about the component
Description = {'string'}
Initial frequencyInitial frequency for the first simulation cycle. This value cannot be modified during the simulationHzFinit = { [0, 1e12] }
Minimum frequencyMinimum expected frequency of the input signal. This value cannot be modified during the simulationHzFmin = { [0, 1e12] }
Initial input (DC component)
Initial value of the DC component magnitude of the output signal for the first simulation cycle. This value cannot be modified during the simulation
InitialOutputValue = { [0, 1e12] }

Input/Output Signals

Name

Description

Type

u

Input signal

Input

f

Frequency signal used to calculate the average value of the input signal u

Input

y

Signal averaged as a function of the frequency signal f

Output

Sensor Descriptions

Name

Description

Unit

u

Input signal

No Unit

f

Frequency signal used to calculate the average value of the input signal u

Hz

y

Signal averaged as a function of the frequency signal f

No Unit

Internal Circuit of the Component

Limitations

The frequency input has to be an integer multiple of the input signal.


Example Model

A simple example as given below is developed to demonstrate the usage of mean and mean variable frequency block. The example has two models. The lower part shows a 1- phase 200 V amplitude, 30 V DC biased with variable frequency signal given as input to mean variable frequency block.

The block calculates and captures the results correctly.

Note that the following demo requires that users edit the ScopeView template, and replace the existing .oprec data source with the data generated during the simulation.

Simulation results

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter