Exemplo n.º 1
0
 public void setBusBranchFaultPanel() {
   faultLocPanel.remove(busFaultPanel);
   faultLocPanel.remove(branchFaultPanel);
   if (xmlFaultData.getFaultType() == AcscFaultTypeEnumType.BUS_FAULT) {
     AcscBusFaultXmlType busFault = (AcscBusFaultXmlType) xmlFaultData;
     faultLocPanel.add(busFaultPanel, java.awt.BorderLayout.NORTH);
     if (busFault.getRefBus() == null || busFault.getRefBus().getBusId().equals("")) {
       IpssLogger.getLogger()
           .info(
               "faultBusComboBox.getSelectedItem() -> " + this.faultBusComboBox.getSelectedItem());
       if (this.faultBusComboBox.getSelectedItem() != null)
         this.faultBusComboBox.setSelectedIndex(0);
     } else this.faultBusComboBox.setSelectedItem(busFault.getRefBus().getBusId());
     this.distanceTextField.setEnabled(false);
     IpssLogger.getLogger().info("Bus Fault input panel added");
   } else {
     AcscBranchFaultXmlType braFault = (AcscBranchFaultXmlType) xmlFaultData;
     faultLocPanel.add(branchFaultPanel, java.awt.BorderLayout.NORTH);
     if (braFault.getRefBranch() == null || braFault.getRefBranch().getBranchId().equals("")) {
       IpssLogger.getLogger()
           .info(
               "faultBranchComboBox.getSelectedItem() -> "
                   + this.faultBranchComboBox.getSelectedItem());
       this.faultBranchComboBox.setSelectedIndex(0);
     } else this.faultBranchComboBox.setSelectedItem(braFault.getRefBranch().getBranchId());
     this.distanceTextField.setEnabled(true);
     IpssLogger.getLogger().info("Branch Fault input panel added");
   }
 }
Exemplo n.º 2
0
 public IpssDStab setRefMachine(String refMachId) {
   if (dstabNet.getMachine(refMachId) != null)
     this.dstabAlgo.setRefMachine(dstabNet.getMachine(refMachId));
   else {
     IpssLogger.getLogger()
         .severe("No machine is found for the input " + refMachId + ", please check!");
   }
   return this;
 }
Exemplo n.º 3
0
  /** @see java.awt.event.ActionListener#actionPerformed(ActionEvent) */
  public void actionPerformed(ActionEvent e) {
    IAppSimuContext project;
    try {
      project = GraphSpringFactory.getIpssGraphicEditor().getCurrentAppSimuContext();
    } catch (Exception ex) {
      IpssLogger.logErr(ex);
      return;
    }

    SimuContext simuCtx = (SimuContext) project.getSimuCtx();
    Network<Bus, Branch> net = simuCtx.getNetwork();
    AclfStudyCaseListXmlType list = IpssXmlParser.getFactory().createAclfStudyCaseListXmlType();
    for (Branch bra : net.getBranchList()) {
      AclfStudyCaseXmlType studyCase = IpssXmlParser.getFactory().createAclfStudyCaseXmlType();
      list.getAclfStudyCase().add(studyCase);
      String id =
          bra.getFromBus().getId() + "-" + bra.getToBus().getId() + "_" + bra.getCircuitNumber();
      studyCase.setRecId("StudyCase_OpenBranch_" + id);
      studyCase.setRecDesc("Open branch " + bra.getId());
      ModificationXmlType mod = IpssXmlParser.getFactory().createModificationXmlType();
      studyCase.setModification(mod);
      BranchChangeRecXmlType changeRec = IpssXmlParser.getFactory().createBranchChangeRecXmlType();
      mod.setBranchChangeRecList(
          IpssXmlParser.getFactory().createModificationXmlTypeBranchChangeRecList());
      mod.getBranchChangeRecList().getBranchChangeRec().add(changeRec);
      changeRec.setRecId("OpenBranch_" + id);
      changeRec.setFromBusId(bra.getFromBus().getId());
      changeRec.setToBusId(bra.getToBus().getId());
      changeRec.setOffLine(true);
    }

    for (Bus bus : net.getBusList()) {
      if (bus.isActive() && ((AclfBus) bus).isGen() && !((AclfBus) bus).isSwing()) {
        AclfStudyCaseXmlType studyCase = IpssXmlParser.getFactory().createAclfStudyCaseXmlType();
        list.getAclfStudyCase().add(studyCase);
        studyCase.setRecId("StudyCase_GenOutage_" + bus.getId());
        studyCase.setRecDesc("Generator outage at bus " + bus.getId());
        ModificationXmlType mod = IpssXmlParser.getFactory().createModificationXmlType();
        studyCase.setModification(mod);
        BusChangeRecXmlType changeRec = IpssXmlParser.getFactory().createBusChangeRecXmlType();
        mod.setBusChangeRecList(
            IpssXmlParser.getFactory().createModificationXmlTypeBusChangeRecList());
        mod.getBusChangeRecList().getBusChangeRec().add(changeRec);
        changeRec.setRecId("GenOutage_" + bus.getId());
        changeRec.setBusId(bus.getId());
        changeRec.setGenOutage(true);
      }
    }

    IOutputTextDialog dialog = UISpringFactory.getOutputTextDialog("N-1 Modification Xml Document");
    dialog.display(
        list.toString()
            .replaceAll("xmlns:sch", "xmlns:ipss")
            .replaceAll("<sch:", "<ipss:")
            .replaceAll("</sch:", "</ipss:"));
  }
Exemplo n.º 4
0
 private boolean isCpfStopCriteriaMeet() {
   if (this.cpfAlgo.getAnalysisStopCriteria() == AnalysisStopCriteria.FULL_CUREVE) {
     if (this.lambda.getValue() < 0.01 && this.iteration > 5) {
       IpssLogger.getLogger().info("full curve anlysis is finished!");
       return this.isCpfStop = true;
     }
   } else if (this.cpfAlgo.getAnalysisStopCriteria() == AnalysisStopCriteria.MAX_POWER_POINT) {
     if (this.predStepSolver.isCrossMaxPwrPnt()) {
       IpssLogger.getLogger().info("PV nose is encountered, analysis ended!");
       return isCpfStop = true;
     }
   } else {
     if (cpfAlgo.isAnyViolation()) {
       IpssLogger.getLogger().info("Analysis is ended because of violation!");
       return isCpfStop = true;
     }
   }
   return isCpfStop = false;
 }
Exemplo n.º 5
0
 @Override
 public void backToLastConvgState() {
   IpssLogger.getLogger().info("return to lambda=" + this.convg_lambda);
   this.getLambda().setValue(this.convg_lambda);
   int cnt = 0;
   for (Bus b : this.cpfAlgo.getAclfNetwork().getBusList()) {
     AclfBus bus = (AclfBus) b;
     bus.setVoltageAng(this.convg_angle[cnt]);
     bus.setVoltageMag(this.convg_Vmag[cnt]);
     cnt++;
   }
 }
Exemplo n.º 6
0
  /**
   * Set form data to the editor
   *
   * @return false if there is any problem
   */
  public boolean setForm2Editor() {
    IpssLogger.getLogger().info("NBFaultLocDataPanel setForm2Editor() called");

    if (xmlFaultData.getFaultType() == AcscFaultTypeEnumType.BUS_FAULT) {

    } else {
      AcscBranchFaultXmlType braFault = (AcscBranchFaultXmlType) xmlFaultData;
      reclosureCheckBox.setSelected(
          braFault.isBranchReclosure() != null && braFault.isBranchReclosure());
      branchReclosureCheckboxActionPerformed(null);
      atReclosureTimeTextField.setText(
          Number2String.toStr(braFault.getReclosureTime().getValue(), "0.00"));

      if (this.distanceTextField.isEnabled()) {
        this.distanceTextField.setText(Number2String.toStr(braFault.getDistance(), "#0.##"));
      }
    }

    if (xmlFaultData.getFaultCategory() == AcscFaultCategoryEnumType.FAULT_3_PHASE)
      this.type3PRadioButton.setSelected(true);
    else if (xmlFaultData.getFaultCategory() == AcscFaultCategoryEnumType.LINE_TO_GROUND)
      this.typeLGRadioButton.setSelected(true);
    else if (xmlFaultData.getFaultCategory() == AcscFaultCategoryEnumType.LINE_TO_LINE)
      this.typeLLRadioButton.setSelected(true);
    else if (xmlFaultData.getFaultCategory() == AcscFaultCategoryEnumType.LINE_LINE_TO_GROUND)
      this.typeLLGRadioButton.setSelected(true);
    else this.typeAllRadioButton.setSelected(true);

    setLabelText();

    if (this.rLGTextField.isEnabled()) {
      double r = 0.0, i = 0.0;
      if (xmlFaultData.getZLG() != null) {
        r = xmlFaultData.getZLG().getRe();
        i = xmlFaultData.getZLG().getIm();
      }
      this.rLGTextField.setText(Number2String.toStr(r, "#0.0000"));
      this.xLGTextField.setText(Number2String.toStr(i, "#0.0000"));
    }

    if (this.rLLTextField.isEnabled()) {
      double r = 0.0, i = 0.0;
      if (xmlFaultData.getZLL() != null) {
        r = xmlFaultData.getZLL().getRe();
        i = xmlFaultData.getZLL().getIm();
      }
      this.rLLTextField.setText(Number2String.toStr(r, "#0.0000"));
      this.xLLTextField.setText(Number2String.toStr(i, "#0.0000"));
    }

    return true;
  }
Exemplo n.º 7
0
  public boolean initialize() {
    if (!dstabNet.isLfConverged()) {
      LfAlgoDSL aclfDsl = IpssAclf.createAclfAlgo(dstabNet);
      try {
        if (!aclfDsl.runLoadflow()) {
          IpssLogger.getLogger()
              .severe(
                  "Load flow is not converged, the first stage of Dstabnetwork initializaiton failed!");
          return false;
        }

      } catch (InterpssException e) {

        e.printStackTrace();
      }
    }
    return this.dstabAlgo.initialization();
  }
Exemplo n.º 8
0
  public void init(Object netContainer, Object simuCtx) {
    // for non-graph file, netContainer = null
    IpssLogger.getLogger().info("NBFaultLocDataPanel init() called");

    _netContainer = (GFormContainer) netContainer;
    _simuCtx = (SimuContext) simuCtx;

    if (_netContainer != null) {
      this.faultBusComboBox.setModel(
          new javax.swing.DefaultComboBoxModel(_netContainer.getBusNameIdArray()));
      Object[] branchNameId =
          _netContainer.getBranchNameIdArrayNoXfr(_netContainer.getGNetForm().getAppType());
      if (branchNameId.length > 0)
        this.faultBranchComboBox.setModel(new javax.swing.DefaultComboBoxModel(branchNameId));
    } else {
      this.faultBusComboBox.setModel(
          new javax.swing.DefaultComboBoxModel(SimuCtxHelper.getBusNameIdArray(_simuCtx)));
      Object[] branchNameId = SimuCtxHelper.getBranchNameIdArrayNoXfr(_simuCtx);
      if (branchNameId.length > 0)
        this.faultBranchComboBox.setModel(new javax.swing.DefaultComboBoxModel(branchNameId));
    }
  }
Exemplo n.º 9
0
  /**
   * Save editor screen data to the form
   *
   * @param errMsg error messages during the saving process.
   * @return false if there is any problem
   */
  public boolean saveEditor2Form(Vector<String> errMsg) throws Exception {
    IpssLogger.getLogger().info("NBFaultLocDataPanel saveEditor2Form() called");

    boolean ok = true;

    if (xmlFaultData.getFaultType() == AcscFaultTypeEnumType.BUS_FAULT) {
      String id = (String) this.faultBusComboBox.getSelectedItem();

      AcscBusFaultXmlType busFault = (AcscBusFaultXmlType) xmlFaultData;
      busFault.getRefBus().setBusId(id);
    } else {
      String id = (String) this.faultBranchComboBox.getSelectedItem();
      AcscBranchFaultXmlType braFault = (AcscBranchFaultXmlType) xmlFaultData;
      braFault.getRefBranch().setBranchId(id);
      // TODO  setBranch fromId, toId, cirId

      braFault.setBranchReclosure(reclosureCheckBox.isSelected());
      if (reclosureCheckBox.isSelected()) {
        if (!SwingInputVerifyUtil.largeThan(this.atReclosureTimeTextField, 0.0d)) {
          errMsg.add("Branch reclosure at Time <= 0.0");
          ok = false;
        }
        braFault
            .getReclosureTime()
            .setValue((SwingInputVerifyUtil.getDouble(this.atReclosureTimeTextField)));
        braFault.getReclosureTime().setUnit(TimePeriodUnitType.SEC);
      }

      if (this.distanceTextField.isEnabled()) {
        if (!SwingInputVerifyUtil.largeEqualThan(this.distanceTextField, 0.0d)) {
          errMsg.add("Branch fault distance < 0.0");
          ok = false;
        }
        braFault.setDistance(SwingInputVerifyUtil.getDouble(this.distanceTextField));
      }
    }

    if (this.type3PRadioButton.isSelected())
      xmlFaultData.setFaultCategory(AcscFaultCategoryEnumType.FAULT_3_PHASE);
    else if (this.typeLGRadioButton.isSelected())
      xmlFaultData.setFaultCategory(AcscFaultCategoryEnumType.LINE_TO_GROUND);
    else if (this.typeLLRadioButton.isSelected())
      xmlFaultData.setFaultCategory(AcscFaultCategoryEnumType.LINE_TO_LINE);
    else if (this.typeLLGRadioButton.isSelected())
      xmlFaultData.setFaultCategory(AcscFaultCategoryEnumType.LINE_LINE_TO_GROUND);

    if (this.rLGTextField.isEnabled()) {
      if (!SwingInputVerifyUtil.largeEqualThan(this.rLGTextField, 0.0d)) {
        errMsg.add("Fault L-G R < 0.0");
        ok = false;
      }
      xmlFaultData.getZLG().setRe(SwingInputVerifyUtil.getDouble(this.rLGTextField));
    }

    if (this.xLGTextField.isEnabled()) {
      if (!SwingInputVerifyUtil.largeEqualThan(this.xLGTextField, 0.0d)) {
        errMsg.add("Fault L-G X < 0.0");
        ok = false;
      }
      xmlFaultData.getZLG().setIm(SwingInputVerifyUtil.getDouble(this.xLGTextField));
    }

    if (this.rLLTextField.isEnabled()) {
      if (!SwingInputVerifyUtil.largeEqualThan(this.rLLTextField, 0.0d)) {
        errMsg.add("Fault L-L R < 0.0");
        ok = false;
      }
      xmlFaultData.getZLL().setRe(SwingInputVerifyUtil.getDouble(this.rLLTextField));
    }

    if (this.xLLTextField.isEnabled()) {
      if (!SwingInputVerifyUtil.largeEqualThan(this.xLLTextField, 0.0d)) {
        errMsg.add("Fault L-L X < 0.0");
        ok = false;
      }
      xmlFaultData.getZLL().setIm(SwingInputVerifyUtil.getDouble(this.xLLTextField));
    }

    return ok;
  }
Exemplo n.º 10
0
  public boolean runCase(SimuContext simuCtx) {
    boolean converge = false;
    if (this.xmlGridOpt.isEnableGridRun()) {
      final AclfNetwork aclfNet = simuCtx.getAclfNet();
      Grid grid = GridEnvHelper.getDefaultGrid();
      if (this.contingencyAnalysis) {
        IpssLogger.getLogger().info("Run Grid contingency analysis");

        try {
          GridContingencyAnalysis analysis =
              GridObjectFactory.createGridContingencyAnalysis(
                  simuCtx.getNetType(), simuCtx.getAclfNet(), grid);
          analysis.setLimitRunCase(this.xmlContingency.isLimitRunCases());
          if (analysis.isLimitRunCase())
            analysis.setMaxRunCase(this.xmlContingency.getMaxRunCases());

          LoadflowAlgorithm algo = simuCtx.getLoadflowAlgorithm();
          EditorPluginSpringFactory.getXml2LfAlgorithmMapper()
              .map2Model(this.xmlContingency.getDefaultAclfAlgorithm(), algo);
          analysis.perform(algo, ContingencyAnalysisType.N1);
          // System.out.println(analysis.getResult(IRemoteResult.DisplayType_SecViolation));
          // System.out.println(analysis.getResult(IRemoteResult.DisplayType_SecAssessment));

          IOutputTextDialog dialog =
              UISpringFactory.getOutputTextDialog("Contingency Analysis Info");
          StringBuffer buffer = new StringBuffer();
          buffer.append(analysis.getResult(IRemoteResult.DisplayType_SecViolation));
          buffer.append(analysis.getResult(IRemoteResult.DisplayType_SecAssessment));
          dialog.display(buffer);
        } catch (InterpssException e) {
          EditorPluginSpringFactory.getEditorDialogUtil()
              .showErrMsgDialog("Grid Aclf Error", e.toString());
          return false;
        }
      } else {
        String nodeId = GridEnvHelper.nodeIdLookup(this.xmlGridOpt.getRemoteNodeName());
        DStabSingleJobTask.RemoteNodeId = nodeId;
        GridRunner.MasterNodeId = grid.getLocalNode().getId().toString();
        try {
          RemoteMessageTable result =
              new GridRunner(grid, "InterPSS Grid Aclf Calculation", simuCtx.getLoadflowAlgorithm())
                  .executeSingleJobTask(this.xmlGridOpt.getTimeout());
          String str = result.getSerializedAclfNet();
          AclfNetwork adjNet = (AclfNetwork) SerializeEMFObjectUtil.loadModel(str);
          adjNet.rebuildLookupTable();
          simuCtx.setAclfNet(adjNet);
          converge = adjNet.isLfConverged();
          if (this.xmlCaseData.getAclfAlgorithm().isDisplaySummary()) {
            IOutputTextDialog dialog =
                UISpringFactory.getOutputTextDialog(
                    "Loadflow Analysis Run by Remote " + this.xmlGridOpt.getRemoteNodeName());
            dialog.display(adjNet);
          }
        } catch (GridException e) {
          EditorPluginSpringFactory.getEditorDialogUtil()
              .showErrMsgDialog("Grid Aclf Error", e.toString());
          return false;
        }
      }
      simuCtx.setAclfNet(aclfNet);
    } else {
      if (this.contingencyAnalysis) {
        IpssLogger.getLogger().info("Run contingency analysis");

        ContingencyAnalysis analysis =
            SimuObjectFactory.createContingencyAnalysis(
                SimuCtxType.ACLF_NETWORK, simuCtx.getAclfNet());
        analysis.setLimitRunCase(this.xmlContingency.isLimitRunCases());
        if (analysis.isLimitRunCase()) analysis.setMaxRunCase(this.xmlContingency.getMaxRunCases());

        LoadflowAlgorithm algo = simuCtx.getLoadflowAlgorithm();
        EditorPluginSpringFactory.getXml2LfAlgorithmMapper()
            .map2Model(this.xmlContingency.getDefaultAclfAlgorithm(), algo);
        analysis.analysis(algo, ContingencyAnalysisType.N1);

        IOutputTextDialog dialog = UISpringFactory.getOutputTextDialog("Contingency Analysis Info");
        dialog.display(ContingencyOutFunc.securityMargin(analysis));
      } else converge = runLoadflow(simuCtx.getAclfNet(), simuCtx);
    }
    return converge;
  }
Exemplo n.º 11
0
 private boolean runLoadflow(AclfNetwork aclfAdjNet, SimuContext simuCtx) {
   boolean converge = runLoadflow_internal(aclfAdjNet, simuCtx.getLoadflowAlgorithm());
   if (!converge) IpssLogger.getLogger().warning("Loadflow does not converge!");
   displaySummaryResult(simuCtx);
   return converge;
 }
