From 1cee974132d75700d9f27f84d08bd078b8b83390 Mon Sep 17 00:00:00 2001 From: Carlos Gamez Date: Wed, 23 Aug 2017 12:30:26 +0800 Subject: [PATCH] * Fixed error on Rogers Ratio FailureType calculation function * Updated README file and fixed typos --- README.md | 11 +++++------ VERSIONS.md | 7 +++++++ xDGA.CORE/Algorithms/RogersRatios/RogersRatiosRule.cs | 4 ++-- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 93bed4b..a67541f 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,17 @@ # xDGA -**xDGA** is an Excel add-in that gives you the capability to apply Dissolved Gases Analysis (DGA) algorithms from all the major international guidelines. +**xDGA** is an Excel add-in that contains custom formulas that apply Dissolved Gases Analysis (DGA) algorithms from all the major international guidelines. -**xDGA** helps the user to use their existing DGA data and be able to quicly run assessments algorithms from any of the major international guidelines and industry best practices. - -So far, **xDGA** implements the following guidelines and algorithms: +**xDGA** implements the following guidelines and algorithms: * IEC 60599 ed.3 2015. * Duval Triangles for Transformers, Reactors, Cables and On-Load Tap Changers * Duval Pentagons +* Rogers Ratios ## Usage -The add-in is activated by opening the **xDGA.ADDIN64.xll** or **xDGA.ADDIN.xll** file, depending on your architecture. Both files are in the **Distribution** folder and they are stand-alone (i.e. don't need other files or libraries to run). +The add-in is activated by opening the **xDGA.ADDIN64.xll** or **xDGA.ADDIN.xll** file, depending on your architecture. Both files are in the **Distribution** folder and they are stand-alone (i.e. don't need other files or libraries to run). The formulas can then be applied to any Excel spreadsheet with DGA data. @@ -31,7 +30,7 @@ The SERIALIZEDGA() function accepts the date and the nine gases that constitute SERIALIZEDGA()

-This is a helper function that prepares the date that can then be fed into any of the funcitons that require DGA data. +This is a helper function that prepares DGA data in a way that can be fed into any of the funcitons that require it. For example, the IEC_60599() function takes in the Current and the Previous DGA as well as a boolean value indicating whether the transformer has an On-Load Tap Changer (OLTC) and the volume of oil in the tank in litres. diff --git a/VERSIONS.md b/VERSIONS.md index 842ecc1..24515b4 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -1,5 +1,12 @@ # xDGA +## Version 0.5 +### August 2017 + +#### xDGA.CORE +* Fixed error on Rogers Ratio FailureType calculation function +* Updated README file and fixed typos + ## Version 0.4 ### August 2017 diff --git a/xDGA.CORE/Algorithms/RogersRatios/RogersRatiosRule.cs b/xDGA.CORE/Algorithms/RogersRatios/RogersRatiosRule.cs index 4fea901..d34a0e5 100644 --- a/xDGA.CORE/Algorithms/RogersRatios/RogersRatiosRule.cs +++ b/xDGA.CORE/Algorithms/RogersRatios/RogersRatiosRule.cs @@ -68,9 +68,9 @@ private FailureType.Code CalculateFailureCode() if (_Ratios[Ratio.AcetyleneToEthylene] < 0.1 && _Ratios[Ratio.MethaneToHydrogen] > 0.1 && _Ratios[Ratio.MethaneToHydrogen] < 1.0 && _Ratios[Ratio.EthyleneToEthane] >= 1.0 && _Ratios[Ratio.EthyleneToEthane] <= 3.0) code = FailureType.Code.T1; - if (_Ratios[Ratio.AcetyleneToEthylene] < 0.1 && _Ratios[Ratio.MethaneToHydrogen] > 0.1 && _Ratios[Ratio.EthyleneToEthane] >= 1.0 && _Ratios[Ratio.EthyleneToEthane] <= 3.0) code = FailureType.Code.T2; + if (_Ratios[Ratio.AcetyleneToEthylene] < 0.1 && _Ratios[Ratio.MethaneToHydrogen] > 1.0 && _Ratios[Ratio.EthyleneToEthane] >= 1.0 && _Ratios[Ratio.EthyleneToEthane] <= 3.0) code = FailureType.Code.T2; - if (_Ratios[Ratio.AcetyleneToEthylene] < 0.1 && _Ratios[Ratio.MethaneToHydrogen] > 0.1 && _Ratios[Ratio.EthyleneToEthane] >= 3.0) code = FailureType.Code.T3; + if (_Ratios[Ratio.AcetyleneToEthylene] < 0.1 && _Ratios[Ratio.MethaneToHydrogen] > 1.0 && _Ratios[Ratio.EthyleneToEthane] >= 3.0) code = FailureType.Code.T3; return code; }