OpenTD.CoSolver.TDSF_CoSolver Class Reference
Last update: 16.07.2025Use a TDSF_CoSolver to start a Sinda run via a TD Case Set and communicate with it. Implements the OpenTD.CoSolver.CoSolver More...
Inheritance diagram for OpenTD.CoSolver.TDSF_CoSolver:

Classes | |
| class | Exception |
| Used internally. Implements System.Exception More... | |
Public Member Functions | |
| TDSF_CoSolver (string _ThermalDesktopDwgPath, string _caseSetName, string _caseSetGroupName="") | |
| TDSF_CoSolver (string _ThermalDesktopDwgPath, string _caseSetName, string _pipeID, string _caseSetGroupName="") | |
| void | runCaseSet () |
| override 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) |
Public Attributes | |
| ThermalDesktop | TD = null |
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
Use a TDSF_CoSolver to start a Sinda run via a TD Case Set and communicate with it. Implements the OpenTD.CoSolver.CoSolver
Constructor & Destructor Documentation
◆ TDSF_CoSolver() [1/2]
|
inline |
◆ TDSF_CoSolver() [2/2]
|
inline |
Member Function Documentation
◆ Abort()
|
inlineinherited |
◆ CloseSF_Pipe()
|
inlineprotectedinherited |
◆ Continue()
|
inlineinherited |
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()
|
inlineprotectedinherited |
◆ DoStep()
|
inlineinherited |
◆ GetCondSequenceNumber()
|
inlineinherited |
◆ GetLumpSequenceNumber()
|
inlineinherited |
◆ GetNodeSequenceNumber()
|
inlineinherited |
◆ GetPathSequenceNumber()
|
inlineinherited |
◆ GetRegisterExpression()
|
inlineinherited |
◆ GetRegisterValue()
|
inlineinherited |
◆ GetTieSequenceNumber()
|
inlineinherited |
◆ GetValue() [1/3]
|
inlineinherited |
◆ GetValue() [2/3]
|
inlineinherited |
◆ GetValue() [3/3]
|
inlineinherited |
◆ Initialize()
|
inlinevirtual |
Reimplemented from OpenTD.CoSolver.CoSolver.
◆ runCaseSet()
|
inline |
◆ Set_Q_UDFA()
|
inlineinherited |
◆ SetRegisterExpression()
|
inlineinherited |
◆ SetupExperiment()
|
inlineinherited |
◆ SetValue() [1/3]
|
inlineinherited |
◆ SetValue() [2/3]
|
inlineinherited |
◆ SetValue() [3/3]
|
inlineinherited |
Member Data Documentation
◆ pipeID
|
protectedinherited |
◆ sf_pipe
|
protectedinherited |
◆ TD
| ThermalDesktop OpenTD.CoSolver.TDSF_CoSolver.TD = null |
Property Documentation
◆ Converged
|
setinherited |
◆ CouplingTimeStep
|
setinherited |
◆ InitializeTimeoutMs
|
getsetinherited |
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/TDSF_CoSolver.cs