|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Circ.Circ.Circ
spis.Circ.Circ.RCCabsCirc
Class Name : RCCabsCirc (generic spacecraft Circuit class)
Project ref : SPIS project
File name : Circ.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : 25/08/2003
Modification :
Description : spacecraft Circuit class described by:
- a network of resistors and capacitors (RC) between SC surfaces (nodes)
- an absolute spacecraft capacitance (Cabs) explicitly defined by the user
The matrix indices for the RC network are the node indices of the circuit
(same as for a circuit field).
In principle the connected nodes (grounded or connected conductors)
should not be described as connected with zero resistance (or infinite capacitance),
but handled as one single circuit node (and several SurfMesh nodes) through
the mesh/circuit mapping services provided by the spacecraft class.
In this specialisation, state variables are potential and charge, but more
of them may be needed in some cases, as e.g. when involving inductance
(intensity, or d(charge)/dt), which may be implemented in other specialisations
of the generic Circ class or in classes derived from this one.
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Field Summary | |
private CircField |
bias
Potential sources between a node and the node it is connected to by a source potential source potential which is maintained in the reduced matrices |
private Matrix |
capa
capacitances of capacitor network |
private Matrix |
conduct
conductances of resistor network |
private int |
nodeNb
Electrical node number |
private CircField |
pot
potential at circuit nodes |
private Matrix |
projMatrix
Projection matrix |
private Matrix |
projMatrixTransp
Transposed Projection matrix |
private Matrix |
redCapa
capacitances of reduced capacitor network |
private CircField |
redCharge
charge at reduced circuit nodes |
private Matrix |
redMatrix
Reduction matrix (nodes connected by a potential sources are merged) |
private Matrix |
redMatrixTransp
Transposed reduction matrix |
private int |
redNodeNb
Reduced electrical node number |
private CircField |
redPot
potential at reduced circuit nodes |
private CircField |
tmpN
temporary cricuit fields (on non-reduced node set) stored to avoid heavy memory allocations/deallocations |
private CircField |
tmpR
temporary circuit field (on reduced node set) stored to avoid heavy memory allocations/deallocations |
Constructor Summary | |
RCCabsCirc(Matrix conductM,
Matrix capaM,
int nodeN)
Default constructor |
|
RCCabsCirc(Matrix conductM,
Matrix capaM,
int nodeN,
java.util.Vector potentialSources)
Constructor with electric components to be inserted between electric super nodes |
Method Summary | |
Matrix |
getC()
gets the capacitance matrix (a pointer to) |
Matrix |
getG()
gets the resistance matrix (a pointer to) |
int |
getNodeNb()
Provides the potential on the circuit nodes |
CircField |
getPot()
Returns the potential on the circuit nodes (pointer). |
void |
integrate(float dt,
CircField intensity)
performs one step of time integration over time dt, based on the net current collection intensity. |
void |
setC(Matrix C)
sets the capacitance matrix (through a pointer, no copy) |
void |
setG(Matrix G)
sets the resistance matrix (through a pointer, no copy) |
void |
setPot(CircField potential)
sets the potential to the provided values, and also initialises what can be deduced form the potential: charges and reduced versions of potentials and charges (one reduced value per group of nodes connected by a potential source, internal data to the class). |
void |
setPot(CircField potential,
java.util.Vector potSources)
sets the potential to the provided values, and also initialises what can be deduced form the potential: charges and reduced versions of potentials and charges (one reduced value per group of nodes connected by a potential source, internal data to the class). |
void |
setPotSources(java.util.Vector potSources,
int potSourceNb)
Defines potential sources: potential deltaV[i] is set between electrical node elec1[i] and elec2[i], for i = 0 to sourceNb-1 (arrays may be larger, not smaller!). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int nodeNb
private Matrix conduct
private Matrix capa
private Matrix redCapa
private Matrix redMatrix
private Matrix redMatrixTransp
private Matrix projMatrix
private Matrix projMatrixTransp
private int redNodeNb
private CircField bias
private CircField pot
private CircField redPot
private CircField redCharge
private CircField tmpR
private CircField tmpN
Constructor Detail |
public RCCabsCirc(Matrix conductM, Matrix capaM, int nodeN)
conductM
- conductance matrixcapaM
- capacitance matrixnodeN
- electric node number (should be the size of the square matrices)public RCCabsCirc(Matrix conductM, Matrix capaM, int nodeN, java.util.Vector potentialSources)
conductM
- conductance matrixcapaM
- capacitance matrixnodeN
- electric node number (should be the size of the square matrices)potentialSources
- electric components between super nodesMethod Detail |
public void setPotSources(java.util.Vector potSources, int potSourceNb)
public void integrate(float dt, CircField intensity)
integrate
in class Circ
public void setPot(CircField potential)
public void setPot(CircField potential, java.util.Vector potSources)
public Matrix getG()
public void setG(Matrix G)
public Matrix getC()
public void setC(Matrix C)
public CircField getPot()
getPot
in class Circ
public int getNodeNb()
Circ
getNodeNb
in class Circ
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |