Electrical current sensor
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.
- 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
- SCI/macros/scicos_blocks/ModElectrical/CurrentSensor.sci [view code]
- SCI/macros/scicos_blocks/ModElectrical/Electrical.mo [view code]