OGS
|
Trampoline class allowing methods of class PythonBoundaryConditionPythonSideInterface to be overridden on the Python side. Cf. https://pybind11.readthedocs.io/en/stable/advanced/classes.html
Definition at line 22 of file BHEInflowPythonBoundaryConditionModule.cpp.
Public Member Functions | |
std::tuple< double, std::vector< double >, std::vector< double >, std::vector< int >, std::vector< double > > | initializeDataContainer () const override |
std::tuple< bool, bool, std::vector< double >, std::vector< double > > | tespySolver (double t, std::vector< double > const &Tin_val, std::vector< double > const &Tout_val) const override |
std::tuple< std::vector< double >, std::vector< double > > | serverCommunication (double const t, double const dt, std::vector< double > const &Tin_val, std::vector< double > const &Tout_val, std::vector< double > const &flowrate) const override |
Public Member Functions inherited from ProcessLib::BHEInflowPythonBoundaryConditionPythonSideInterface | |
bool | isOverriddenEssential () const |
bool | isOverriddenTespy () const |
bool | isOverriddenServerCommunication () const |
virtual | ~BHEInflowPythonBoundaryConditionPythonSideInterface ()=default |
Additional Inherited Members | |
Public Attributes inherited from ProcessLib::BHEInflowPythonBoundaryConditionPythonSideInterface | |
std::tuple< double, std::vector< double >, std::vector< double >, std::vector< int >, std::vector< double > > | dataframe_network |
|
inlineoverridevirtual |
Initialize network dataframe return a tuple (time, BHE inflow temperature, BHE outflow temperature, BHE outflow bc node id, BHE flowrate) set at that position and the parameters of the BHE network.
Reimplemented from ProcessLib::BHEInflowPythonBoundaryConditionPythonSideInterface.
Definition at line 31 of file BHEInflowPythonBoundaryConditionModule.cpp.
|
inlineoverridevirtual |
transfer BHE network dataframe to python script where function serverCommunication takes t, dt, Tin_val, Tout_val, BHE_flowrate as arguments and returns updated Tin_val and flowrate after each time step specific use case: interface between OGS and SimulationX via TCP/IP where OGS is connected as one client
Reimplemented from ProcessLib::BHEInflowPythonBoundaryConditionPythonSideInterface.
Definition at line 52 of file BHEInflowPythonBoundaryConditionModule.cpp.
|
inlineoverridevirtual |
transfer BHE network dataframe to TESPy and get Tin and flow rate from TESPy
Reimplemented from ProcessLib::BHEInflowPythonBoundaryConditionPythonSideInterface.
Definition at line 41 of file BHEInflowPythonBoundaryConditionModule.cpp.