Analog.VoltageSource ​
This component extends from OnePort
Usage ​
TranslatedComponents.Analog.VoltageSource(V)
Parameters: ​
| Name | Description | Units | Default value |
|---|---|---|---|
V | V |
Connectors ​
p- This connector represents an electrical pin with voltage and current as the potential and flow variables, respectively. (Pin)n- This connector represents an electrical pin with voltage and current as the potential and flow variables, respectively. (Pin)
Variables ​
| Name | Description | Units |
|---|---|---|
v | V | |
i | A |
Behavior ​
Source ​
dyad
component VoltageSource
extends OnePort
parameter V::Voltage
relations
v = V
endFlattened Source
dyad
component VoltageSource
p = Pin()
n = Pin()
variable v::Dyad.Voltage
variable i::Dyad.Current
parameter V::Voltage
relations
v = p.v - n.v
0 = p.i + n.i
i = p.i
v = V
metadata {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses