Solving Circuits With DC Voltmeter

  Рет қаралды 461

Electric Circuits

Electric Circuits

Күн бұрын

Пікірлер: 1
@electriccircuits7164
@electriccircuits7164 6 ай бұрын
# Pyspice (Python) code to simulate Example 3 in the video # Compare with theory solution in the video at 11:30 (without voltmeter) ########################################################## import PySpice.Logging.Logging as Logging logger = Logging.setup_logging() from PySpice.Spice.Netlist import Circuit from PySpice.Unit import * circuit = Circuit('Voltmeter - Example 3') circuit.V(1, '1', circuit.gnd, 7.5@u_V) circuit.R(1, '1', '2', 20@u_kΩ) circuit.R(2, '2', circuit.gnd, 80@u_kΩ) circuit.R(3, '1', '3', 390@u_Ω) circuit.R(4, '4', circuit.gnd, 200@u_Ω) circuit.V('zero', '2', '5', 0@u_V) circuit.V(2, '5', '4', 0.6@u_V) circuit.F(1, '3', '4', 'Vzero', 39) simulator = circuit.simulator(temperature=25, nominal_temperature=25) analysis = simulator.operating_point() for node in analysis.nodes.values(): print('Node {}: {:1.4f} V'.format(str(node), float(node))) for node in analysis.branches.values(): print('Node {}: {:5.3e} A'.format(str(node), float(node))) ###################################################################### # Calculate and display the currents in each reistor i1 = (analysis['1'] - analysis['2'])/circuit.R1.resistance print('i1{}: {:5.3e} A'.format(str(i1), float(i1))) i2 = (analysis['2'])/circuit.R2.resistance print('i2{}: {:5.3e} A'.format(str(i2), float(i2))) i3 = (analysis['1'] - analysis['3'])/circuit.R3.resistance print('i3{}: {:5.3e} A'.format(str(i3), float(i3))) i4 = (analysis['4'] - analysis['3'])/circuit.R4.resistance print('i4{}: {:5.3e} A'.format(str(i4), float(i4)))
Solving Circuits With DC Ammeter
16:58
Electric Circuits
Рет қаралды 338
Solving Circuits Using Current Division
9:04
Electric Circuits
Рет қаралды 401
PRANK😂 rate Mark’s kick 1-10 🤕
00:14
Diana Belitskay
Рет қаралды 10 МЛН
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 3,7 МЛН
EEVblog 1622 - The BIG BEGINNER MISTAKE with Multimeters
12:25
Do Volts or Amps Kill You? Voltage, Current and Resistance
5:16
RimstarOrg
Рет қаралды 3,7 МЛН
Zener voltage regulator (fixed variables)
6:28
Stephen Mutale
Рет қаралды 725
How to Solve Any Series and Parallel Circuit Problem
14:06
Jesse Mason
Рет қаралды 4,8 МЛН
Solving Circuits Using Voltage Division
12:47
Electric Circuits
Рет қаралды 702
10 awesome application of capacitors in circuits
29:01
Electronic Wizard
Рет қаралды 412 М.
Circuit analysis - Solving current and voltage for every resistor
15:47
Circuit Analysis using Laplace Transform | Network Analysis
25:08
ALL ABOUT ELECTRONICS
Рет қаралды 38 М.
Interpret Voltage and Current and Power in an Ideal Basic Circuit Element
14:25
Flawless PCB design: RF rules of thumb - Part 1
15:45
Hans Rosenberg
Рет қаралды 88 М.
PRANK😂 rate Mark’s kick 1-10 🤕
00:14
Diana Belitskay
Рет қаралды 10 МЛН