Scicos Block
fr - eng

##
Sine voltage source

### Contents

- Sine voltage source
  - Palette
  - Description
  - Dialog box
  - Default properties
  - Interfacing function
  - Modelica model
  - Authors

### Palette

- Electrical.cosf - Electrical toolbox

### Description

This Modelica block a general sine voltage source. The internal ohmic resistance is zero.

### Dialog box

- Amplitude (Volt)
  Sine voltage amplitude
  Properties : Type 'vec' of size 1.

- phase (rad)
  phase shift of the sine voltage
  Properties : Type 'vec' of size 1.

- Frequency (Hz)
  Sine voltage frequency
  Properties : Type 'vec' of size 1.

- Voltageoffset (V)
  Offset Voltage of the sine voltage
  Properties : Type 'vec' of size 1.

- Timeoffset (s)
  Start time. During the start time, the signal value is equal to the voltage offset.
  Properties : Type 'vec' of size 1.

### Default properties

- Inputs :
  - Modelica variable name : 'p'
    Implicit variable.

- Outputs :
  - Modelica variable name : 'n'
    Implicit variable.

- Parameters :
  - Modelica parameter name : 'V'
    Default value : 1
    Is a state variable : no.

  - Modelica parameter name : 'phase'
    Default value : 0
    Is a state variable : no.

  - Modelica parameter name : 'freqHz'
    Default value : 1
    Is a state variable : no.

  - Modelica parameter name : 'offset'
    Default value : 0
    Is a state variable : no.

  - Modelica parameter name : 'startTime'
    Default value : 0
    Is a state variable : no.

- File name of the model : SineVoltage

### Interfacing function

- SCI/macros/scicos_blocks/Electrical/SineVoltage.sci [view code]

### Modelica model

- SCI/macros/scicos_blocks/Electrical/SineVoltage.mo [view code]

### Authors

www.modelica.org