Skip to content
Analog.OnePort.md

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 ​

NameDescriptionUnits
vV
iA

Source ​

dyad
partial component OnePort
  extends TwoPin
  variable i::Dyad.Current
relations
  0 = p.i + n.i
  i = p.i
end
Flattened 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 {}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses