Constant voltage
electrical.constant_voltage
Ideal source that holds the voltage between p and n.
Ports
| Name | Domain |
|---|---|
p | electrical |
n | electrical |
Parameters
| Name | Unit | Default | Description |
|---|---|---|---|
V | V | 1 | Voltage of p over n |
Variables
| Name | Unit |
|---|---|
v | V |
i | A |
Equations
v = p.v - n.v 0 = p.i + n.i i = p.i v = V