lcapy.oneport
This module supports simple linear one-port networks based on the following ideal components:
These components are converted to s-domain models so capacitor and inductor components can be specified with initial voltage and currents, respectively, to model transient responses.
One-ports can either be connected in series (+) or parallel (|) to
create a new one-port.
Copyright 2014–2024 Michael Hayes, UCECE
Functions
|
Create a ladder oneport network with alternating series and shunt components. |
|
Create a parallel combination of a number of components. |
|
Create a series combination of a number of components. |
Classes
|
Defines a simple linear one-port capacitor. |
|
|
|
|
|
Constant phase element |
These components are controlled one-ports. |
|
|
Friction coeff val |
|
|
|
Ferrite bead (lossy inductor) |
|
Conductor |
|
Arbitrary current source |
|
AC current source. |
|
DC current source (note a DC current source of current i has an s domain current of i / s). |
|
Noise current source. |
|
Step current source (s domain current of i / s). |
|
Coupling coefficient |
|
Inductor |
|
Circuit comprised of a load oneport connected in parallel with a source oneport. |
|
Mass mval, initial velocity v0 |
|
Noiseless conductor |
|
Noiseless resistor |
|
Open circuit |
|
One-port network |
|
Port (open circuit) |
|
Defines a pair or more of one-port networks in parallel. |
|
Parallel/serial class |
|
Defines a simple linear one-port resistor |
|
Defines a pair or more of one-port networks in series. |
|
Spring constant kval, initial force f0 |
|
Arbitrary voltage source \(V\) |
|
|
|
|
|
AC voltage source. |
|
DC voltage source |
|
Noise voltage source. |
|
Step voltage source (s domain voltage of v / s). |
|
Wire (short) |
|
Crystal |
|
General admittance \(Y\) |
|
General impedance \(Z\) |
|
Arbitrary t-domain current source |
|
Arbitrary s-domain current source |
|
Arbitrary s-domain voltage source |
|
Arbitrary t-domain voltage source |