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 ​
Analog.Interfaces.FourPin- Component with two electrical ports (four pins).Analog.Interfaces.OnePort- A base model for two-terminal electrical components, defining voltage and current relationships.Analog.Interfaces.TwoPin- A base model for two-terminal electrical components, defining voltage relationship.Analog.Interfaces.TwoPort- Component with two electrical ports, including current conservation.
Components ​
Analog.Basic.CCC- Linear current-controlled current source.Analog.Basic.CCV- Linear current-controlled voltage source.Analog.Basic.Capacitor- Ideal electrical capacitor.Analog.Basic.Conductor- Ideal linear electrical conductor relating current and voltage through its conductance.Analog.Basic.Ground- Ideal electrical ground connection, providing a zero-voltage reference.Analog.Basic.Gyrator- Gyrator two-port element.Analog.Basic.Inductor- Ideal inductor characterized by its inductance L.Analog.Basic.MTransformer- Generic transformer with N mutually coupled inductors.Analog.Basic.NonlinearResistor- A nonlinear resistor with a piecewise-linear current-voltage characteristic, commonly known as Chua's Resistor.Analog.Basic.OpAmpDetailed- A detailed operational amplifier, incorporating input/output characteristics,Analog.Basic.Potentiometer- Adjustable resistor (potentiometer) with three terminals.Analog.Basic.Resistor- Linear electrical resistor following Ohm's Law.Analog.Basic.RotationalEMF- An ideal electromechanical transducer coupling electrical voltage and current to rotational mechanical torque and angular velocity.Analog.Basic.SaturatingInductor- Inductor model exhibiting magnetic saturation.Analog.Basic.Transformer- Transformer with two ports.Analog.Basic.TranslationalEMF- Electromotive force (electric/translational-mechanic transformer).Analog.Basic.VCC- Linear voltage-controlled current source.Analog.Basic.VCV- Linear voltage-controlled voltage source.Analog.Basic.VariableCapacitor- Ideal linear electrical capacitor with variable capacitance.Analog.Basic.VariableConductor- Ideal linear electrical conductor with variable conductance.Analog.Basic.VariableInductor- Ideal linear electrical inductor with variable inductance.Analog.Basic.VariableResistor- Ideal linear electrical resistor with variable resistance.Analog.Semiconductors.Diode- Exponential diode with a parallel ohmic resistance, translated from MSL.Analog.Semiconductors.Diode2- Diode with series resistance and reverse breakdown, translated from MSL.Analog.Semiconductors.NMOS- N-channel MOSFET with a heat port, translated from MSL. Shichman-Hodges square law.Analog.Semiconductors.NPN- NPN bipolar junction transistor, Ebers-Moll, translated from MSL.Analog.Semiconductors.PMOS- P-channel MOSFET with a heat port, translated from MSL. The mirror ofNMOS: sameAnalog.Semiconductors.PNP- PNP bipolar junction transistor, Ebers-Moll, translated from MSL.Analog.Sensors.CurrentSensor- Ideal ammeter measuring the electrical current flowing between its two pins.Analog.Sensors.MultiSensor- Provides combined voltage and current measurements from an electrical circuit.Analog.Sensors.PotentialSensor- Measures the electrical potential at a connection point.Analog.Sensors.PowerSensor- Measures the instantaneous electrical power flowing through or consumed by a circuit.Analog.Sensors.VoltageSensor- Measures the electrical potential difference between its two connection terminals.Analog.Sources.CurrentSource- Ideal current source driven by an external signal.Analog.Sources.VoltageSource- Ideal voltage source whose output voltage is determined by a real input signal and a scaling parameter.
Analyses ​
Examples ​
Analog.Examples.BridgeRectifier- Full-wave bridge rectifier with a capacitor-input filter.Analog.Examples.ChuaCircuit- Chua's circuit, an electronic circuit known for its chaotic dynamics.Analog.Examples.CompareTransformers- MSL validation test: CompareTransformers (basic transformer part).Analog.Examples.DeSauty- AC bridge circuit for comparing capacitancesAnalog.Examples.ParallelGLC- Represents an electrical circuit with a conductor, inductor, and capacitor in parallel, driven by a sinusoidal current source.Analog.Examples.ParallelResonance-ParallelResonancemodels two parallel RLC resonance circuits, each driven by a current source with variable frequency and amplitude.Analog.Examples.RLCModel- An electrical circuit model featuring an inductor in series with a parallel resistor-capacitor combination, driven by a constant voltage source.Analog.Examples.SeriesResonance- 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- MSL validation test: ShowVariableResistor.Analog.Examples.SinRLC- Series RLC circuit driven by a sinusoidal voltage input.Analog.Examples.ThermalRunaway- Thermal runaway in a fixed-V_BEbipolar stage.
Tests ​
Analog.Basic.Tests.AmplifierWithOpAmpDetailed- Inverting operational amplifier circuit built using a detailed op-amp model.Analog.Basic.Tests.CCC- Test circuit for CCC (current-controlled current source).Analog.Basic.Tests.CCV- Test circuit for CCV (current-controlled voltage source).Analog.Basic.Tests.Gyrator- MSL validation test: Gyrator.Analog.Basic.Tests.MTransformer- Test circuit for MTransformer with N=2.Analog.Basic.Tests.Potentiometer- Test circuit for Potentiometer.Analog.Basic.Tests.RotationalEMF- A test circuit for a rotational electromechanical transducer (RotationalEMF) driven by a sinusoidal voltage and connected to an inertial load.Analog.Basic.Tests.SaturatingInductor- Test circuit for a saturating inductor component.Analog.Basic.Tests.TranslationalEMF- Test circuit for TranslationalEMF driven by a sinusoidal voltage with a mass load.Analog.Basic.Tests.VCC- Test circuit for VCC (voltage-controlled current source).Analog.Basic.Tests.VCV- Test circuit for VCV (voltage-controlled voltage source).Analog.Basic.Tests.VariableCapacitor- Test circuit for VariableCapacitor.Analog.Basic.Tests.VariableConductor- Test circuit for VariableConductor.Analog.Basic.Tests.VariableInductor- Test circuit for VariableInductor.Analog.Semiconductors.Tests.DiodeBreakdown- Reverse-breakdown test forDiode2— a zener clamp.Diodehas no breakdown branch, soAnalog.Semiconductors.Tests.DiodeForward- Operating-point check for Diode, one case per branch of the defining equation.Analog.Semiconductors.Tests.DiodeHeating- Self-heating test for Diode,use_heat_port = true— the heat-port loop for aAnalog.Semiconductors.Tests.DiodeTemperature- Temperature-law check for Diode, withuse_temperature_dependency = true.Analog.Semiconductors.Tests.DiodeTest- Test circuit for Diode: a half-wave rectifier with a capacitor-input filter.Analog.Semiconductors.Tests.NMOSOperatingPoint- Operating-point check for NMOS, one case per region of the square law.Analog.Semiconductors.Tests.NMOSTest- Test circuit for NMOS: a resistively loaded common-source stage under a slow gate ramp.Analog.Semiconductors.Tests.NPNOperatingPoint- Forward-active operating-point check for NPN.Analog.Semiconductors.Tests.NPNSwitching- Saturated switching test for NPN, withuse_advanced_continuation = true.Analog.Semiconductors.Tests.NPNTest- Test circuit for NPN: a resistively loaded common-emitter stage under a slowAnalog.Semiconductors.Tests.PMOSOperatingPoint- Operating-point check for PMOS, the polarity mirror ofNMOSOperatingPoint.Analog.Semiconductors.Tests.PMOSTest- Test circuit for PMOS: the polarity mirror of the NMOS test bench.Analog.Semiconductors.Tests.PNPOperatingPoint- Forward-active operating-point check for PNP, the polarity mirror ofAnalog.Semiconductors.Tests.PNPTest- Test circuit for PNP: the polarity mirror of the NPN common-emitter test.Analog.Sensors.Tests.MultiSensor- A test circuit designed to verify the behavior of a MultiSensor component withinAnalog.Sensors.Tests.Sensors- A test circuit with a resistor and capacitor in series, driven by a sinusoidal voltage source, instrumented with voltage, current, and power sensors.