Nom

CurrentSensor — Electrical current sensor

Block Screenshot

Contents

Palette

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/modules/scicos_blocks/macros/Electrical/CurrentSensor.sci

Modelica model

  • SCI/modules/scicos_blocks/macros/Electrical/CurrentSensor.mo