---
url: /dyad/stable/stdlib/ElectricalComponents.md
description: >-
  Dyad index docs.  This is the documentation for the ElectricalComponents
  library.  Here you will find the documentation for the various definitions
  contained ...
---

# ElectricalComponents {#ElectricalComponents}

This is the documentation for the `ElectricalComponents` library.  Here you will find the documentation for the various definitions contained in `ElectricalComponents`.

Note that this documentation is automatically generated primarily from the doc strings and metadata associated with those definitions.

## Types {#Types}

* [`Analog.Interfaces.FourPin`](types/Analog.Interfaces.FourPin.md) - Component with two electrical ports (four pins).

* [`Analog.Interfaces.OnePort`](types/Analog.Interfaces.OnePort.md) - A base model for two-terminal electrical components, defining voltage and current relationships.

* [`Analog.Interfaces.TwoPin`](types/Analog.Interfaces.TwoPin.md) - A base model for two-terminal electrical components, defining voltage relationship.

* [`Analog.Interfaces.TwoPort`](types/Analog.Interfaces.TwoPort.md) - Component with two electrical ports, including current conservation.

## Components {#Components}

* [`Analog.Basic.CCC`](components/Analog.Basic.CCC.md) - Linear current-controlled current source.

* [`Analog.Basic.CCV`](components/Analog.Basic.CCV.md) - Linear current-controlled voltage source.

* [`Analog.Basic.Capacitor`](components/Analog.Basic.Capacitor.md) - Ideal electrical capacitor.

* [`Analog.Basic.Conductor`](components/Analog.Basic.Conductor.md) - Ideal linear electrical conductor relating current and voltage through its conductance.

* [`Analog.Basic.Ground`](components/Analog.Basic.Ground.md) - Ideal electrical ground connection, providing a zero-voltage reference.

* [`Analog.Basic.Gyrator`](components/Analog.Basic.Gyrator.md) - Gyrator two-port element.

* [`Analog.Basic.Inductor`](components/Analog.Basic.Inductor.md) - Ideal inductor characterized by its inductance L.

* [`Analog.Basic.MTransformer`](components/Analog.Basic.MTransformer.md) - Generic transformer with N mutually coupled inductors.

* [`Analog.Basic.NonlinearResistor`](components/Analog.Basic.NonlinearResistor.md) - A nonlinear resistor with a piecewise-linear current-voltage characteristic, commonly known as Chua's Resistor.

* [`Analog.Basic.OpAmpDetailed`](components/Analog.Basic.OpAmpDetailed.md) - A detailed operational amplifier, incorporating input/output characteristics,

* [`Analog.Basic.Potentiometer`](components/Analog.Basic.Potentiometer.md) - Adjustable resistor (potentiometer) with three terminals.

* [`Analog.Basic.Resistor`](components/Analog.Basic.Resistor.md) - Linear electrical resistor following Ohm's Law.

* [`Analog.Basic.RotationalEMF`](components/Analog.Basic.RotationalEMF.md) - An ideal electromechanical transducer coupling electrical voltage and current to rotational mechanical torque and angular velocity.

* [`Analog.Basic.SaturatingInductor`](components/Analog.Basic.SaturatingInductor.md) - Inductor model exhibiting magnetic saturation.

* [`Analog.Basic.Transformer`](components/Analog.Basic.Transformer.md) - Transformer with two ports.

* [`Analog.Basic.TranslationalEMF`](components/Analog.Basic.TranslationalEMF.md) - Electromotive force (electric/translational-mechanic transformer).

* [`Analog.Basic.VCC`](components/Analog.Basic.VCC.md) - Linear voltage-controlled current source.

* [`Analog.Basic.VCV`](components/Analog.Basic.VCV.md) - Linear voltage-controlled voltage source.

* [`Analog.Basic.VariableCapacitor`](components/Analog.Basic.VariableCapacitor.md) - Ideal linear electrical capacitor with variable capacitance.

* [`Analog.Basic.VariableConductor`](components/Analog.Basic.VariableConductor.md) - Ideal linear electrical conductor with variable conductance.

* [`Analog.Basic.VariableInductor`](components/Analog.Basic.VariableInductor.md) - Ideal linear electrical inductor with variable inductance.

* [`Analog.Basic.VariableResistor`](components/Analog.Basic.VariableResistor.md) - Ideal linear electrical resistor with variable resistance.

* [`Analog.Semiconductors.Diode`](components/Analog.Semiconductors.Diode.md) - Exponential diode with a parallel ohmic resistance, translated from MSL.

* [`Analog.Semiconductors.Diode2`](components/Analog.Semiconductors.Diode2.md) - Diode with series resistance and reverse breakdown, translated from MSL.

* [`Analog.Semiconductors.NMOS`](components/Analog.Semiconductors.NMOS.md) - N-channel MOSFET with a heat port, translated from MSL. Shichman-Hodges square law.

* [`Analog.Semiconductors.NPN`](components/Analog.Semiconductors.NPN.md) - NPN bipolar junction transistor, Ebers-Moll, translated from MSL.

* [`Analog.Semiconductors.PMOS`](components/Analog.Semiconductors.PMOS.md) - P-channel MOSFET with a heat port, translated from MSL. The mirror of `NMOS`: same

* [`Analog.Semiconductors.PNP`](components/Analog.Semiconductors.PNP.md) - PNP bipolar junction transistor, Ebers-Moll, translated from MSL.

* [`Analog.Sensors.CurrentSensor`](components/Analog.Sensors.CurrentSensor.md) - Ideal ammeter measuring the electrical current flowing between its two pins.

* [`Analog.Sensors.MultiSensor`](components/Analog.Sensors.MultiSensor.md) - Provides combined voltage and current measurements from an electrical circuit.

* [`Analog.Sensors.PotentialSensor`](components/Analog.Sensors.PotentialSensor.md) - Measures the electrical potential at a connection point.

* [`Analog.Sensors.PowerSensor`](components/Analog.Sensors.PowerSensor.md) - Measures the instantaneous electrical power flowing through or consumed by a circuit.

* [`Analog.Sensors.VoltageSensor`](components/Analog.Sensors.VoltageSensor.md) - Measures the electrical potential difference between its two connection terminals.

* [`Analog.Sources.CurrentSource`](components/Analog.Sources.CurrentSource.md) - Ideal current source driven by an external signal.

* [`Analog.Sources.VoltageSource`](components/Analog.Sources.VoltageSource.md) - Ideal voltage source whose output voltage is determined by a real input signal and a scaling parameter.

## Analyses {#Analyses}

* [`Analog.Examples.DeSautyTransient`](analyses/Analog.Examples.DeSautyTransient.md)

* [`Analog.Examples.SimpleRLCTransient`](analyses/Analog.Examples.SimpleRLCTransient.md)

* [`Analog.Examples.SimpleSineRLCTransient`](analyses/Analog.Examples.SimpleSineRLCTransient.md)

## Examples {#Examples}

* [`Analog.Examples.BridgeRectifier`](examples/Analog.Examples.BridgeRectifier.md) - Full-wave bridge rectifier with a capacitor-input filter.

* [`Analog.Examples.ChuaCircuit`](examples/Analog.Examples.ChuaCircuit.md) - Chua's circuit, an electronic circuit known for its chaotic dynamics.

* [`Analog.Examples.CompareTransformers`](examples/Analog.Examples.CompareTransformers.md) - MSL validation test: CompareTransformers (basic transformer part).

* [`Analog.Examples.DeSauty`](examples/Analog.Examples.DeSauty.md) - AC bridge circuit for comparing capacitances

* [`Analog.Examples.ParallelGLC`](examples/Analog.Examples.ParallelGLC.md) - Represents an electrical circuit with a conductor, inductor, and capacitor in parallel, driven by a sinusoidal current source.

* [`Analog.Examples.ParallelResonance`](examples/Analog.Examples.ParallelResonance.md) - `ParallelResonance` models two parallel RLC resonance circuits, each driven by a current source with variable frequency and amplitude.

* [`Analog.Examples.RLCModel`](examples/Analog.Examples.RLCModel.md) - An electrical circuit model featuring an inductor in series with a parallel resistor-capacitor combination, driven by a constant voltage source.

* [`Analog.Examples.SeriesResonance`](examples/Analog.Examples.SeriesResonance.md) - Models two series RLC circuits, one driven by a sine voltage and the other by a cosine voltage, where both sources have their frequency controlled by a common ramp input and their amplitude by a common constant input.

* [`Analog.Examples.ShowVariableResistor`](examples/Analog.Examples.ShowVariableResistor.md) - MSL validation test: ShowVariableResistor.

* [`Analog.Examples.SinRLC`](examples/Analog.Examples.SinRLC.md) - Series RLC circuit driven by a sinusoidal voltage input.

* [`Analog.Examples.ThermalRunaway`](examples/Analog.Examples.ThermalRunaway.md) - Thermal runaway in a fixed-`V_BE` bipolar stage.

## Tests {#Tests}

* [`Analog.Basic.Tests.AmplifierWithOpAmpDetailed`](tests/Analog.Basic.Tests.AmplifierWithOpAmpDetailed.md) - Inverting operational amplifier circuit built using a detailed op-amp model.

* [`Analog.Basic.Tests.CCC`](tests/Analog.Basic.Tests.CCC.md) - Test circuit for CCC (current-controlled current source).

* [`Analog.Basic.Tests.CCV`](tests/Analog.Basic.Tests.CCV.md) - Test circuit for CCV (current-controlled voltage source).

* [`Analog.Basic.Tests.Gyrator`](tests/Analog.Basic.Tests.Gyrator.md) - MSL validation test: Gyrator.

* [`Analog.Basic.Tests.MTransformer`](tests/Analog.Basic.Tests.MTransformer.md) - Test circuit for MTransformer with N=2.

