JUK1
|
A vectorfitting based model of an s-parameter block. More...
#include <SParameterBlockVF.hpp>
Public Member Functions | |
std::complex< T > | history_p (const size_t p, const Matrix< T > &solutionMatrix, const size_t currentSolutionIndex, T timestep, const size_t sizeG_A) const |
T | V_p (const size_t p, const Matrix< T > &solutionMatrix, const size_t currentSolutionIndex, T timestep, const size_t sizeG_A) const |
T | awave_p (const size_t p, const Matrix< T > &solutionMatrix, const size_t currentSolutionIndex, const size_t sizeG_A) const |
T | bwave_p (const size_t p, const Matrix< T > &solutionMatrix, const size_t currentSolutionIndex, const size_t sizeG_A) const |
void | addStaticStampTo (Stamp< T > &stamp) const |
Adds this component's static stamp to the target stamp. More... | |
void | addDynamicStampTo (Stamp< T > &stamp, const Matrix< T > &solutionMatrix, const size_t currentSolutionIndex, T simulationTimestep) const |
Adds this component's dynamic stamp to the target stamp. More... | |
void | updateStoredState (const Matrix< T > &solutionMatrix, const size_t currentSolutionIndex, T timestep, size_t sizeG_A) |
Updates any stored state based on the current solution index. More... | |
void | setConstants (T timestep) |
void | setFirstOrder (T timestep) |
void | setSecondOrder (T timestep) |
void | setTimestep (T timestep) |
initialises the component More... | |
void | readInPRR (std::string filePath, size_t numPorts) |
void | addDCAnalysisStampTo (Stamp< T > &stamp, const Matrix< T > &solutionVector, size_t numCurrents) const |
adds this component's DC stamp to the target stamp. More... | |
![]() | |
virtual void | addNonLinearStampTo (Stamp< T > &destination, const Matrix< T > &solutionMatrix, const size_t currentSolutionIndex, T timestep=0) const |
adds this component's non-linear stamp to the target stamp. More... | |
virtual void | updateDCStoredState (const Matrix< T > &solutionVector, size_t sizeG_A, size_t numCurrents) |
a function to update the stored state of a component based on a DC value More... | |
virtual | ~Component () |
Static Public Member Functions | |
static void | addToElements (const std::string &line, CircuitElements< T > &elements, size_t &numNodes, size_t &numCurrents, size_t &numDCCurrents) |
![]() | |
static void | addToElements (const std::string &line, CircuitElements< T > &elements, size_t &numNodes, size_t &numCurrents, size_t &numDCCurrents) |
Called as a helper to add the component to the elements class. More... | |
Public Attributes | |
std::vector< SParameterPortVF< T > > | port |
size_t | numPorts = 0 |
bool | firstOrder = true |
T | z_ref = 0 |
![]() | |
std::string | designator = "" |
The designator as in the netlist for e.g. More... | |
A vectorfitting based model of an s-parameter block.
T |
Definition at line 78 of file SParameterBlockVF.hpp.
|
inlinevirtual |
adds this component's DC stamp to the target stamp.
destination | The stamp to be added to. |
solutionMatrix | A vector containing all past solutions to the circuit |
numCurrents | The number of currents used by the transient simulation |
Reimplemented from Component< T >.
Definition at line 445 of file SParameterBlockVF.hpp.
|
inlinevirtual |
Adds this component's dynamic stamp to the target stamp.
destination | The stamp to be added to. |
solutionMatrix | A vector containing all past solutions to the circuit |
currentSolutionIndex | The current timeStep index |
timestep | The length of each time step |
Reimplemented from Component< T >.
Definition at line 192 of file SParameterBlockVF.hpp.
|
inlinevirtual |
Adds this component's static stamp to the target stamp.
destination | The stamp to be added to. |
Reimplemented from Component< T >.
Definition at line 153 of file SParameterBlockVF.hpp.
|
inlinestatic |
Definition at line 502 of file SParameterBlockVF.hpp.
|
inline |
|
inline |
Definition at line 133 of file SParameterBlockVF.hpp.
|
inline |
Definition at line 85 of file SParameterBlockVF.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 256 of file SParameterBlockVF.hpp.
|
inline |
Definition at line 285 of file SParameterBlockVF.hpp.
|
inlinevirtual |
initialises the component
timestep | The length of each time step |
Reimplemented from Component< T >.
Definition at line 319 of file SParameterBlockVF.hpp.
|
inlinevirtual |
Updates any stored state based on the current solution index.
solutionMatrix | A vector containing all past solutions to the circuit |
currentSolutionIndex | The current timeStep index |
timestep | The length of each time step |
sizeG_A | the size of the A portion of G, marks the end of the equiv currents |
Reimplemented from Component< T >.
Definition at line 204 of file SParameterBlockVF.hpp.
|
inline |
Definition at line 106 of file SParameterBlockVF.hpp.
bool SParameterBlockVF< T >::firstOrder = true |
Definition at line 81 of file SParameterBlockVF.hpp.
size_t SParameterBlockVF< T >::numPorts = 0 |
Definition at line 80 of file SParameterBlockVF.hpp.
std::vector<SParameterPortVF<T> > SParameterBlockVF< T >::port |
Definition at line 79 of file SParameterBlockVF.hpp.
T SParameterBlockVF< T >::z_ref = 0 |
Definition at line 83 of file SParameterBlockVF.hpp.