Analog.OnePort ​
This component extends from TwoPin
Usage ​
TranslatedComponents.Analog.OnePort()
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 |
Source ​
dyad
partial component OnePort
extends TwoPin
variable i::Dyad.Current
relations
0 = p.i + n.i
i = p.i
endFlattened Source
dyad
partial component OnePort
p = Pin()
n = Pin()
variable v::Dyad.Voltage
variable i::Dyad.Current
relations
v = p.v - n.v
0 = p.i + n.i
i = p.i
metadata {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses