|
ADS-IDAC Engine 5.0.0
|
#include <SimulationContext.h>
Public Attributes | |
| SimConfig | config |
| SystemModule | Plant |
| Maps RELAP5 card numbers to C++ objects. More... | |
| Scheduler | SScheduler |
| Simulation scheduling, parses CLI options. More... | |
| ControlPanel | Indicator |
| Control room panel state. More... | |
| InitiatingEventController | IE |
| Initiating event definition. More... | |
| CommunicationPlace | Communication_place |
| Inter-module communication. More... | |
| BranchRecord | Branch_center |
| Dynamic event tree state. More... | |
| OperatorDM | Decision_Maker |
| Crew decision-making model. More... | |
| OperatorAT | Action_Taker |
| Crew action execution model. More... | |
| CommandControlCenter | Command_handler |
| Command/control dispatch. More... | |
| AnalysisInfoContainer | Aux_info |
| Analysis records. More... | |
| Procedures | All_procedure |
| Emergency operating procedures. More... | |
| CalculationAid | All_polynomial |
| Polynomial calculations. More... | |
| ConvertToString | Translator |
| Parameter name/value conversion. More... | |
| HWReliabilityModule | System_reliability |
| Hardware fault trees. More... | |
| SupportSystemReliabilityModule | Support_system_reliability |
| Support system reliability. More... | |
| KeyParameterHistory | KPS |
| Time-series parameter recording. More... | |
| std::deque< std::shared_ptr< RestartNodeInfo > > | restart_info |
| Restart checkpoints for FIFO. More... | |
| std::map< int, std::vector< char > > | restart_buffers |
| seq_id -> RELAP5 restart buffer More... | |
| std::map< int, int > | cid_to_source_sequence |
| Maps cluster ID to source sequence. More... | |
| bool | branches_generated_this_sequence = false |
| True if branches generated this seq. More... | |
| bool | fresh_restart = false |
| One-shot flag for restart init. More... | |
| bool | expected_abort = false |
| Sequence ended abnormally. More... | |
| int | id_epoch_base = 0 |
| Branch-ID epoch for resumed MPI runs; 0 = fresh run. More... | |
| std::map< int, std::pair< size_t, size_t > > | pe_file_state |
| PE id -> (size, hash) last written by this process; an unchanged node is not rewritten. More... | |
| uint64_t | config_fingerprint = 0 |
| FNV-1a of immutable config inputs (see ConfigFingerprint.h); 0 = not computed. More... | |
| std::vector< std::pair< double, int > > | current_seq_events |
| (branching_time, num_branches) pairs More... | |
| int | seq_restart_cid = 0 |
| CID of restart-origin cluster. More... | |
| int | seq_restart_branch_num = 0 |
| Branch index within that cluster. More... | |
All mutable simulation state in one place.
A single global instance g_sim is defined in SimulationContext.cpp. One instance per process (each MPI rank has its own); access is not synchronized.
Definition at line 36 of file SimulationContext.h.
| OperatorAT SimulationContext::Action_Taker |
Crew action execution model.
Definition at line 47 of file SimulationContext.h.
Referenced by SentenceUnit::ActivationPropagationFromConceptBottomUp(), KeyParameterHistoryUnit::addDataSet(), KBConcept::AddDataSetOfTheConceptBase(), MRAlarmUnit::AddNewAlarmState(), MRAlarmUnit::AddNewAlarmStateForFirstRoundCheck(), MRComponentStateUnit::AddNewPositionValue(), MRComponentStateUnit::AddNewPositionValueForFirstRoundCheck(), MRParameterUnit::AddNewRate(), MRParameterUnit::AddNewRateForFirstRoundCheck(), MRComponentStateUnit::AddNewState(), MRSupportSystemStateUnit::AddNewState(), MRComponentStateUnit::AddNewStateForFirstRoundCheck(), MRSupportSystemStateUnit::AddNewStateForFirstRoundCheck(), MRParameterUnit::AddNewValue(), MRParameterUnit::AddNewValueForFirstRoundCheck(), Investigator::AddTimeConsumptionInInvestigator(), InvestigatorLink::AddTimeConsumptionInInvestigatorLink(), Investigator::BackwardPropagateConfidenceLevel(), InvestigatorLink::BackwardPropagateConfidenceLevel(), KBConcept::BuidConnectionsWithinKBConcept(), ReasonMachine::BuildTheConnectionsWithinRM(), ProcedureStepUnit::calculateDynamicHEPMultiplier(), DiagnoseInvestigator::CalculateTheConfidenceLeveloftheDiagnoseInvestigator(), SentenceUnit::ChangActivationOfConceptByID(), InvestigatorLink::CheckThePathStatus3102(), Investigator::ChoseADownstreamInvestigatorLinkToFeedback3008(), Client::Client(), Investigator::CloseThisInvestigator(), Investigator::CompareKEandStatement3007(), ReasonMachine::CopyReasonMachineFromAnotherRM(), Investigator::CrankTheActivationToOne(), InvestigatorLink::CrankTheNextLikelyRetrievedInvestigatorActivationToOne(), Investigator::EvaluateAfterGetNewFeedback3014(), ProcedureStep::executeInstinctiveResponseProcedureTransfer(), InvestigatorLink::FeedBackToDownstreamInvestigator310331043105(), EventSchemaBase::FindACorrespondingEventSchemaUnitByKE(), Investigator::FindAMatchingStatement3002(), MRComponentStateUnit::FindAPositionReadingConsistantWithASentenceWithinTimeRange(), MRComponentStateUnit::FindAPositionReadingInconsitantWithASentenceWithinTimeRange(), MRParameterUnit::FindAReadingConsistantWithASentenceWithinTimeRange(), MRParameterUnit::FindAReadingInconsistantWithASentenceWithinTimeRange(), Investigator::FinishThePausedConfidencePropagationBeforeCloseInvestigation(), InvestigatorLink::FinishThePausedConfidencePropagationBeforeCloseInvestigatorLink(), MentalRepresentation::FirstRoundCheckOftheMR(), EventSchemaBase::GenerateANewInvestigatorOrNot(), Investigator::GetCorrespondingKE3001(), polynomial::GetCurveValue(), RoutineMonitor::GetTheLongestIntervalRatio(), Investigator::InitiateBackwardPropagationOfConfidence(), AdsidacCallback::initiationForRestart(), ReasonMachine::InitiationOfReasonMachineFromInputFile(), DiagnoseInvestigator::InitiationOfthisDiagnoseInvestigator(), SymptomInvestigator::InitiationOfthisSymptomInvestigator(), main(), Investigator::MarkMHappenIncompleteTrue(), Investigator::OneStepWorkOnThisInvestigator(), InvestigatorLink::OneStepWorkOnThisInvestigatorLink(), OperatorDM::oneThroughProcessForBlockD(), ProcedureStep::oneThroughProcessForInstinctiveResponseProcedure(), ProcedureStep::oneThroughProcessForProcedureStep(), AdsidacCallback::onEvaluationPoint(), AdsidacCallback::onFirstInit(), KeyParameterHistoryUnit::outputDiagnosisLabelToFile(), KeyParameterHistoryUnit::outputDiagnosisUnitToFile(), KeyParameterHistoryUnit::outputLabelToFile(), KeyParameterHistoryUnit::outputPIFLabelToFile(), KeyParameterHistoryUnit::outputPIFUnitToFile(), KeyParameterHistoryUnit::outputUnitToFile(), MRAlarmUnit::ReadAlarmIndication(), MRComponentStateUnit::ReadComponentStateIndication(), DiagnoseInvestigator::ReadCurrentProcedureStepInformation(), EventSchemaBase::ReadEventSchemaBaseFromInputFile(), InstantiationBase::ReadInstantiationBaseFromInputFile(), KnowledgeUnit::ReadKnowledgeUnitFromInputFile(), MentalRepresentation::ReadMentalRepresentationtInfoFromInputFile(), MRParameterUnit::ReadParameterIndication(), MRParameterUnit::ReadParameterRate(), MRParameterUnit::ReadParameterValue(), RoutineMonitorUnit::ReadRoutineMonitorUnitInfoFromInputFile(), MRSupportSystemStateUnit::ReadSupportSystemStateIndication(), KnowledgeElement::ReadThisKEFromFile(), KnowledgeNode::ReadThisKNinfoFromFile(), Statement::RefreshStatementEndTimeToCurrentTime(), Investigator::ReopenThisInvestigator(), Investigator::RequestInfoFromControlPanelInititaion3005(), Investigator::RequestInfoFromControlPanelReading3006(), InvestigatorLink::ResetTheLastActivationTimeOfTheNextToBeRetrievedInvestigator(), InvestigatorLink::RetrieveTheNextLikelyInvestigator3101(), Investigator::RetrieveTheNextLikelyInvestigatorLink3013(), KBConcept::SaveConceptActivationIntoOutputFile(), RestartNodeInfo::saveRestartNodeInfo(), Investigator::SearchForPossibleCauses3012(), BranchProbability::sendBranchInfoToCommandCenter(), Server::Simulation(), SymptomInvestigator::TrackOneInvestigationCase(), InvestigatorLink::TransferOutOfThisInvestigatorLink3110(), DiagnoseInvestigator::TriggerBranchingWhenClaimADiagnose(), DiagnoseInvestigator::UpdateForOtherEvidenceNotListedInEventSchema(), MentalRepresentation::UpdateMRwithNewInference(), MRComponentStateUnit::UpdateTheRelevantInvestigator(), MRParameterUnit::UpdateTheRelevantInvestigator(), MRSupportSystemStateUnit::UpdateTheRelevantInvestigator(), Investigator::WhetherContinueInvestigationAfterFoundExplanation(), Investigator::WhetherGetInfoFromControlPaneltoVerifyKE3004(), Investigator::WhetherItIsAvailablefromMR3003(), Investigator::WhetherToCloseThisInvestigator3009(), and RoutineMonitor::WorkOnASelectedUnit12().
| CalculationAid SimulationContext::All_polynomial |
Polynomial calculations.
Definition at line 51 of file SimulationContext.h.
Referenced by KBExpectedParameterValueUnit::checkForMatch(), AdsidacCallback::initiationForRestart(), AdsidacCallback::onFirstInit(), and RestartNodeInfo::saveRestartNodeInfo().
| Procedures SimulationContext::All_procedure |
Emergency operating procedures.
Definition at line 50 of file SimulationContext.h.
Referenced by DiagnoseInvestigator::BuildConnectionsForThisDiagnoseInvestigator(), EventSchemaUnit::BuildConnectionsForThisESU(), ProcedureStep::calculateProcedureStepStaticHEPMultiplier(), Operator::checkAndResetProcedureStep(), Client::Client(), ProcedureStepUnit::executeAction(), ProcedureStep::executeInstinctiveResponseProcedureTransfer(), ProcedureStepUnit::executeNonResponseAction(), OperatorAT::infoChunking(), OperatorDM::infoChunking(), AdsidacCallback::initiationForRestart(), Operator::interruptAllMentalProcedures(), Operator::interruptLowPriorityMentalProcedures(), main(), ProcedureStep::oneThroughProcessForProcedureStep(), AdsidacCallback::onFirstInit(), Operator::performAMentalProcedure(), OperatorDM::performFollowProcedureStrategy(), OperatorDM::performRecoveryAction(), DiagnoseInvestigator::ReadCurrentProcedureStepInformation(), EventSchemaBase::ReadEventSchemaBaseFromInputFile(), RestartNodeInfo::saveRestartNodeInfo(), and Server::Simulation().
| AnalysisInfoContainer SimulationContext::Aux_info |
Analysis records.
Definition at line 49 of file SimulationContext.h.
Referenced by Scheduler::checkForTerminatingCurrentSequence(), ProcedureStepUnit::executeAction(), ProcedureStepUnit::executeNonResponseAction(), extract_sequence_outputs(), OperatorDM::infoChunking(), AdsidacCallback::initiationForRestart(), main(), DiagnosisActionModule::onceThroughProcessForReasoningStrategy(), ProcedureStep::oneThroughProcessForInstinctiveResponseProcedure(), ProcedureStep::oneThroughProcessForProcedureStep(), AdsidacCallback::onEvaluationPoint(), Client::parallel_restartforanewsequence_(), AdsidacCallback::restartForNewSequence(), save_sequence_outputs(), RestartNodeInfo::saveRestartNodeInfo(), OperatorAT::scanControlPanel(), OperatorDM::scanControlPanel(), CommandControlCenter::sendInfoToCommunicationPlace(), and DiagnosisActionUnit::setPtrToHighPriorityAction().
| BranchRecord SimulationContext::Branch_center |
Dynamic event tree state.
Definition at line 45 of file SimulationContext.h.
Referenced by ShortTermMemory::activatePausedInfoChunck(), Operator::ActiveFetchAlarmStateInfo(), Operator::ActiveFetchComponentStateInfo(), Operator::ActiveFetchParameterValueInfo(), Operator::ActiveFetchSupportSystemStateInfo(), ExpectationORUnit::assessExpectation(), build_serial_checkpoint(), DiagnoseInvestigator::CalculateTheConfidenceLeveloftheDiagnoseInvestigator(), Operator::checkAndActivateHWKB(), HWReliabilityModule::checkAndActiveComponentFailure(), SupportSystemReliabilityModule::checkAndActiveSupportSystemFailure(), InitiatingEventController::checkAndExecuteInitiatingEvent(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedAction(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedAlarm(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedComponentState(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedParameterTrend(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedParameterValue(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedSupportSystemState(), Operator::checkCompletenessOfSystemDecomposition(), KBExpectedParameterValueUnit::checkForMatch(), ControlPanel::checkForNewAlarms(), DiagnoseInvestigator::CheckforPotentialProcedureBranching(), Scheduler::checkForTerminatingCurrentSequence(), ProcedureStepUnit::checkForTypeOfExpectation(), DiagnosisComponentActionUnit::checkForTypeOfPrerequisite(), InfoChunk::checkWhetherExpectedParameterValueMatchObservation(), Client::Client(), compute_ancestry_path(), ExpectationORUnit::copyExpectationORUnit(), InfoChunk::doneWithCurrentDiagnosisAndGoForPreviouslyPausedOne(), InfoChunk::doneWithCurrentGoalAndGoForPreviouslyPausedOne(), InfoChunk::doneWithCurrentStrategyAndGoForPreviouslyPausedOne(), InfoChunk::doneWithCurrentSubGoalAndGoForPreviouslyPausedOne(), ProcedureStepUnit::executeAction(), ProcedureStep::executeInstinctiveResponseProcedureTransfer(), ManeuverActionUnit::executeManeuverControl(), ProcedureStepUnit::executeNonResponseAction(), ControlPanel::executeRequestToPlant(), ControlPanelControl::executeStateControl(), ControlPanelControl::executeValueControl(), extract_sequence_outputs(), MentalRepresentation::FirstRoundCheckOftheMR(), InfoChunk::generateErrorMessage(), Operator::generateInfoGatherModeBranch(), ControlPanelAlarm::getAlarmFromMap(), SystemModule::getComponentFromSystemMap(), ControlPanelControl::getControlFromMap(), SystemDisplay::getCorrespondingHeatStructureValue(), SystemDisplay::getCorrespondingSystemParameterValue(), ControlPanelDisplay::getDisplayFromMap(), HWReliabilityModule::getHWReliabilityFTUnit(), KB::getProcedureNameOfHWDiagnosis(), KB::getStepNameOfHWDiagnosis(), OperatorAT::infoChunking(), OperatorDM::infoChunking(), ControlPanelAlarm::initiateAllAlarms(), SystemControl::initiateControlValue(), ControlState::initiateDisplayedControlState(), AdsidacCallback::initiationForRestart(), Operator::initiationForSimulation(), log_seq_fingerprint_mpi(), main(), AdsidacCallback::onBranchingPoint(), DiagnosisActionModule::onceThroughProcessForReasoningStrategy(), OperatorDM::oneThroughProcessForBlockD(), OperatorAT::oneThroughProcessForBlockI(), OperatorDM::oneThroughProcessForBlockI(), ProcedureStep::oneThroughProcessForInstinctiveResponseProcedure(), ProcedureStep::oneThroughProcessForProcedureStep(), AdsidacCallback::onEvaluationPoint(), KeyParameterHistory::outputHistoryToFile(), Client::parallel_restartforanewsequence_(), Operator::performAMentalProcedure(), ControlValue::performControl(), ControlState::performDisplayedControlState(), OperatorAT::performFollowInstructionStrategy(), OperatorDM::performFollowProcedureStrategy(), OperatorDM::performRecoveryAction(), ControlState::performValueControl(), InfoChunk::pointToAvtiveGoalAndStrategy(), DiagnosisComponentActionUnit::readDiagnosisComponentPrerequisiteFromFile(), KB::readHardWiredDiagnosis(), KB::readIndicatorBiasFactors(), ControlPanel::readInfoFromFile(), ManeuverAction::readInfoFromFile(), AlarmComponent::readInfoFromFile(), AlarmParameter::readInfoFromFile(), ControlPanelDisplay::readInfoFromFile(), ControlState::readInfoFromFile(), DisplayComponentState::readInfoFromFile(), InitiatingEventUnit::readInfoFromFile(), EventSymptomMatrix::readInfoFromFile(), SPDS::readInfoFromFile(), ProcedureStep::readInfoFromFile(), ProcedureStepUnit::readInfofromFileExpectation(), ProcedureStepUnit::readInfoFromFileNonResponseExit(), AnalysisInfoContainerUnit::readStatementFromFile(), KB::readSystemDecompositionKB(), HWReliabilityModule::readSystemOperationReliabilityInfoFromFile(), HWReliabilityModule::readSystemReliabilityFTInfoFromFile(), HWReliabilityModule::readSystemReliabilityInfoFromFile(), InfoChunk::replaceObjecByPointerForGroupedInfoAction(), InfoChunk::replaceObjecByPointerForGroupedInfoActionObjective(), InfoChunk::replaceObjecByPointerForGroupedInfoActionPack(), InfoChunk::replaceObjecByPointerForGroupedInfoAlarm(), InfoChunk::replaceObjecByPointerForGroupedInfoComponentState(), InfoChunk::replaceObjecByPointerForGroupedInfoDiagnosis(), InfoChunk::replaceObjecByPointerForGroupedInfoGoal(), InfoChunk::replaceObjecByPointerForGroupedInfoInstinctiveResponseProcedure(), InfoChunk::replaceObjecByPointerForGroupedInfoMentalBelief(), InfoChunk::replaceObjecByPointerForGroupedInfoParameterTrend(), InfoChunk::replaceObjecByPointerForGroupedInfoParameterValue(), InfoChunk::replaceObjecByPointerForGroupedInfoProcedureStep(), InfoChunk::replaceObjecByPointerForGroupedInfoStrategy(), InfoChunk::replaceObjecByPointerForGroupedInfoSubGoal(), InfoChunk::replaceObjecByPointerForGroupedInfoSupportSystemState(), Investigator::RequestInfoFromControlPanelReading3006(), AdsidacCallback::restartForNewSequence(), AnalysisInfoContainer::retrieveAnalysisInfoContainerFromFile(), BranchRecord::retrieveBranchRecordFromFile(), CommandControlCenter::retrieveCommandControlCenterFromFile(), ControlPanelDisplay::retrieveControlPanelDisplayFromFile(), ControlPanel::retrieveControlPanelFromFile(), EventSymptomMatrix::retrieveEventSymptomMatrixFromFile(), ExpectationORUnit::retrieveExpectationORUnitFromFile(), HardWiredControlActivity::retrieveHardWiredControlActivityFromFile(), HardWiredMentalBelief::retrieveHardWiredMentalBeliefFromFile(), HardWiredProcedureActivity::retrieveHardWiredProcedureActivityFromFile(), HWReliabilityModule::retrieveHWReliabilityModuleFromFile(), InfoChunkMental::retrieveInfoChunkMentalFromFile(), InitiatingEventController::retrieveInitiatingEventControllerFromFile(), KBExpectedAlarmStateUnit::retrieveKBExpectedAlarmStateUnitFromFile(), KBExpectedComponentStateUnit::retrieveKBExpectedComponentStateUnitFromFile(), KBExpectedParameterTrendUnit::retrieveKBExpectedParameterTrendUnitFromFile(), KBExpectedParameterValueUnit::retrieveKBExpectedParameterValueUnitFromFile(), KBExpectedSupportSystemStateUnit::retrieveKBExpectedSupportSystemStateUnitFromFile(), KB::retrieveKBFromFile(), KBHardWiredUnit::retrieveKBHardWiredUnitFromFile(), KBScannedParameters::retrieveKBSCannedParameterFromFile(), KeyParameterHistory::retrieveKeyParameterHistoryFromFile(), ManeuverAction::retrieveManeuverActionFromFile(), OperatorAT::retrieveOperatorATFromFile(), OperatorDM::retrieveOperatorDMFromFile(), Operator::retrieveOperatorFromFile(), Procedures::retrieveProceduresFromFile(), ProcedureStepUnit::retrieveProcedureStepUnitActionFromFile(), ProcedureStepUnit::retrieveProcedureStepUnitMentalProcedureFromFile(), ProcedureStepUnit::retrieveProcedureStepUnitNonResponseActionFromFile(), ProcedureStepUnit::retrieveProcedureStepUnitScannedParameterFromFile(), BranchRecord::retrieveRecentBranchClusterFromFile(), Scheduler::retrieveSchedulerFromFile(), ShortTermMemory::retrieveShortTermMemoryFromFile(), SupportSystemReliabilityModule::retrieveSupportSystemModuleFromFile(), SystemModule::retrieveSystemModuleFromFile(), save_sequence_outputs(), ExpectationORUnit::saveExpectationORUnitToFile(), BranchEndState::saveInfoToFile(), AnalysisInfoContainer::saveInfoToFile(), ProcedureStepUnit::saveProcedureStepUnitNonResponseActionToFile(), RestartNodeInfo::saveRestartNodeInfo(), ReasonMachine::SaveSequenceInfoToFile(), OperatorAT::selectGoal(), OperatorCT::selectGoal(), OperatorDM::selectGoal(), OperatorAT::selectStrategy(), OperatorDM::selectStrategy(), BranchRecord::sendCurrentBranchCommandToCommandCenter(), BranchRecord::sendSpecifiedBranchCommandToCommandCenter(), SystemDisplay::setCorrespondingSystemParameterUnit(), DiagnosisActionUnit::setPtrToHighPriorityAction(), DiagnoseInvestigator::TriggerBranchingWhenClaimADiagnose(), AlarmComponent::updateDisplayedAlarmState(), AlarmParameter::updateDisplayedAlarmState(), AlarmTwoParameterDifference::updateDisplayedAlarmState(), DisplayComponentState::updateDisplayedComponentOperationalState(), ControlState::updateDisplayedControlState(), ControlValue::updateDisplayedControlValue(), EventSymptomMatrix::updateRationalSymptomConfidence(), and RoutineMonitor::WorkOnASelectedUnit12().
| bool SimulationContext::branches_generated_this_sequence = false |
True if branches generated this seq.
Definition at line 64 of file SimulationContext.h.
Referenced by main(), and AdsidacCallback::onEvaluationPoint().
| std::map<int, int> SimulationContext::cid_to_source_sequence |
Maps cluster ID to source sequence.
Definition at line 63 of file SimulationContext.h.
Referenced by build_serial_checkpoint(), AdsidacCallback::initiationForRestart(), main(), AdsidacCallback::onEvaluationPoint(), and AdsidacCallback::restartForNewSequence().
| CommandControlCenter SimulationContext::Command_handler |
Command/control dispatch.
Definition at line 48 of file SimulationContext.h.
Referenced by Scheduler::checkForTerminatingCurrentSequence(), OperatorDM::infoChunking(), AdsidacCallback::initiationForRestart(), main(), DiagnosisActionModule::onceThroughProcessForReasoningStrategy(), ProcedureStep::oneThroughProcessForInstinctiveResponseProcedure(), ProcedureStep::oneThroughProcessForProcedureStep(), AdsidacCallback::onEvaluationPoint(), RestartNodeInfo::saveRestartNodeInfo(), BranchProbability::sendBranchInfoToCommandCenter(), and DiagnosisActionUnit::setPtrToHighPriorityAction().
| CommunicationPlace SimulationContext::Communication_place |
Inter-module communication.
Definition at line 44 of file SimulationContext.h.
Referenced by Operator::checkAndExecuteManeuverAction(), ControlPanel::executeRequestToPlant(), OperatorAT::identifyRelevantInformation(), OperatorDM::identifyRelevantInformation(), AdsidacCallback::initiationForRestart(), main(), AdsidacCallback::onEvaluationPoint(), OperatorAT::scanControlPanel(), OperatorDM::scanControlPanel(), and CommandControlCenter::sendInfoToCommunicationPlace().
| SimConfig SimulationContext::config |
Definition at line 37 of file SimulationContext.h.
Referenced by BranchRecord::addAnEndState(), Client::Client(), Operator::copyOperatorFromRestartInfo(), Operator::copyOperatorFromRestartInfoMultiProcessor(), Operator::copyOperatorToRestartInfo(), Server::dispatch_resume_tasks(), BranchRecord::endSimulation(), Client::execute_relap(), extract_sequence_outputs(), OperatorDM::infoChunking(), Scheduler::initiationForSimulation(), main(), Server::merge_outputs(), AdsidacCallback::onBranchingPoint(), Scheduler::parseOptions(), restart_path(), Client::restore_relap_state(), run_merge_only(), should_use_memory_restart(), Server::Simulation(), viz_outputs_any(), Client::Work(), and Server::write_checkpoint().
| uint64_t SimulationContext::config_fingerprint = 0 |
FNV-1a of immutable config inputs (see ConfigFingerprint.h); 0 = not computed.
Definition at line 69 of file SimulationContext.h.
Referenced by build_serial_checkpoint(), Server::dispatch_resume_tasks(), Scheduler::initiationForSimulation(), main(), and Server::write_checkpoint().
| std::vector<std::pair<double,int> > SimulationContext::current_seq_events |
(branching_time, num_branches) pairs
Definition at line 72 of file SimulationContext.h.
Referenced by BranchRecord::checkAndAddBranchCluster(), log_seq_fingerprint(), log_seq_fingerprint_mpi(), AdsidacCallback::onEvaluationPoint(), and Client::Work().
| OperatorDM SimulationContext::Decision_Maker |
Crew decision-making model.
Definition at line 46 of file SimulationContext.h.
Referenced by SentenceUnit::ActivationPropagationFromConceptBottomUp(), KeyParameterHistoryUnit::addDataSet(), KBConcept::AddDataSetOfTheConceptBase(), MRAlarmUnit::AddNewAlarmState(), MRAlarmUnit::AddNewAlarmStateForFirstRoundCheck(), MRComponentStateUnit::AddNewPositionValue(), MRComponentStateUnit::AddNewPositionValueForFirstRoundCheck(), MRParameterUnit::AddNewRate(), MRParameterUnit::AddNewRateForFirstRoundCheck(), MRComponentStateUnit::AddNewState(), MRSupportSystemStateUnit::AddNewState(), MRComponentStateUnit::AddNewStateForFirstRoundCheck(), MRSupportSystemStateUnit::AddNewStateForFirstRoundCheck(), MRParameterUnit::AddNewValue(), MRParameterUnit::AddNewValueForFirstRoundCheck(), Investigator::AddTimeConsumptionInInvestigator(), InvestigatorLink::AddTimeConsumptionInInvestigatorLink(), Investigator::BackwardPropagateConfidenceLevel(), InvestigatorLink::BackwardPropagateConfidenceLevel(), KBConcept::BuidConnectionsWithinKBConcept(), ReasonMachine::BuildTheConnectionsWithinRM(), ProcedureStepUnit::calculateDynamicHEPMultiplier(), DiagnoseInvestigator::CalculateTheConfidenceLeveloftheDiagnoseInvestigator(), SentenceUnit::ChangActivationOfConceptByID(), DiagnoseInvestigator::CheckforPotentialProcedureBranching(), InvestigatorLink::CheckThePathStatus3102(), Investigator::ChoseADownstreamInvestigatorLinkToFeedback3008(), Client::Client(), Investigator::CloseThisInvestigator(), Investigator::CompareKEandStatement3007(), ReasonMachine::CopyReasonMachineFromAnotherRM(), Investigator::CrankTheActivationToOne(), InvestigatorLink::CrankTheNextLikelyRetrievedInvestigatorActivationToOne(), Investigator::EvaluateAfterGetNewFeedback3014(), ProcedureStepUnit::executeAction(), ProcedureStep::executeInstinctiveResponseProcedureTransfer(), ProcedureStepUnit::executeNonResponseAction(), InvestigatorLink::FeedBackToDownstreamInvestigator310331043105(), EventSchemaBase::FindACorrespondingEventSchemaUnitByKE(), Investigator::FindAMatchingStatement3002(), MRComponentStateUnit::FindAPositionReadingConsistantWithASentenceWithinTimeRange(), MRComponentStateUnit::FindAPositionReadingInconsitantWithASentenceWithinTimeRange(), MRParameterUnit::FindAReadingConsistantWithASentenceWithinTimeRange(), MRParameterUnit::FindAReadingInconsistantWithASentenceWithinTimeRange(), Investigator::FinishThePausedConfidencePropagationBeforeCloseInvestigation(), InvestigatorLink::FinishThePausedConfidencePropagationBeforeCloseInvestigatorLink(), MentalRepresentation::FirstRoundCheckOftheMR(), EventSchemaBase::GenerateANewInvestigatorOrNot(), Investigator::GetCorrespondingKE3001(), polynomial::GetCurveValue(), RoutineMonitor::GetTheLongestIntervalRatio(), Investigator::InitiateBackwardPropagationOfConfidence(), AdsidacCallback::initiationForRestart(), ReasonMachine::InitiationOfReasonMachineFromInputFile(), DiagnoseInvestigator::InitiationOfthisDiagnoseInvestigator(), SymptomInvestigator::InitiationOfthisSymptomInvestigator(), main(), Investigator::MarkMHappenIncompleteTrue(), Investigator::OneStepWorkOnThisInvestigator(), InvestigatorLink::OneStepWorkOnThisInvestigatorLink(), OperatorAT::oneThroughProcessForBlockD(), ProcedureStep::oneThroughProcessForInstinctiveResponseProcedure(), ProcedureStep::oneThroughProcessForProcedureStep(), AdsidacCallback::onEvaluationPoint(), AdsidacCallback::onFirstInit(), KeyParameterHistoryUnit::outputDiagnosisLabelToFile(), KeyParameterHistoryUnit::outputDiagnosisUnitToFile(), KeyParameterHistoryUnit::outputLabelToFile(), KeyParameterHistoryUnit::outputPIFLabelToFile(), KeyParameterHistoryUnit::outputPIFUnitToFile(), KeyParameterHistoryUnit::outputUnitToFile(), MRAlarmUnit::ReadAlarmIndication(), MRComponentStateUnit::ReadComponentStateIndication(), DiagnoseInvestigator::ReadCurrentProcedureStepInformation(), EventSchemaBase::ReadEventSchemaBaseFromInputFile(), InstantiationBase::ReadInstantiationBaseFromInputFile(), KnowledgeUnit::ReadKnowledgeUnitFromInputFile(), MentalRepresentation::ReadMentalRepresentationtInfoFromInputFile(), MRParameterUnit::ReadParameterIndication(), MRParameterUnit::ReadParameterRate(), MRParameterUnit::ReadParameterValue(), RoutineMonitorUnit::ReadRoutineMonitorUnitInfoFromInputFile(), MRSupportSystemStateUnit::ReadSupportSystemStateIndication(), KnowledgeElement::ReadThisKEFromFile(), KnowledgeNode::ReadThisKNinfoFromFile(), Statement::RefreshStatementEndTimeToCurrentTime(), Investigator::ReopenThisInvestigator(), Investigator::RequestInfoFromControlPanelInititaion3005(), Investigator::RequestInfoFromControlPanelReading3006(), InvestigatorLink::ResetTheLastActivationTimeOfTheNextToBeRetrievedInvestigator(), InvestigatorLink::RetrieveTheNextLikelyInvestigator3101(), Investigator::RetrieveTheNextLikelyInvestigatorLink3013(), KBConcept::SaveConceptActivationIntoOutputFile(), RestartNodeInfo::saveRestartNodeInfo(), Investigator::SearchForPossibleCauses3012(), OperatorAT::selectGoal(), OperatorAT::selectStrategy(), BranchProbability::sendBranchInfoToCommandCenter(), Server::Simulation(), DiagnoseInvestigator::TerminateTheCurrentProcedureStep(), SymptomInvestigator::TrackOneInvestigationCase(), InvestigatorLink::TransferOutOfThisInvestigatorLink3110(), DiagnoseInvestigator::TriggerBranchingWhenClaimADiagnose(), DiagnoseInvestigator::UpdateForOtherEvidenceNotListedInEventSchema(), MentalRepresentation::UpdateMRwithNewInference(), MRComponentStateUnit::UpdateTheRelevantInvestigator(), MRParameterUnit::UpdateTheRelevantInvestigator(), MRSupportSystemStateUnit::UpdateTheRelevantInvestigator(), Investigator::WhetherContinueInvestigationAfterFoundExplanation(), Investigator::WhetherGetInfoFromControlPaneltoVerifyKE3004(), Investigator::WhetherItIsAvailablefromMR3003(), Investigator::WhetherToCloseThisInvestigator3009(), and RoutineMonitor::WorkOnASelectedUnit12().
| bool SimulationContext::expected_abort = false |
Sequence ended abnormally.
Definition at line 66 of file SimulationContext.h.
Referenced by Scheduler::checkForTerminatingCurrentSequence(), main(), and AdsidacCallback::onEvaluationPoint().
| bool SimulationContext::fresh_restart = false |
One-shot flag for restart init.
Definition at line 65 of file SimulationContext.h.
Referenced by main(), AdsidacCallback::onEvaluationPoint(), Client::parallel_restartforanewsequence_(), and AdsidacCallback::restartForNewSequence().
| int SimulationContext::id_epoch_base = 0 |
Branch-ID epoch for resumed MPI runs; 0 = fresh run.
Definition at line 67 of file SimulationContext.h.
Referenced by AdsidacCallback::onEvaluationPoint(), Client::parallel_restartforanewsequence_(), and Client::Work().
| InitiatingEventController SimulationContext::IE |
Initiating event definition.
Definition at line 43 of file SimulationContext.h.
Referenced by AdsidacCallback::initiationForRestart(), AdsidacCallback::onEvaluationPoint(), AdsidacCallback::onFirstInit(), and RestartNodeInfo::saveRestartNodeInfo().
| ControlPanel SimulationContext::Indicator |
Control room panel state.
Definition at line 42 of file SimulationContext.h.
Referenced by KeyParameterHistoryUnit::addDataSet(), HWReliabilityFTUnit::checkAndActivateComponentFailure(), HWReliabilityUnit::checkAndActivateComponentFailure(), SupportSystemReliabilityUnit::checkAndActivateSupportSystemFailure(), Operator::checkCompletenessOfSystemDecomposition(), ProcedureStepUnit::checkForTypeOfExpectation(), DiagnosisComponentActionUnit::checkForTypeOfPrerequisite(), ProcedureStepUnit::checkIfIsChangeSystemAction(), Client::Client(), ProcedureStepUnit::executeAction(), ManeuverActionUnit::executeManeuverControl(), ProcedureStepUnit::executeNonResponseAction(), ReasonMachine::GetAComponentStateImediately(), ReasonMachine::GetAlarmStateImediately(), ReasonMachine::GetAParameterValueImediately(), ReasonMachine::GetASupportSystemStateImediately(), AdsidacCallback::initiationForRestart(), main(), DiagnosisActionModule::onceThroughProcessForReasoningStrategy(), AdsidacCallback::onEvaluationPoint(), AdsidacCallback::onFirstInit(), AdsidacCallback::onScenarioStart(), KeyParameterHistoryUnit::outputLabelToFile(), KeyParameterHistoryUnit::outputUnitToFile(), SupportSystemReliabilityModule::readInfoFromFile(), InitiatingEventUnit::readInfoFromFile(), HWReliabilityModule::readSystemOperationReliabilityInfoFromFile(), HWReliabilityModule::readSystemReliabilityFTInfoFromFile(), HWReliabilityModule::readSystemReliabilityInfoFromFile(), RestartNodeInfo::saveRestartNodeInfo(), DiagnosisActionUnit::setPtrToHighPriorityAction(), Server::Simulation(), BranchAction::translateMessage(), and TimeConstrainedUnit::updateRawData().
| KeyParameterHistory SimulationContext::KPS |
Time-series parameter recording.
Definition at line 55 of file SimulationContext.h.
Referenced by AdsidacCallback::initiationForRestart(), main(), AdsidacCallback::onEvaluationPoint(), AdsidacCallback::onFirstInit(), Client::parallel_restartforanewsequence_(), AdsidacCallback::restartForNewSequence(), save_sequence_outputs(), and RestartNodeInfo::saveRestartNodeInfo().
| std::map<int, std::pair<size_t, size_t> > SimulationContext::pe_file_state |
PE id -> (size, hash) last written by this process; an unchanged node is not rewritten.
Definition at line 68 of file SimulationContext.h.
| SystemModule SimulationContext::Plant |
Maps RELAP5 card numbers to C++ objects.
Definition at line 40 of file SimulationContext.h.
Referenced by Client::Client(), ControlPanel::executeRequestToPlant(), ControlPanelControl::executeStateControl(), ControlPanelControl::executeValueControl(), SystemDisplay::getCorrespondingHeatStructureValue(), SystemDisplay::getCorrespondingSystemParameterValue(), SystemControl::initiateControlValue(), AdsidacCallback::initiationForRestart(), main(), AdsidacCallback::onEvaluationPoint(), AdsidacCallback::onScenarioStart(), SystemDisplay::setCorrespondingSystemParameterUnit(), and Server::Simulation().
| std::map<int, std::vector<char> > SimulationContext::restart_buffers |
seq_id -> RELAP5 restart buffer
Definition at line 62 of file SimulationContext.h.
Referenced by build_serial_checkpoint(), AdsidacCallback::initiationForRestart(), main(), and AdsidacCallback::restartForNewSequence().
| std::deque<std::shared_ptr<RestartNodeInfo> > SimulationContext::restart_info |
Restart checkpoints for FIFO.
Definition at line 61 of file SimulationContext.h.
Referenced by build_serial_checkpoint(), AdsidacCallback::initiationForRestart(), main(), AdsidacCallback::onBranchingPoint(), AdsidacCallback::onEvaluationPoint(), and Client::parallel_restartforanewsequence_().
| int SimulationContext::seq_restart_branch_num = 0 |
Branch index within that cluster.
Definition at line 74 of file SimulationContext.h.
Referenced by compute_ancestry_path(), AdsidacCallback::initiationForRestart(), log_seq_fingerprint_mpi(), and Client::Work().
| int SimulationContext::seq_restart_cid = 0 |
CID of restart-origin cluster.
Definition at line 73 of file SimulationContext.h.
Referenced by compute_ancestry_path(), AdsidacCallback::initiationForRestart(), log_seq_fingerprint_mpi(), and Client::Work().
| Scheduler SimulationContext::SScheduler |
Simulation scheduling, parses CLI options.
Definition at line 41 of file SimulationContext.h.
Referenced by BranchRecord::appendEndStateSummary(), ControlPanel::checkForNewAlarms(), Client::Client(), Server::dispatch_resume_tasks(), BranchRecord::endSimulation(), Operator::initiationForSimulation(), main(), Server::merge_outputs(), AdsidacCallback::onBranchingPoint(), ProcedureStep::oneThroughProcessForProcedureStep(), AdsidacCallback::onEvaluationPoint(), KeyParameterHistory::outputHistoryToFile(), ReasonMachine::PrintKnowledgeWeb(), ReasonMachine::PrintSemanticBase(), KBConcept::ReadAntonymBaseFromInputFile(), EventSchemaBase::ReadEventSchemaBaseFromInputFile(), KB::readHardWiredDiagnosis(), KB::readIndicatorBiasFactors(), BranchMentalProcedureActivationTime::readInfoFromFile(), BranchProcedureAtionTime::readInfoFromFile(), BranchProcedureControlValue::readInfoFromFile(), CalculationAid::readInfoFromFile(), ControlPanel::readInfoFromFile(), HWReliabilityModule::readInfoFromFile(), Procedures::readInfoFromFile(), InitiatingEventController::readInfoFromFile(), SystemModule::readInfoFromFile(), ManeuverAction::readInfoFromFile(), ProcedureStep::readInfoFromFile(), InstantiationBase::ReadInstantiationBaseFromInputFile(), KBConcept::ReadKBConceptInfoFromInputFile(), ReasonMachine::ReadKEBaseAndKNFromInputFile(), ReasonMachine::ReadKnowledgeBaseFromInputFile(), MentalRepresentation::ReadMentalRepresentationtInfoFromInputFile(), ReasonMachine::ReadOperatorReasonMachineProfile(), ProximityModel::ReadProximityModelFromInputFile(), RoutineMonitor::ReadRoutineMonitorInforFromInputFile(), ReasonMachine::ReadSemanticSentencesFromInputFile(), KB::readSystemDecompositionKB(), restart_base_path(), RelapSolver::restore(), run_merge_only(), save_sequence_outputs(), BranchEndState::saveInfoToFile(), AnalysisInfoContainer::saveInfoToFile(), BranchCluster::savePENodeToFile(), ReasonMachine::SaveSequenceInfoToFile(), Client::self_merge_outputs(), BranchProbability::sendBranchInfoToCommandCenter(), Server::Server(), and Server::Simulation().
| SupportSystemReliabilityModule SimulationContext::Support_system_reliability |
Support system reliability.
Definition at line 54 of file SimulationContext.h.
Referenced by AdsidacCallback::initiationForRestart(), AdsidacCallback::onEvaluationPoint(), AdsidacCallback::onFirstInit(), AdsidacCallback::onScenarioStart(), and SupportSystemInitiatingEventUnit::readInfoFromFile().
| HWReliabilityModule SimulationContext::System_reliability |
Hardware fault trees.
Definition at line 53 of file SimulationContext.h.
Referenced by ControlPanel::executeRequestToPlant(), AdsidacCallback::initiationForRestart(), AdsidacCallback::onEvaluationPoint(), AdsidacCallback::onFirstInit(), InitiatingEventFTUnit::readInfoFromFile(), and RestartNodeInfo::saveRestartNodeInfo().
| ConvertToString SimulationContext::Translator |
Parameter name/value conversion.
Definition at line 52 of file SimulationContext.h.
Referenced by Client::Client(), main(), OperatorDM::oneThroughProcessForBlockI(), BranchAction::saveInfoToFile(), BranchDiagnosis::saveInfoToFile(), BranchExpectedAlarmState::saveInfoToFile(), BranchExpectedComponentState::saveInfoToFile(), BranchExpectedMentalBelief::saveInfoToFile(), BranchExpectedParameterTrend::saveInfoToFile(), BranchExpectedParameterValue::saveInfoToFile(), BranchExpectedSupportSystemState::saveInfoToFile(), BranchScannedParameter::saveInfoToFile(), BranchSupportSystemAction::saveInfoToFile(), BranchSystemAction::saveInfoToFile(), BranchSystemAlarmState::saveInfoToFile(), Server::Simulation(), BranchAction::translateMessage(), BranchActionObjective::translateMessage(), BranchActionPack::translateMessage(), BranchDiagnosis::translateMessage(), BranchExpectedAlarmState::translateMessage(), BranchExpectedComponentState::translateMessage(), BranchExpectedMentalBelief::translateMessage(), BranchExpectedParameterDifference::translateMessage(), BranchExpectedParameterTrend::translateMessage(), BranchExpectedParameterValue::translateMessage(), BranchExpectedSupportSystemState::translateMessage(), BranchGoal::translateMessage(), BranchInfoGatherMode::translateMessage(), BranchProcedureStep::translateMessage(), BranchScannedParameter::translateMessage(), BranchStrategy::translateMessage(), BranchSubGoal::translateMessage(), BranchSupportSystemAction::translateMessage(), BranchSystemAction::translateMessage(), and BranchSystemAlarmState::translateMessage().