Frequency Sweep Voltage Source - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Frequency Sweep Voltage Source

Voltage source with integrated frequency sweep

 

Description

Equations

Variables

Connections

Parameters

Modelica Standard Library

Description

The Frequency Sweep Voltage Source component provides a polyphase constant RMS phase voltage V and phase angle φ, whereas the frequency sweeps from fstart to fstop with duration.

The frequency sweeps such way that on a logarithmic frequency scale, the frequency curve appears linear.

Equations

i=plug_p.pin.i

ω=Diffplug_p.reference.gamma,t

v=plug_p.pin.vplug_n.pin.v

Variables

Name

Value

Units

Description

Modelica ID

v

 

 

Complex voltage

v

absv

[1]

V

Magnitude of complex voltage

abs_v

argv

[2]

rad

Argument of complex voltage

arg_v

i

 

 

Complex current

i

absi

[3]

A

Magnitude of complex current

abs_i

argi

[4]

rad

Argument of complex current

arg_i

P

{Modelica.ComplexMath.real(v[k]  Modelica.ComplexMath.conj(i[k])) for k in 1:m}

W

Active power

P

Ptotal

sumP

W

Total active power

P_total

Q

{Modelica.ComplexMath.imag(v[k]  Modelica.ComplexMath.conj(i[k])) for k in 1:m}

var

Reactive power

Q

Qtotal

sumQ

var

Total reactive power

Q_total

S

{Modelica.ComplexMath.'abs'(v[k]  Modelica.ComplexMath.conj(i[k])) for k in 1:m}

VA

Magnitude of complex apparent power

S

Stotal

[5]

VA

Magnitude of total complex apparent power

S_total

pf

{cos(Modelica.ComplexMath.arg(Complex(P[k], Q[k]))) for k in 1:m}

 

Power factor

pf

ω

 

rads

Angular velocity of reference frame

omega

plugToPinsp

 

 

 

plugToPins_p

plugToPinsn

 

 

 

plugToPins_n

γ

plugpreferenceγ

rad

 

gamma

f

voltageSourcef

Hz

Actual frequency

f

voltageSource

 

 

 

voltageSource

logFrequencySweep

 

 

 

logFrequencySweep

const

 

 

 

const

[1] ModelicaComplexMathabsv

[2] ModelicaComplexMathargv

[3] ModelicaComplexMathabsi

[4] ModelicaComplexMathargi

[5] Ptotal2+Qtotal2

Connections

Name

Description

Modelica ID

plugp

Positive quasi-static polyphase plug

plug_p

plugn

Negative quasi-static polyphase plug

plug_n

Parameters

Name

Default

Units

Description

Modelica ID

m

3

 

Number of phases

m

fstart

 

Hz

Start sweep frequency

fStart

f`stop`

 

Hz

Stop sweep frequency

fStop

T0

0

s

Start time of frequency sweep

startTime

duration

 

s

Duration of frequency sweep

duration

Vrms

 

V

RMS voltage of the source

V

φ

[1]

rad

Phase shift of the source

phi

[1] ModelicaElectricalMultiPhaseFunctionssymmetricOrientationm

Modelica Standard Library

The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

See Also

Electrical Library

Quasistatic Overview

Quasistatic Polyphase Sources Overview