Skip to content
Analog.TwoPin.md

Analog.TwoPin

Usage

TranslatedComponents.Analog.TwoPin()

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
vVoltage drop of the two pins (= p.v - n.v)V

Source

dyad
partial component TwoPin
  p = Pin()
  n = Pin()
  # Voltage drop of the two pins (= p.v - n.v)
  variable v::Dyad.Voltage
relations
  v = p.v - n.v
end
Flattened Source
dyad
partial component TwoPin
  p = Pin()
  n = Pin()
  # Voltage drop of the two pins (= p.v - n.v)
  variable v::Dyad.Voltage
relations
  v = p.v - n.v
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses