|
| ~SystemSC () |
|
oms_status_enu_t | exportToSSD_SimulationInformation (pugi::xml_node &node) const |
|
oms_status_enu_t | importFromSSD_SimulationInformation (const pugi::xml_node &node, const std::string &sspVersion) |
|
oms_status_enu_t | instantiate () |
|
oms_status_enu_t | initialize () |
|
oms_status_enu_t | terminate () |
|
oms_status_enu_t | reset () |
|
oms_status_enu_t | doStep () |
|
oms_status_enu_t | stepUntil (double stopTime) |
|
oms_status_enu_t | updateInputs (DirectedGraph &graph) |
|
std::string | getSolverName () const |
|
oms_status_enu_t | setSolverMethod (std::string) |
|
oms_status_enu_t | setSolver (oms_solver_enu_t solver) |
|
virtual | ~System () |
|
virtual oms_status_enu_t | registerSignalsForResultFile (ResultWriter &resultFile) |
|
virtual oms_status_enu_t | updateSignals (ResultWriter &resultFile) |
|
const ComRef & | getCref () const |
|
ComRef | getFullCref () const |
|
System * | getSystem (const ComRef &cref) |
|
Component * | getComponent (const ComRef &cref) |
|
Variable * | getVariable (const ComRef &cref) |
|
Element * | getElement () |
|
oms_status_enu_t | listUnconnectedConnectors (char **contents) const |
|
oms_system_enu_t | getType () const |
|
oms_status_enu_t | addSubSystem (const ComRef &cref, oms_system_enu_t type) |
|
oms_status_enu_t | addSubModel (const ComRef &cref, const std::string &fmuPath) |
|
oms_status_enu_t | replaceSubModel (const ComRef &cref, const std::string &fmuPath, bool dryRun, int &warningCount) |
|
bool | isValidScalarVariable (Component *referenceComponent, Component *replacingComponent, Connection *connection, const ComRef &crefA, const ComRef &crefB, const ComRef &signalName, const std::string &path, std::vector< std::string > &warningList) |
|
bool | validCref (const ComRef &cref) |
|
oms_status_enu_t | exportToSSD (pugi::xml_node &node, Snapshot &snapshot, std::string variantName) const |
|
oms_status_enu_t | exportToSSV (Snapshot &snapshot) const |
|
oms_status_enu_t | importFromSnapshot (const pugi::xml_node &node, const std::string &sspVersion, const Snapshot &snapshot, std::string variantName) |
|
void | setGeometry (const ssd::ElementGeometry &geometry) |
|
oms_status_enu_t | addConnector (const ComRef &cref, oms_causality_enu_t causality, oms_signal_type_enu_t type) |
|
Connector * | getConnector (const ComRef &cref) |
|
std::string | getConnectorOwner (const ComRef &cref) const |
|
Connector ** | getConnectors () |
|
BusConnector * | getBusConnector (const ComRef &cref) |
|
oms_status_enu_t | addTLMConnection (const ComRef &crefA, const ComRef &crefB, double delay, double alpha, double linearimpedance, double angularimpedance) |
|
oms_status_enu_t | setTLMConnectionParameters (const ComRef &crefA, const ComRef &crefB, const oms_tlm_connection_parameters_t *parameters) |
|
oms_status_enu_t | addTLMBus (const ComRef &cref, oms_tlm_domain_t domain, const int dimensions, const oms_tlm_interpolation_t interpolation) |
|
oms_status_enu_t | addConnectorToTLMBus (const ComRef &busCref, const ComRef &connectorCref, const std::string type) |
|
oms_status_enu_t | deleteConnectorFromTLMBus (const ComRef &busCref, const ComRef &connectorCref) |
|
oms_status_enu_t | setTLMBusGeometry (const ComRef &cref, const oms::ssd::ConnectorGeometry *geometry) |
|
TLMBusConnector * | getTLMBusConnector (const ComRef &cref) |
|
TLMBusConnector ** | getTLMBusConnectors () |
|
Connection * | getConnection (const ComRef &crefA, const ComRef &crefB) |
|
Connection ** | getConnections (const ComRef &cref) |
|
oms_status_enu_t | addConnection (const ComRef &crefA, const ComRef &crefB, bool suppressUnitConversion=false) |
|
oms_status_enu_t | deleteConnection (const ComRef &crefA, const ComRef &crefB) |
|
oms_status_enu_t | setConnectorGeometry (const ComRef &cref, const oms::ssd::ConnectorGeometry *geometry) |
|
oms_status_enu_t | setConnectionGeometry (const ComRef &crefA, const ComRef &crefB, const oms::ssd::ConnectionGeometry *geometry) |
|
oms_status_enu_t | addBus (const ComRef &cref) |
|
oms_status_enu_t | newResources (const ComRef &cref, const std::string &ssvFilename, const std::string &ssmFilename="", bool externalresources=false) |
|
oms_status_enu_t | addConnectorToBus (const ComRef &busCref, const ComRef &connectorCref) |
|
oms_status_enu_t | deleteConnectorFromBus (const ComRef &busCref, const ComRef &connectorCref) |
|
oms_status_enu_t | setBusGeometry (const ComRef &cref, const oms::ssd::ConnectorGeometry *geometry) |
|
oms_status_enu_t | addExternalModel (const ComRef &cref, std::string path, std::string startscript) |
|
oms_status_enu_t | delete_ (const ComRef &cref) |
|
oms_status_enu_t | deleteAllConectionsTo (const ComRef &cref) |
|
oms_status_enu_t | deleteReferencesInSSD (const ComRef &cref, const std::string &filename) |
|
oms_status_enu_t | deleteResourcesInSSP (const std::string &filename) |
|
bool | isConnected (const ComRef &cref) const |
|
Model & | getModel () |
|
System * | getParentSystem () const |
|
bool | copyResources () |
|
void | getAllResources (std::vector< std::string > &resources) const |
|
std::map< ComRef, System * > & | getSubSystems () |
|
std::map< ComRef, Component * > & | getComponents () |
|
std::vector< Connection * > & | getConnections () |
|
oms_status_enu_t | updateDependencyGraphs () |
|
const DirectedGraph & | getInitialUnknownsGraph () |
|
const DirectedGraph & | getOutputsGraph () |
|
oms_status_enu_t | exportDependencyGraphs (const std::string &pathInitialization, const std::string &pathEvent, const std::string &pathSimulation) |
|
oms_status_enu_t | setFaultInjection (const ComRef &signal, oms_fault_type_enu_t faultType, double faultValue) |
|
double | getTime () const |
|
oms_status_enu_t | getBoolean (const ComRef &cref, bool &value) |
|
oms_status_enu_t | getInteger (const ComRef &cref, int &value) |
|
oms_status_enu_t | getReal (const ComRef &cref, double &value) |
|
oms_status_enu_t | getString (const ComRef &cref, std::string &value) |
|
oms_status_enu_t | setBoolean (const ComRef &cref, bool value) |
|
oms_status_enu_t | setInteger (const ComRef &cref, int value) |
|
oms_status_enu_t | setReal (const ComRef &cref, double value) |
|
oms_status_enu_t | setString (const ComRef &cref, const std::string &value) |
|
oms_status_enu_t | setUnit (const ComRef &cref, const std::string &value) |
|
oms_status_enu_t | getReals (const std::vector< ComRef > &crefs, std::vector< double > &values) |
|
oms_status_enu_t | setReals (const std::vector< ComRef > &crefs, std::vector< double > values) |
|
oms_status_enu_t | setRealInputDerivatives (const ComRef &cref, int order, double value) |
|
oms_status_enu_t | getDirectionalDerivative (const ComRef &unknownCref, const ComRef &knownCref, double &value) |
|
oms_status_enu_t | getState (const ComRef &cref) |
|
oms_status_enu_t | setState (const ComRef &cref) |
|
oms_status_enu_t | freeState (const ComRef &cref) |
|
oms_status_enu_t | rename (const ComRef &newCref) |
| rename the system itself More...
|
|
oms_status_enu_t | rename (const ComRef &cref, const ComRef &newCref) |
| rename any component within the system More...
|
|
oms_status_enu_t | renameConnections (const ComRef &cref, const ComRef &newCref) |
|
oms_status_enu_t | renameConnectors () |
|
bool | isTopLevelSystem () const |
|
oms_status_enu_t | addSignalsToResults (const char *regex) |
|
oms_status_enu_t | removeSignalsFromResults (const char *regex) |
|
void | getTolerance (double *absoluteTolerance, double *relativeTolerance) const |
|
void | getStepSize (double *initialStepSize, double *minimumStepSize, double *maximumStepSize) const |
|
oms_status_enu_t | setTolerance (double absoluteTolerance, double relativeTolerance) |
|
oms_status_enu_t | setFixedStepSize (double stepSize) |
|
oms_status_enu_t | setVariableStepSize (double initialStepSize, double minimumStepSize, double maximumStepSize) |
|
double | getMaximumStepSize () |
|
oms_solver_enu_t | getSolver () |
|
AlgLoop * | getAlgLoop (const int systemNumber) |
|
oms_status_enu_t | addAlgLoop (scc_t SCC, const int algLoopNum, DirectedGraph &graph, bool supportsDirectionalDerivatives) |
|
oms_status_enu_t | updateAlgebraicLoops (const std::vector< scc_t > &sortedConnections, DirectedGraph &graph) |
|
oms_status_enu_t | solveAlgLoop (DirectedGraph &graph, int loopNumber) |
|
bool | useThreadPool () |
|
ctpl::thread_pool & | getThreadPool () |
|
std::string | getUniqueID () const |
|
void | forceLoopsToBeUpdated () |
|
void | getFilteredSignals (std::vector< Connector > &filteredSignals) const |
|
bool | supportsDirectionalDerivatives (int i, DirectedGraph &graph) |
| returns true if all FMUs support providesDirectionalDerivative More...
|
|
Values & | getValues () |
|