* [`Analog.Basic.Tests.Potentiometer`](tests/Analog.Basic.Tests.Potentiometer.md) - Test circuit for Potentiometer.

* [`Analog.Basic.Tests.RotationalEMF`](tests/Analog.Basic.Tests.RotationalEMF.md) - A test circuit for a rotational electromechanical transducer (RotationalEMF) driven by a sinusoidal voltage and connected to an inertial load.

* [`Analog.Basic.Tests.SaturatingInductor`](tests/Analog.Basic.Tests.SaturatingInductor.md) - Test circuit for a saturating inductor component.

* [`Analog.Basic.Tests.TranslationalEMF`](tests/Analog.Basic.Tests.TranslationalEMF.md) - Test circuit for TranslationalEMF driven by a sinusoidal voltage with a mass load.

* [`Analog.Basic.Tests.VCC`](tests/Analog.Basic.Tests.VCC.md) - Test circuit for VCC (voltage-controlled current source).

* [`Analog.Basic.Tests.VCV`](tests/Analog.Basic.Tests.VCV.md) - Test circuit for VCV (voltage-controlled voltage source).

* [`Analog.Basic.Tests.VariableCapacitor`](tests/Analog.Basic.Tests.VariableCapacitor.md) - Test circuit for VariableCapacitor.

* [`Analog.Basic.Tests.VariableConductor`](tests/Analog.Basic.Tests.VariableConductor.md) - Test circuit for VariableConductor.

* [`Analog.Basic.Tests.VariableInductor`](tests/Analog.Basic.Tests.VariableInductor.md) - Test circuit for VariableInductor.

* [`Analog.Semiconductors.Tests.DiodeBreakdown`](tests/Analog.Semiconductors.Tests.DiodeBreakdown.md) - Reverse-breakdown test for `Diode2` — a zener clamp. `Diode` has no breakdown branch, so

* [`Analog.Semiconductors.Tests.DiodeForward`](tests/Analog.Semiconductors.Tests.DiodeForward.md) - Operating-point check for Diode, one case per branch of the defining equation.

* [`Analog.Semiconductors.Tests.DiodeHeating`](tests/Analog.Semiconductors.Tests.DiodeHeating.md) - Self-heating test for Diode, `use_heat_port = true` — the heat-port loop for a

* [`Analog.Semiconductors.Tests.DiodeTemperature`](tests/Analog.Semiconductors.Tests.DiodeTemperature.md) - Temperature-law check for Diode, with `use_temperature_dependency = true`.

* [`Analog.Semiconductors.Tests.DiodeTest`](tests/Analog.Semiconductors.Tests.DiodeTest.md) - Test circuit for Diode: a half-wave rectifier with a capacitor-input filter.

* [`Analog.Semiconductors.Tests.NMOSOperatingPoint`](tests/Analog.Semiconductors.Tests.NMOSOperatingPoint.md) - Operating-point check for NMOS, one case per region of the square law.

* [`Analog.Semiconductors.Tests.NMOSTest`](tests/Analog.Semiconductors.Tests.NMOSTest.md) - Test circuit for NMOS: a resistively loaded common-source stage under a slow gate ramp.

* [`Analog.Semiconductors.Tests.NPNOperatingPoint`](tests/Analog.Semiconductors.Tests.NPNOperatingPoint.md) - Forward-active operating-point check for NPN.

* [`Analog.Semiconductors.Tests.NPNSwitching`](tests/Analog.Semiconductors.Tests.NPNSwitching.md) - Saturated switching test for NPN, with `use_advanced_continuation = true`.

* [`Analog.Semiconductors.Tests.NPNTest`](tests/Analog.Semiconductors.Tests.NPNTest.md) - Test circuit for NPN: a resistively loaded common-emitter stage under a slow

* [`Analog.Semiconductors.Tests.PMOSOperatingPoint`](tests/Analog.Semiconductors.Tests.PMOSOperatingPoint.md) - Operating-point check for PMOS, the polarity mirror of `NMOSOperatingPoint`.

* [`Analog.Semiconductors.Tests.PMOSTest`](tests/Analog.Semiconductors.Tests.PMOSTest.md) - Test circuit for PMOS: the polarity mirror of the NMOS test bench.

* [`Analog.Semiconductors.Tests.PNPOperatingPoint`](tests/Analog.Semiconductors.Tests.PNPOperatingPoint.md) - Forward-active operating-point check for PNP, the polarity mirror of

* [`Analog.Semiconductors.Tests.PNPTest`](tests/Analog.Semiconductors.Tests.PNPTest.md) - Test circuit for PNP: the polarity mirror of the NPN common-emitter test.

* [`Analog.Sensors.Tests.MultiSensor`](tests/Analog.Sensors.Tests.MultiSensor.md) - A test circuit designed to verify the behavior of a MultiSensor component within

* [`Analog.Sensors.Tests.Sensors`](tests/Analog.Sensors.Tests.Sensors.md) - A test circuit with a resistor and capacitor in series, driven by a sinusoidal voltage source, instrumented with voltage, current, and power sensors.