Exemplo n.º 12
0
  @Override
  public boolean solveCPF() {

    this.iteration = 0;
    this.outCnt = 0;
    lastLFConverged = true; // as a flag
    saveFlag = true;
    while (this.iteration < cpfAlgo.getCPFMaxInteration()) {
      IpssLogger.getLogger().info("CPF analysis Itr:" + this.iteration);
      /*
       * dynamically determine continuation parameter after four iterations
       * or last corrector step not converged.
       */

      if (this.iteration > 3 || !this.lastLFConverged) {
        IpssLogger.getLogger()
            .info(
                "update continuation parameter, last sort Number is #"
                    + this.getSortNumOfContParam()
                    + ",  now is #"
                    + getNextStepContParam());
        this.setSorNumofContParam(getNextStepContParam());
      }

      // run preStepSolver and update network buses' voltage with solved result;

      this.predStepSolver.stepSolver();
      /*
       * output the deltaX for test
       */
      //		  System.out.println("predictive
      // deltaXL"+this.predStepSolver.getDeltaXLambda().toString());

      // perform corrector step analysis
      LoadflowAlgorithm algo = CoreObjectFactory.createLoadflowAlgorithm();
      algo.setTolerance(this.cpfAlgo.getPflowTolerance());
      algo.setMaxIterations(this.cpfAlgo.getPfMaxInteration());
      // corrector step solver is just a customized Newton-Raphson solver;
      algo.setNrSolver(this.corrStepSolver);

      // if corrector step is not converged ,apply step size control
      if (!this.cpfAlgo.getAclfNetwork().accept(algo)) {
        if (this.cpfAlgo.getStepSize() < this.cpfAlgo.getMinStepSize() && this.iteration > 1) {
          IpssLogger.getLogger()
              .severe(
                  "predictor step size ="
                      + this.cpfAlgo.getStepSize()
                      + ",  is small enough,yet convergance problems still remains!");
          return false;
        }
        // step size control in the following step if this corrector step is not converged!
        this.predStepSolver.enableStepSizeControl(true);
        this.backToLastConvgState(); // back to the last converged state;
        IpssLogger.getLogger()
            .warning(
                "the previous Predictor step-size seems to be too large, need to be controlled");
        this.saveFlag = false;
      }

      /*
       * if corrector step is converged to the 'lower' curve because of too-large step size
       * in the predictor step; apply step control in the predictor step;
       */
      //		  else
      // if(!this.predStepSolver.isCrossMaxPwrPnt()&&(this.lambda.getValue()<this.convg_lambda)){
      //			  IpssLogger.getLogger().warning("this step lamba="+this.lambda.getValue()+"last
      // converged lambda="+this.convg_lambda+"\n"+
      //			  		", the corrector step converged in the 'lower' curve,back to last state and apply
      // step control");
      //			  this.predStepSolver.enableStepSizeControl(true);
      //			  this.backToLastConvgState();
      //			  this.saveFlag=false;
      //		  }
      else if (isCpfStopCriteriaMeet()) {
        IpssLogger.getLogger().info("one analysis Stop Criteria is meeted,CPF analysis end!");
        return true;
      }

      // save the last converged network state
      if (this.saveFlag) this.saveConvgState();

      // save the intermediate state for result output;
      if (this.cpfAlgo.getAclfNetwork().isLfConverged()) {
        this.lambdaList.add(this.getLambda().getValue());
        int index = 0;
        for (Bus b : this.cpfAlgo.getAclfNetwork().getBusList()) {
          AclfBus bus = (AclfBus) b;

          if (this.iteration == 0) {
            Hashtable<Integer, Double> ht =
                new Hashtable<Integer, Double>(this.cpfAlgo.getMaxIterations());
            ht.put(outCnt, bus.getVoltageMag());
            this.busPVCurveList.add(ht);

            this.pvOutPutList.add(bus.getVoltageMag() + ",");
          } else {
            String v = this.pvOutPutList.get(index);
            v += bus.getVoltageMag() + ",";
            this.pvOutPutList.set(index, v);

            this.busPVCurveList.get(index).put(outCnt, bus.getVoltageMag());
          }
          index++;
        }
        outCnt++;
      }
      IpssLogger.getLogger()
          .info(
              "converged? ="
                  + this.cpfAlgo.getAclfNetwork().isLfConverged()
                  + ", lambda="
                  + this.getLambda().getValue());

      this.iteration++;
      this.lastLFConverged = this.cpfAlgo.getAclfNetwork().isLfConverged();
      this.saveFlag = true;
      //		  System.out.println(AclfOutFunc.loadFlowSummary(cpfAlgo.getAclfNetwork()));
    }
    IpssLogger.getLogger().info("not converged within the max iteration!");
    return false;
  }
