Node Voltage Method - Example 8 (Trick: How to handle VCVS)

preview_player
Показать описание
This video shows how to apply Node Voltage method to solve a circuit containing a Voltage Controlled Voltage Source (VCVS). The circuit equations are solved using Mathematica. The power associated with the VCVS is determined. It also shows how to verify the solution using LTSPICE. The PySpice (Python) code to simulate the circuit is provided in the comments section below.

The VCVS in this example does not cause a supernode.

The video has the following chapters:
(00:00) [1] Setting up the problem
(01:37) [2] Writing circuit equations
(06:00) [3] Mathematica solution
(06:27) [4] CCVS power
(08:08) [5] LTSPICE solution
Рекомендации по теме
Комментарии
Автор

# Pyspice (Python) code to simulate the circuit in the video is below.


import PySpice.Logging.Logging as Logging
logger = Logging.setup_logging()

from PySpice.Spice.Netlist import Circuit
from PySpice.Unit import *

circuit = Circuit('Circuit with VCVS')

circuit.VCVS(1, 4, 5, 2, 3, 3)

simulator = circuit.simulator(temperature=25, nominal_temperature=25)
analysis = simulator.operating_point()

for node in analysis.nodes.values():
print('Node {}: {:4.1f} V'.format(str(node), float(node)))

for node in analysis.branches.values():
print('Node {}: {:5.2f} A'.format(str(node), float(node)))


electriccircuits
Автор

Nicely done. The presentation is well put together an demonstrates the usage of a VCVS. Thanks.

markwilliams