Scicos Block
fr - eng


Potential sensor

\epsfig{file=PotentialSensor.eps,width=90.00pt}

Contents

Description

This block is used to measure the voltage with respect to the reference voltage (Ground block) in an electircal circuit. The voltage is given to the explicit part of the model via an explicit output port.

Default properties

Interfacing function

PotentialSensor.sci

Modelica model


 class PotentialSensor 
  Pin p;
  Real v;
 equation
    p.i = 0;
    v = p.v;
 end PotentialSensor;