Scicos Block
fr - eng

##
Electrical voltage sensor

### Contents

- Electrical voltage sensor
  - Palette
  - Description
  - Default properties
  - Interfacing function
  - Modelica model

### Palette

- Electrical.cosf - Electrical toolbox

### Description

This component is used to measure the voltage difference between two nodes in an electrical circuit. The output signal is the difference between the voltages of the black port and the white port, i.e.,

The ohmic conductance of this block is zero.

### Default properties

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

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

  - Modelica variable name : 'v'
    Explicit variable.

- File name of the model : VoltageSensor

### Interfacing function

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

### Modelica model

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