Python: RC-Zeitkonstante mit UliEngineering berechnen

Du kannst leicht die RC-Zeitkonstante eines Widerstand-Kondensator-Netzwerks mit der UliEngineering-Python-Bibliothek berechnen:

rc_time_constant.py
from UliEngineering.Electronics.Capacitors import *
from UliEngineering.EngineerIO import *

# Zeitkonstante eines 10k-Widerstands und eines 100uF-Kondensators berechnen
tau = capacitor_rc_time_constant(
    capacitance="100uF", resistance="10kΩ"
)

# Ergebnis automatisch formatieren und ausgeben
print(f"Zeitkonstante: {format_value(tau, 's')}")

Beispielausgabe

rc_time_constant_output.txt
Zeitkonstante: 1000 ms

Check out similar posts by category: Python