|
|||||||||||
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 |
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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |