﻿ 20-sim webhelp > Library > Iconic Diagrams > Electric > Sources > voltagesource

# voltagesource

Navigation:  Library > Iconic Diagrams > Electric > Sources >

# voltagesource

## Library

Iconic Diagrams\Electric\Sources

DC

AC

## Use

Domains: Continuous. Size: 1-D. Kind: Iconic Diagrams (Electric).

## Description - DC

This model represents an ideal voltage source with a constant voltage. The voltage can be set to a certain constant value, the current is indifferent. The port p of the model has separate high and low terminals. The equations are:

p.i = p_high.i = p_low.i;

p.u = p_high.u - p_low.u;

p.i = indifferent;

p.u = u;

## Interface - DC

 Ports Description p Both terminals of the Electric port p. Causality fixed voltage out Parameters u Voltage [V].

## Description - AC

This model represents an ideal voltage source with a sinusoidal voltage. The voltage can be set to a certain constant value, the current is indifferent. The port p of the model has separate high and low terminals. The equations are:

p.i = p_high.i = p_low.i;

p.u = p_high.u - p_low.u;

p.i = indifferent;

p.u = U*sin(2*pi*f*time);

## Interface - AC

 Ports Description p Both terminals of the Electric port p. Causality fixed voltage out Parameters U f Voltage amplitude [V]. Voltage frequency [Hz]