mbsimelectronics  4.0.0
MBSim Electronics Module
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
MBSimElectronics::ElectronicLink Class Reference
Inheritance diagram for MBSimElectronics::ElectronicLink:
[legend]

Public Member Functions

 ElectronicLink (const std::string &name)
 
Element * getParent () override
 
const Element * getParent () const override
 
void setParent (Element *parent_) override
 
void calcSize () override
 
void calcgSize (int j) override
 
void calcgdSize (int j) override
 
void calclaSize (int j) override
 
void updateg () override
 
void updategd () override
 
void updateW (int j=0) override
 
void updateh (int j=0) override
 
void plot () override
 
std::string getName () const override
 
void setName (std::string name) override
 
bool isActive () const override
 
bool gActiveChanged () override
 
bool isSingleValued () const override
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
void updatehRef (fmatvec::Vec &hParent, int j=0) override
 
void updaterRef (fmatvec::Vec &rParent, int j=0) override
 
virtual void updater ()
 
void updateWRef (fmatvec::Mat &ref, int j) override
 
void updateVRef (fmatvec::Mat &ref, int j) override
 
virtual void updatedhdqRef (fmatvec::Mat &ref, int i=0)
 
virtual void updatedhduRef (fmatvec::SqrMat &ref, int i=0)
 
virtual void updatedhdtRef (fmatvec::Vec &ref, int i=0)
 
void resetUpToDate () override
 
- Public Member Functions inherited from MBSimElectronics::ElectronicComponent
void addTerminal (Terminal *terminal)
 
void addTerminal (const std::string &str)
 
Terminal * getTerminal (const std::string &name, bool check=true)
 
void buildListOfTerminals (std::vector< Terminal * > &terminal)
 
void connect (Branch *branch_, double vz=0)
 
Branch * getBranch ()
 
void processModellList (std::vector< ModellingInterface * > &modellList, std::vector< MBSim::Object * > &objectList, std::vector< MBSim::Link * > &linkList) override
 
double getvz () const
 
virtual void updateCharge ()
 
virtual void updateCurrent ()
 
double evalCurrent ()
 
double evalCharge ()
 
- Public Member Functions inherited from MBSim::ModellingInterface
virtual void init (Element::InitStage stage, const InitConfigSet &config)=0
 
virtual void processModellList (std::vector< ModellingInterface * > &modellList, std::vector< MBSim::Object * > &objectList, std::vector< MBSim::Link * > &linkList)=0
 

Protected Attributes

fmatvec::Vec gdn
 
fmatvec::Vec gdd
 
- Protected Attributes inherited from MBSimElectronics::ElectronicComponent
std::vector< Terminal * > terminal
 
Branch * branch {nullptr}
 
double vz {0}
 
double Q {0}
 
double I {0}
 
bool updQ {true}
 
bool updI {true}
 

The documentation for this class was generated from the following files: