StepVoltage

Step voltage source

    StepVoltage

Library

Modelica/Electrical/Analog/Sources

Description

This voltage source uses the corresponding signal source of the Modelica.Blocks.Sources package. Care for the meaning of the parameters in the Blocks package. Furthermore, an offset parameter is introduced, which is added to the value calculated by the blocks source. The startTime parameter allows to shift the blocks source behavior on the time axis.

Parameters

StepVoltage_0

NameLabelDescriptionData TypeValid Values

mo_V

V

Height of step

Scalar

mo_offset

offset

Voltage offset

Scalar

mo_startTime

startTime

Time offset

Scalar

StepVoltage_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'v'
'i'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

p

implicit

Positive electrical pin

input

1

n

implicit

Negative electrical pin

output

1