Scicos Block
fr - eng

##
Electrical current sensor

### Contents

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

### Palette

- Electrical.cosf - Electrical toolbox

### Description

This block is inserted in series in an electrical circuit to measure the current passing through the component. The measure is given to the explicit part of the model via an explicit pout. Conventionally, current flowing into the black port is considered positive. The ohmic resistance of this block is zero.

### Default properties

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

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

  - Modelica variable name : 'i'
    Explicit variable.

- File name of the model : CurrentSensor

### Interfacing function

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

### Modelica model

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