Scicos Block
fr - eng

##
Electrical DC voltage source

### Contents

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

### Palette

- Electrical.cosf - Electrical toolbox

### Description

This component is a model for any device or system that produces a constant electromotive force between its port. The output voltage of this DC voltage source is defined by the user. The black port indicates the positive voltage. The ohmic resistance of this DC voltage source is zero.

### Dialog box

- V (volt)
  Output 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 : 'V'
    Default value : 0.01
    Is a state variable : no.

- File name of the model : ConstantVoltage

### Interfacing function

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

### Modelica model

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