Scicos Block
fr - eng

##
Electrical AC voltage source

### Contents

- Electrical AC voltage source
  - Palette
  - Description
  - Dialog box
  - Default properties
  - Interfacing function
  - Modelica model

### Palette

- Electrical.cosf - Electrical toolbox

### Description

This component is an AC voltage source with sinusoid output voltage. The amplitude and the frequency of the output voltage is set by the user. The ohmic resistance of this block is zero.

### Dialog box

- Amplitude (Volt)
  Amplitude of the output sinusoid voltage
  Properties : Type 'vec' of size -1.

- Frequency (Hz)
  Frequency of the output sinusoid voltage
  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 : 'VA'
    Default value : 220
    Is a state variable : no.

  - Modelica parameter name : 'f'
    Default value : 50
    Is a state variable : no.

- File name of the model : VsourceAC

### Interfacing function

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

### Modelica model

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