Class DependencyAnalyzer.DependencyResult

java.lang.Object
neqsim.process.util.topology.DependencyAnalyzer.DependencyResult
All Implemented Interfaces:
Serializable
Enclosing class:
DependencyAnalyzer

public static class DependencyAnalyzer.DependencyResult extends Object implements Serializable
Result of a dependency analysis.
Version:
1.0
Author:
NeqSim Development Team
See Also:
  • Field Details

  • Constructor Details

    • DependencyResult

      public DependencyResult(String failedEquipment)
      Creates a dependency result.
      Parameters:
      failedEquipment - the failed equipment name
  • Method Details

    • getFailedEquipment

      public String getFailedEquipment()
    • getFailedLocation

      public FunctionalLocation getFailedLocation()
    • getDirectlyAffected

      public List<String> getDirectlyAffected()
    • getIndirectlyAffected

      public List<String> getIndirectlyAffected()
    • getIncreasedCriticality

      public Map<String,Double> getIncreasedCriticality()
    • getEquipmentToWatch

      public List<String> getEquipmentToWatch()
    • getProductionImpactByEquipment

      public Map<String,Double> getProductionImpactByEquipment()
    • getTotalProductionLoss

      public double getTotalProductionLoss()
    • getCrossInstallationEffects

      public List<DependencyAnalyzer.CrossInstallationDependency> getCrossInstallationEffects()
    • setFailedLocation

      void setFailedLocation(FunctionalLocation loc)
    • addDirectlyAffected

      void addDirectlyAffected(String equipment)
    • addIndirectlyAffected

      void addIndirectlyAffected(String equipment)
    • setIncreasedCriticality

      void setIncreasedCriticality(String equipment, double criticality)
    • addEquipmentToWatch

      void addEquipmentToWatch(String equipment)
    • setProductionImpact

      void setProductionImpact(String equipment, double impact)
    • setTotalProductionLoss

      void setTotalProductionLoss(double loss)
    • addCrossInstallationEffect

      void addCrossInstallationEffect(DependencyAnalyzer.CrossInstallationDependency dep)
    • toJson

      public String toJson()
      Exports result to JSON.
      Returns:
      JSON string