Class DexpiRoundTripProfile

java.lang.Object
neqsim.process.processmodel.dexpi.DexpiRoundTripProfile

public final class DexpiRoundTripProfile extends Object
Describes validation profiles for round-tripping DEXPI data through NeqSim.

The minimal runnable profile validates that a process contains runnable DexpiStream segments (with line/fluid references and operating conditions), tagged equipment and at least one piece of equipment alongside the piping network.

Version:
1.0
Author:
NeqSim
  • Field Details

    • name

      private final String name
  • Constructor Details

    • DexpiRoundTripProfile

      private DexpiRoundTripProfile(String name)
  • Method Details

    • minimalRunnableProfile

      public static DexpiRoundTripProfile minimalRunnableProfile()
      Returns a minimal profile guaranteeing that imported data can be executed and exported.
      Returns:
      profile enforcing stream metadata and equipment tagging
    • validate

      public DexpiRoundTripProfile.ValidationResult validate(ProcessSystem processSystem)
      Validates the supplied process system against the profile.
      Parameters:
      processSystem - process system produced from DEXPI data
      Returns:
      validation result indicating success and listing violations
    • isBlank

      private static boolean isBlank(String value)