OpenTD.CoSolver.CoSolver Class Reference
Last update: 16.07.2025Base class for communicating with a Sinda run via an SF_Pipe. More...
Inheritance diagram for OpenTD.CoSolver.CoSolver:

Public Member Functions | |
| virtual void | Initialize () |
| void | SetupExperiment () |
| void | Abort () |
| int | DoStep () |
| int | Continue () |
| Tells Sinda to proceed to the next step of the simulation. Return values: -1 - Sinda disconnected or error 0 - Sinda initial connection after call to OPENSF 99 - Sinda termination. | |
| string | GetRegisterExpression (string name) |
| double | GetRegisterValue (string name) |
| void | SetRegisterExpression (string name, double value) |
| double | GetValue (string submodel, int Id, string type) |
| double | GetValue (int SequenceNumber, string type) |
| double | GetValue (string name) |
| Int64 | GetNodeSequenceNumber (string submodel, int Id) |
| Int64 | GetPathSequenceNumber (string submodel, int Id) |
| Int64 | GetCondSequenceNumber (string submodel, int Id) |
| Int64 | GetTieSequenceNumber (string submodel, int Id) |
| Int64 | GetLumpSequenceNumber (string submodel, int Id) |
| void | Set_Q_UDFA (string name, int SequenceNumber, double value) |
| void | SetValue (string submodel, int Id, string type, double value) |
| void | SetValue (int SequenceNumber, string type, double value) |
| void | SetValue (string name, double value) |
Protected Member Functions | |
| void | CreateSF_Pipe () |
| void | CloseSF_Pipe () |
Protected Attributes | |
| string | pipeID |
| SF_Pipe | sf_pipe = null |
Properties | |
| int | InitializeTimeoutMs = 60000 [get, set] |
| Determines how long in milliseconds that Initialize() will try to connect to the Sinda run. | |
| double | CouplingTimeStep [set] |
| bool | Converged [set] |
Detailed Description
Base class for communicating with a Sinda run via an SF_Pipe.
Member Function Documentation
◆ Abort()
|
inline |
◆ CloseSF_Pipe()
|
inlineprotected |
◆ Continue()
|
inline |
Tells Sinda to proceed to the next step of the simulation. Return values: -1 - Sinda disconnected or error 0 - Sinda initial connection after call to OPENSF 99 - Sinda termination.
11 - beginning of STEADY 12 - end of STEADY
1 - beginning of TRANSIENT 2 - at end of TRANSIENT time step 3 - at end of TRANSIENT
◆ CreateSF_Pipe()
|
inlineprotected |
◆ DoStep()
|
inline |
◆ GetCondSequenceNumber()
|
inline |
◆ GetLumpSequenceNumber()
|
inline |
◆ GetNodeSequenceNumber()
|
inline |
◆ GetPathSequenceNumber()
|
inline |
◆ GetRegisterExpression()
|
inline |
◆ GetRegisterValue()
|
inline |
◆ GetTieSequenceNumber()
|
inline |
◆ GetValue() [1/3]
|
inline |
◆ GetValue() [2/3]
|
inline |
◆ GetValue() [3/3]
|
inline |
◆ Initialize()
|
inlinevirtual |
Reimplemented in OpenTD.CoSolver.SF_CoSolver, and OpenTD.CoSolver.TDSF_CoSolver.
◆ Set_Q_UDFA()
|
inline |
◆ SetRegisterExpression()
|
inline |
◆ SetupExperiment()
|
inline |
◆ SetValue() [1/3]
|
inline |
◆ SetValue() [2/3]
|
inline |
◆ SetValue() [3/3]
|
inline |
Member Data Documentation
◆ pipeID
|
protected |
◆ sf_pipe
|
protected |
Property Documentation
◆ Converged
|
set |
◆ CouplingTimeStep
|
set |
◆ InitializeTimeoutMs
|
getset |
Determines how long in milliseconds that Initialize() will try to connect to the Sinda run.
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD.CoSolver/CoSolver.cs