|
ADS-IDAC Engine 5.0.0
|
#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 |
Definition at line 27 of file SystemModule.h.
| SystemModule::SystemModule | ( | ) |
Definition at line 15 of file SystemModule.cpp.
|
virtual |
Definition at line 20 of file SystemModule.cpp.
References 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().
| void SystemModule::copySystemModule | ( | SystemModule & | _sm | ) |
Definition at line 683 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.
| void SystemModule::executeActionsToInteractWithSystem | ( | ) |
Definition at line 538 of file SystemModule.cpp.
References interactive_variable_array.
Referenced by oneThroughProcess(), and AdsidacCallback::onEvaluationPoint().
| THElement * SystemModule::getComponentFromSystemMap | ( | std::string | ) |
Definition at line 501 of file SystemModule.cpp.
References AdsSimErr, SimulationContext::Branch_center, g_sim, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and system_map.
Referenced by SystemDisplay::getCorrespondingHeatStructureValue(), SystemDisplay::getCorrespondingSystemParameterValue(), SystemControl::initiateControlValue(), ControlState::initiateDisplayedControlState(), ControlValue::performControl(), ControlState::performDisplayedControlState(), ControlState::performValueControl(), SystemDisplay::setCorrespondingSystemParameterUnit(), ControlState::updateDisplayedControlState(), and ControlValue::updateDisplayedControlValue().
| void SystemModule::initiationForSimulation | ( | ) |
Definition at line 521 of file SystemModule.cpp.
References readInfoFromFile(), setConnectionToRELAP5(), and setUnits().
Referenced by Client::Client(), main(), and Server::Simulation().
| void SystemModule::initiationForSimulationClient | ( | ) |
Definition at line 530 of file SystemModule.cpp.
References setConnectionToRELAP5(), and setUnits().
| void SystemModule::oneThroughProcess | ( | ) |
Definition at line 544 of file SystemModule.cpp.
References executeActionsToInteractWithSystem(), and updateParametersValues().
| void SystemModule::outputParametersLabelsToFile | ( | std::ofstream & | ) |
Definition at line 306 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.
| void SystemModule::outputParametersValuesToFile | ( | std::ofstream & | ) |
Definition at line 451 of file SystemModule.cpp.
References control_variable_array, heat_structure_array, hydraulic_junction_array, hydraulic_volume_array, interactive_variable_array, logical_trip_array, and variable_trip_array.
| 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().
| 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.
| void SystemModule::saveSystemModuleToFile | ( | std::ofstream & | ) |
Definition at line 548 of file SystemModule.cpp.
References control_variable_array, heat_structure_array, hydraulic_junction_array, hydraulic_volume_array, interactive_variable_array, logical_trip_array, and variable_trip_array.
| 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().
| 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().
| 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().
| std::vector<std::unique_ptr<ControlVariable> > SystemModule::control_variable_array |
Definition at line 48 of file SystemModule.h.
Referenced by clearSystemModiule(), copySystemModule(), outputParametersLabelsToFile(), outputParametersValuesToFile(), readInfoFromFile(), retrieveSystemModuleFromFile(), saveSystemModuleToFile(), setConnectionToRELAP5(), and updateParametersValues().
| std::vector<std::unique_ptr<HeatStructure> > SystemModule::heat_structure_array |
Definition at line 49 of file SystemModule.h.
Referenced by clearSystemModiule(), copySystemModule(), outputParametersLabelsToFile(), outputParametersValuesToFile(), readInfoFromFile(), retrieveSystemModuleFromFile(), saveSystemModuleToFile(), setConnectionToRELAP5(), setUnits(), and updateParametersValues().
| std::vector<std::unique_ptr<HydraulicJunction> > SystemModule::hydraulic_junction_array |
Definition at line 50 of file SystemModule.h.
Referenced by clearSystemModiule(), copySystemModule(), outputParametersLabelsToFile(), outputParametersValuesToFile(), readInfoFromFile(), retrieveSystemModuleFromFile(), saveSystemModuleToFile(), setConnectionToRELAP5(), setUnits(), and updateParametersValues().
| std::vector<std::unique_ptr<HydraulicVolume> > SystemModule::hydraulic_volume_array |
Definition at line 51 of file SystemModule.h.
Referenced by clearSystemModiule(), copySystemModule(), outputParametersLabelsToFile(), outputParametersValuesToFile(), readInfoFromFile(), retrieveSystemModuleFromFile(), saveSystemModuleToFile(), setConnectionToRELAP5(), setUnits(), and updateParametersValues().
| std::vector<std::unique_ptr<InteractiveVariable> > SystemModule::interactive_variable_array |
Definition at line 52 of file SystemModule.h.
Referenced by clearSystemModiule(), copySystemModule(), executeActionsToInteractWithSystem(), outputParametersLabelsToFile(), outputParametersValuesToFile(), readInfoFromFile(), retrieveSystemModuleFromFile(), saveSystemModuleToFile(), setConnectionToRELAP5(), and updateParametersValues().
| std::vector<std::unique_ptr<LogicalTrip> > SystemModule::logical_trip_array |
Definition at line 53 of file SystemModule.h.
Referenced by clearSystemModiule(), copySystemModule(), outputParametersLabelsToFile(), outputParametersValuesToFile(), readInfoFromFile(), retrieveSystemModuleFromFile(), saveSystemModuleToFile(), setConnectionToRELAP5(), and updateParametersValues().
| std::map<std::string, THElement *> SystemModule::system_map |
Definition at line 55 of file SystemModule.h.
Referenced by clearSystemModiule(), copySystemModule(), getComponentFromSystemMap(), readInfoFromFile(), and retrieveSystemModuleFromFile().
| std::vector<std::unique_ptr<VariableTrip> > SystemModule::variable_trip_array |
Definition at line 54 of file SystemModule.h.
Referenced by clearSystemModiule(), copySystemModule(), outputParametersLabelsToFile(), outputParametersValuesToFile(), readInfoFromFile(), retrieveSystemModuleFromFile(), saveSystemModuleToFile(), setConnectionToRELAP5(), and updateParametersValues().