Reference page for Circuit
Contents
- Summary
- this = Circuit(arguments) Constructor.
- Circuit/this.compute_conductor_areas(arguments) is a function.
- get_loop_matrix EW resistance matrix.
- Circuit/this.get_cc_blocks(arguments) is a function.
- this.get_loop_matrix(arguments) Loop matrix associated with the circuit.
- this.get_matrices(arguments) Get circuit matrices for a particular problem
- this.get_ndof(arguments) Number of dofs associated with the circuit, for the given
- this.init(arguments) Initialize matrices etc. for circuit.
- this.init_for_simulation(arguments) Init Circuit for simulation.
- set_load1 Set load vector.
- this.set_source(arguments) Set circuit source.
Summary
Circuit Simple base class for circuits modelled with the AVI formulation. Documentation for Circuit doc Circuit
PROPERTIES
- Circuit/f is a property.
METHODS
Class methods are listed below. Inherited methods are not included.
this = Circuit(arguments) Constructor.
Circuit/this.compute_conductor_areas(arguments) is a function.
compute_conductor_areas(this)
get_loop_matrix EW resistance matrix.
Circuit/this.get_cc_blocks(arguments) is a function.
[Scc, Mcc] = get_cc_blocks(this, problem, type)
this.get_loop_matrix(arguments) Loop matrix associated with the circuit.
this.get_matrices(arguments) Get circuit matrices for a particular problem
this.get_ndof(arguments) Number of dofs associated with the circuit, for the given
problem and type.
Nui = get_ndof(this, problem, type, pars), where
- problem = MagneticsProblem or similar
- type = string, usually "static" / "harmonic" / "stepping" Help for Circuit/*get_ndof* is inherited from superclass CIRCUITBASE
this.init(arguments) Initialize matrices etc. for circuit.
init(this, problem) ties this to the given MagneticsProblem and *init*ializes the problem matrices and arrays in this.matrices:
- inds_solid : which of the Conductors in this are solid
- inds_stranded : likewise for stranded
- R : per-conductor resistances, active length
- R_EW : per-conductor resistances, end-winding length
- area : conductor areas
- sigma : conductor conductivities. Assumed uniform.
- M : mass/damping matrix
- C_Ai : current source matrix
- C_Au : voltage source matrix
- C_uu : voltage-voltage coupling matrix
- L : circuit loop matrix
this.init_for_simulation(arguments) Init Circuit for simulation.
init_for_simulation(this, problem, type, pars) Help for Circuit/*init_for_simulation* is inherited from superclass CIRCUITBASE
set_load1 Set load vector.
Has no effect.
this.set_source(arguments) Set circuit source.
set_source(this, varargin{:})
Has no effect. Must be subclassed.