Class Switchgear

java.lang.Object
neqsim.process.electricaldesign.components.Switchgear
All Implemented Interfaces:
Serializable

public class Switchgear extends Object implements Serializable
Model of switchgear / motor control center (MCC) bucket for process electrical systems.

Handles rated current, short-circuit withstand, protection coordination, and starter type selection. Supports direct-on-line (DOL), star-delta, soft starter, and VFD starters per IEC 61439.

Version:
1.0
Author:
Even Solbraa
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version UID.
      See Also:
    • STANDARD_RATINGS_A

      private static final double[] STANDARD_RATINGS_A
      Standard switchgear current ratings (A).
    • ratedCurrentA

      private double ratedCurrentA
    • ratedVoltageV

      private double ratedVoltageV
    • shortCircuitCurrentKA

      private double shortCircuitCurrentKA
    • starterType

      private String starterType
    • switchgearType

      private String switchgearType
    • circuitBreakerRatingA

      private double circuitBreakerRatingA
    • fuseRatingA

      private double fuseRatingA
    • protectionRelay

      private String protectionRelay
    • hasMotorProtection

      private boolean hasMotorProtection
    • bucketWidthMM

      private double bucketWidthMM
    • bucketHeightMM

      private double bucketHeightMM
    • weightKg

      private double weightKg
    • estimatedCostUSD

      private double estimatedCostUSD
  • Constructor Details

    • Switchgear

      public Switchgear()
  • Method Details

    • sizeSwitchgear

      public void sizeSwitchgear(double motorRatedCurrentA, double motorRatedPowerKW, double voltageV, boolean useVFD)
      Size the switchgear based on motor parameters.
      Parameters:
      motorRatedCurrentA - motor full-load current in A
      motorRatedPowerKW - motor rated power in kW
      voltageV - system voltage in V
      useVFD - whether VFD is used
    • selectStandardRating

      private double selectStandardRating(double requiredA)
      Select next standard current rating.
      Parameters:
      requiredA - required current in A
      Returns:
      next standard rating
    • selectStandardFuseRating

      private double selectStandardFuseRating(double motorFLC)
      Select standard fuse rating for motor protection.
      Parameters:
      motorFLC - motor full-load current in A
      Returns:
      fuse current rating in A
    • estimateWeight

      private double estimateWeight(double voltageV, double currentA)
      Estimate switchgear weight.
      Parameters:
      voltageV - system voltage in V
      currentA - rated current in A
      Returns:
      weight in kg
    • estimateCost

      private double estimateCost(double voltageV, double currentA, String starter)
      Estimate switchgear cost.
      Parameters:
      voltageV - system voltage in V
      currentA - rated current in A
      starter - starter type
      Returns:
      cost in USD
    • toJson

      public String toJson()
      Serialize to JSON.
      Returns:
      JSON string
    • toMap

      public Map<String,Object> toMap()
      Convert to a map.
      Returns:
      map of switchgear parameters
    • getRatedCurrentA

      public double getRatedCurrentA()
      Get rated current in A.
      Returns:
      rated current in A
    • getRatedVoltageV

      public double getRatedVoltageV()
      Get rated voltage in V.
      Returns:
      rated voltage in V
    • getShortCircuitCurrentKA

      public double getShortCircuitCurrentKA()
      Get short-circuit current in kA.
      Returns:
      short-circuit current in kA
    • setShortCircuitCurrentKA

      public void setShortCircuitCurrentKA(double shortCircuitCurrentKA)
      Set short-circuit current in kA.
      Parameters:
      shortCircuitCurrentKA - short-circuit current in kA
    • getStarterType

      public String getStarterType()
      Get starter type.
      Returns:
      starter type (DOL, Star-Delta, Soft Starter, VFD)
    • setStarterType

      public void setStarterType(String starterType)
      Set starter type.
      Parameters:
      starterType - starter type
    • getSwitchgearType

      public String getSwitchgearType()
      Get switchgear type.
      Returns:
      switchgear type (MCC or MV Switchgear)
    • getCircuitBreakerRatingA

      public double getCircuitBreakerRatingA()
      Get circuit breaker rating in A.
      Returns:
      circuit breaker rating in A
    • getFuseRatingA

      public double getFuseRatingA()
      Get fuse rating in A.
      Returns:
      fuse rating in A
    • getWeightKg

      public double getWeightKg()
      Get weight in kg.
      Returns:
      weight in kg
    • getEstimatedCostUSD

      public double getEstimatedCostUSD()
      Get estimated cost in USD.
      Returns:
      estimated cost in USD