Overview

TimeSeries reader for reading data from a General Electric Proficy iHistorian database.The import reads this database directly.
Note that it is required to install additional GE Proficy drivers to be able to read the iHistorian databases.

Note that this imported only works with 32 bit application and not with 64 bit applications. In that case, it is adviced to use a separate program to retreive data from the database and to subsequently import those data into FEWS. See an example software and configuration here.

Example to read iHistorian

Example to import from iHistorian database

<general>
  <importType>iHistorian</importType>
  <serverUrl>http:dummy_hostname</serverUrl>
  <user>dummy_username</user>
  <password>dummy_password</password>
  <relativeViewPeriod unit="hour" start="-24" startOverrulable="true" end="0"/>
  <idMapId>IdKETEN</idMapId>
  <flagConversionsId>ImportKETENFlagConversions</flagConversionsId>
  <dataFeedId>iHistorian</dataFeedId>
</general>

Note that special drivers should be installed at the servers, additionally from FEWS, to enable the access to iHistorian database.
Data is always read in GMT / UTC timezone to prevent for daylightsavingtime problems.

Note that the quality flags in the iHistorian are read as strings and therefore should be mapped to the FEWS flags.
The flag "Good NonSpecific" is read as reliable, the value "Bad NonSpecific" as unreliable.
The flagconversion configuration should be:

	<flagConversion>
		<inputFlag>
			<name>iHistorian GOOD</name>
			<value>Good NonSpecific</value>
		</inputFlag>
		<outputFlag>
			<name>ORIGINAL_RELIABLE</name>
			<value>0</value>
			<description>Value is valid, marked as original reliable</description>
		</outputFlag>
	</flagConversion>
	<flagConversion>
		<inputFlag>
			<name>iHistorian Bad</name>
			<value>Bad NonSpecific</value>
		</inputFlag>
		<outputFlag>
			<name>ORIGINAL_UNRELIABLE</name>
			<value>6</value>
			<description>Value is invalid due to validation limits set. Value is removed.</description>
		</outputFlag>
	</flagConversion>
	<defaultOuputFlag>
   	   <name>all other strings are unknown, so default to unreliable, 6</name>
	   <value>6</value>
	</defaultOuputFlag>
  • No labels