← Documentation
ADS-IDAC Engine 5.0.0
SystemModule Class Reference

#include <SystemModule.h>

Public Member Functions

 SystemModule ()
 
virtual ~SystemModule ()
 
int readInfoFromFile ()
 
int setConnectionToRELAP5 ()
 
void updateParametersValues ()
 
void outputParametersLabelsToFile (std::ofstream &)
 
void outputParametersValuesToFile (std::ofstream &)
 
THElement * getComponentFromSystemMap (std::string)
 
void initiationForSimulation ()
 
void initiationForSimulationClient ()
 
void executeActionsToInteractWithSystem ()
 
void setUnits ()
 
void oneThroughProcess ()
 
void copySystemModule (SystemModule &)
 
void saveSystemModuleToFile (std::ofstream &)
 
void retrieveSystemModuleFromFile (std::ifstream &)
 
void clearSystemModiule ()
 

Public Attributes

std::vector< std::unique_ptr< ControlVariable > > control_variable_array
 
std::vector< std::unique_ptr< HeatStructure > > heat_structure_array
 
std::vector< std::unique_ptr< HydraulicJunction > > hydraulic_junction_array
 
std::vector< std::unique_ptr< HydraulicVolume > > hydraulic_volume_array
 
std::vector< std::unique_ptr< InteractiveVariable > > interactive_variable_array
 
std::vector< std::unique_ptr< LogicalTrip > > logical_trip_array
 
std::vector< std::unique_ptr< VariableTrip > > variable_trip_array
 
std::map< std::string, THElement * > system_map
 

Detailed Description

Definition at line 27 of file SystemModule.h.

Constructor & Destructor Documentation

◆ SystemModule()

SystemModule::SystemModule ( )

Definition at line 15 of file SystemModule.cpp.

◆ ~SystemModule()

SystemModule::~SystemModule ( )
virtual

Definition at line 20 of file SystemModule.cpp.

References clearSystemModiule().

Here is the call graph for this function:

Member Function Documentation

◆ clearSystemModiule()

void SystemModule::clearSystemModiule ( )

Definition at line 24 of file SystemModule.cpp.

References control_variable_array, heat_structure_array, hydraulic_junction_array, hydraulic_volume_array, interactive_variable_array, logical_trip_array, system_map, and variable_trip_array.

Referenced by ~SystemModule().

Here is the caller graph for this function:

◆ copySystemModule()

◆ executeActionsToInteractWithSystem()

void SystemModule::executeActionsToInteractWithSystem ( )

Definition at line 538 of file SystemModule.cpp.

References interactive_variable_array.

Referenced by oneThroughProcess(), and AdsidacCallback::onEvaluationPoint().

Here is the caller graph for this function:

◆ getComponentFromSystemMap()

THElement * SystemModule::getComponentFromSystemMap ( std::string  )

◆ initiationForSimulation()

void SystemModule::initiationForSimulation ( )

Definition at line 521 of file SystemModule.cpp.

References readInfoFromFile(), setConnectionToRELAP5(), and setUnits().

Referenced by Client::Client(), main(), and Server::Simulation().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initiationForSimulationClient()

void SystemModule::initiationForSimulationClient ( )

Definition at line 530 of file SystemModule.cpp.

References setConnectionToRELAP5(), and setUnits().

Here is the call graph for this function:

◆ oneThroughProcess()

void SystemModule::oneThroughProcess ( )

Definition at line 544 of file SystemModule.cpp.

References executeActionsToInteractWithSystem(), and updateParametersValues().

Here is the call graph for this function:

◆ outputParametersLabelsToFile()

void SystemModule::outputParametersLabelsToFile ( std::ofstream &  )

◆ outputParametersValuesToFile()

void SystemModule::outputParametersValuesToFile ( std::ofstream &  )

◆ readInfoFromFile()

int SystemModule::readInfoFromFile ( )

Definition at line 42 of file SystemModule.cpp.

References control_variable_array, g_sim, Scheduler::getSystemDirectory(), heat_structure_array, hydraulic_junction_array, hydraulic_volume_array, interactive_variable_array, logical_trip_array, r5pars_, SimulationContext::SScheduler, system_map, and variable_trip_array.

Referenced by initiationForSimulation().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ retrieveSystemModuleFromFile()

void SystemModule::retrieveSystemModuleFromFile ( std::ifstream &  )

Definition at line 586 of file SystemModule.cpp.

References SimulationContext::Branch_center, control_variable_array, g_sim, heat_structure_array, hydraulic_junction_array, hydraulic_volume_array, interactive_variable_array, logical_trip_array, NoKB, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), system_map, and variable_trip_array.

Here is the call graph for this function:

◆ saveSystemModuleToFile()

void SystemModule::saveSystemModuleToFile ( std::ofstream &  )

◆ setConnectionToRELAP5()

int SystemModule::setConnectionToRELAP5 ( )

Definition at line 138 of file SystemModule.cpp.

References control_variable_array, heat_structure_array, hydraulic_junction_array, hydraulic_volume_array, interactive_variable_array, logical_trip_array, n_mesh, r5pars_, and variable_trip_array.

Referenced by AdsidacCallback::initiationForRestart(), initiationForSimulation(), and initiationForSimulationClient().

Here is the caller graph for this function:

◆ setUnits()

void SystemModule::setUnits ( )

Definition at line 428 of file SystemModule.cpp.

References heat_structure_array, hydraulic_junction_array, hydraulic_volume_array, and r5pars_.

Referenced by initiationForSimulation(), and initiationForSimulationClient().

Here is the caller graph for this function:

◆ updateParametersValues()

void SystemModule::updateParametersValues ( )

Definition at line 241 of file SystemModule.cpp.

References control_variable_array, heat_structure_array, hydraulic_junction_array, hydraulic_volume_array, interactive_variable_array, logical_trip_array, r5pars_, and variable_trip_array.

Referenced by oneThroughProcess(), AdsidacCallback::onEvaluationPoint(), and AdsidacCallback::onScenarioStart().

Here is the caller graph for this function:

Member Data Documentation

◆ control_variable_array

◆ heat_structure_array

◆ hydraulic_junction_array

◆ hydraulic_volume_array

◆ interactive_variable_array

◆ logical_trip_array

◆ system_map

std::map<std::string, THElement *> SystemModule::system_map

◆ variable_trip_array


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