Exemplo n.º 13
0
  public static boolean loadEditorProperties() {
    boolean ok = true;
    try {
      //			FileChooserConfig.CurrentProjDir = baseDir +
      // Translator.getString("Project.File.Location");
      //			FileChooserConfig.setCustomFileExts(appProps);

      DBManager.SQLMAP_CONFIG_PATH = Translator.getString("Sqlmap.Config.Path");
      DBManager.SQLMAP_SAMPLE_CONFIG_PATH = Translator.getString("Sqlmap.Sample.Config.Path");
      DBManager.DB_SCHEMA_VERSION = Translator.getString("IpssDb.shema.version");
      IpssLogger.getLogger().info("DBManager.SQLMAP_CONFIG_PATH:" + DBManager.SQLMAP_CONFIG_PATH);
      IpssLogger.getLogger()
          .info("DBManager.SQLMAP_SAMPLE_CONFIG_PATH:" + DBManager.SQLMAP_SAMPLE_CONFIG_PATH);
      /*
      			try {
      				DBManager.getSqlMapIpss().getDataSource().getConnection();
      				DBManager.getSqlMapSample().getDataSource().getConnection();
      			} catch (SQLException e) {
      				IpssLogger.logErr(e);
      				ok = false;
      			}
      */
      GEditor.Pty_UserWorkspace = Translator.getString("WorkSpace.Location");
      GEditor.Pty_SampleWorkspace = Translator.getString("WorkSpace.Location.Sample");

      IpssRptViewer.REPORT_DEFAULT_DIR =
          AppConstants.APP_BASE_DIR + Translator.getString("Report.File.Location");
      IpssRptViewer.REPORT_EXT = Translator.getString("ReportFileExtension");
      IpssRptViewer.REPORT_DESC = Translator.getString("Report.File.Desc");

      IpssFileFilter.OUTPUT_DEFAULT_DIR =
          AppConstants.APP_BASE_DIR + AppConstants.OUTPUT_DEFAULT_DIR;

      IpssJavaCompiler.JavaSrcDir = Translator.getString("Java.Compile.JavaSrcDir");
      IpssJavaCompiler.JavaClassDir = Translator.getString("Java.Compile.JavaClassDir");
      IpssJavaCompiler.JavaLibPath = Translator.getString("Java.Compile.JavaLibPath");
      IpssJavaCompiler.ClassnameToken = Translator.getString("Java.Compile.ClassnameToken");
      IpssJavaCompiler.JavaClasspath = Translator.getString("Java.Compile.JavaClasspath");

      CoreScriptUtilFunc.Tag_ControllerDescBegin =
          Translator.getString("Java.Compile.CMLController.Tag.ContDesc.Begin");
      CoreScriptUtilFunc.Tag_ControllerDescEnd =
          Translator.getString("Java.Compile.CMLController.Tag.ContrDesc.End");
      CoreScriptUtilFunc.Tag_ControllerFieldDescBegin =
          Translator.getString("Java.Compile.CMLController.Tag.FieldDesc.Begin");
      CoreScriptUtilFunc.Tag_ControllerFieldDescEnd =
          Translator.getString("Java.Compile.CMLController.Tag.FieldDesc.End");

      CoreScriptUtilFunc.Tag_ControllerDescBegin_Code =
          Translator.getString("Java.Compile.CMLController.Tag.ContDesc.Begin.Code");
      CoreScriptUtilFunc.Tag_ControllerFieldDescEnd_Code =
          Translator.getString("Java.Compile.CMLController.Tag.FieldDesc.End.Code");

      CoreScriptUtilFunc.Tag_AclfScript_Begin_Code =
          Translator.getString("Java.Compile.AclfScripting.Tag.AclfScript_Begin_Code");
      CoreScriptUtilFunc.Tag_AclfScriptBus_Begin =
          Translator.getString("Java.Compile.AclfScripting.Tag.AclfScriptBus_Begin");
      CoreScriptUtilFunc.Tag_AclfScriptBranch_Begin =
          Translator.getString("Java.Compile.AclfScripting.Tag.AclfScriptBranch_Begin");

      CoreScriptUtilFunc.Tag_AcscScript_Begin_Code =
          Translator.getString("Java.Compile.AcscScripting.Tag.AcscScript_Begin_Code");
      CoreScriptUtilFunc.Tag_AcscScriptBus_Begin =
          Translator.getString("Java.Compile.AcscScripting.Tag.AcscScriptBus_Begin");
      CoreScriptUtilFunc.Tag_AcscScriptBranch_Begin =
          Translator.getString("Java.Compile.AcscScripting.Tag.AcscScriptBranch_Begin");
    } catch (Exception e) {
      IpssLogger.logErr(e);
      ok = false;
    }

    return ok;
  }