Scicos Block
fr - eng


Electrical DC voltage source

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

Contents

Description

This component is a model for any device or system that produces a constant electromotive force between its port. The output voltage of this DC volatge source is defined by the user. The black port indicates the positive voltage. The ohmic resistance of this DC voltage source is zero.

Dialog box

Set ConstantVoltage block parameter  
V (volt) 0.01

Default properties

Interfacing function

ConstantVoltage.sci

Modelica model


class ConstantVoltage "Source for constant voltage"
   Pin p, n;
   parameter Real V = 1 "Volts";
equation
   V = p.v - n.v;
   p.i + n.i = 0;
end ConstantVoltage;