Cosine Current - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Cosine Current

Cosine current source

 

Description

Equations

Variables

Connections

Parameters

Modelica Standard Library

Description

The Cosine Current source generates a sinusoidal current.

Equations

i&equals;ip&equals;in&equals;I0&plus;Ih{0t<T0cos2πftT0&plus;φotherwise

v&equals;vpvn

Variables

Name

Units

Description

Modelica ID

v

V

Voltage drop between the two pins

v

vx

V

Voltage at pin x, xn&comma;p

x.v

i

A

Current flowing from pin p to pin n

i

ix

A

Current into pin x, xn&comma;p

x.i

Connections

Name

Description

Modelica ID

p

Positive pin

p

n

Negative pin

n

Parameters

Name

Default

Units

Description

Modelica ID

φ

0

rad

Phase of cosine wave

phase

f

1

Hz

Frequency of cosine wave

freqHz

T0

0

s

Time offset (start time)

startTime

Ih

1

V

Amplitude of cosine wave

I

I0

0

V

Current offset

offset

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

Analog Components

Current Sources

Electrical Library