Overhead Design Analysis (OHDA) uses a configuration file, OHDAConfig.xml, to persist some of its configuration settings upon application restart. This file must be stored in the Miner and Miner\ArcFM Solution\Bin directory. There is a sample OHDAConfig.xml file stored in the Miner and Miner\ArcFM Solution\Bin\XML directory, but this file is used as a starting place. Configuration settings are loaded from the file in the Bin directory.
 |
If OHDA is unable to read the required values in the OHDAConfig.xml file, you the error below displays. This error will continue to show on application launch until you fix the configuration file (usually the result of a tag without a value).
|
Required Tags in OHDAConfig.xml
Tag |
Possible values |
Description |
<ActiveSystemOfUnits> |
Metric or Imperial |
Sets the default system of measurement that OHDA uses for the session |
<UseLightTheme> |
True or False |
Sets the default background that OHDA uses for the session |
Optional Tags in OHDAConfig.xml
Tag |
Possible values |
Description |
<SystemOfUnitsException> |
Pole Height |
Sets the units of measure for pole height opposite from application setting. For example, if application is set to metric, then pole height is measured in feet. |
<FootToMeterConversionFactor> |
Double |
The default conversion factor for feet to meters is set to the ArcMap value of 1ft = .304800609601219 m. To change this value, include this tag with just the conversion factor you want as the value.
 |
OHDA cannot validate the conversion factor you set. If changing this value, make certain you enter the correct conversion factor. |
|
<CableSizeVisualIncrease3D> |
Positive Double Below 500 |
Increases the size of cables displayed in 3D by the specified amount. For example, a value of 11 displays the thickness of the cables at 11 times the default size. This value is for visualization only and therefore does not affect any calculations. |
<TerrainPathWidth> |
Positive Double Between .1 and 500 |
Perpendicular distance from pole to the edge of 3D terrain in feet. |
<TerrainPathVisualExtension> |
Positive Double between .1 and 500 |
Distance from the end poles in a scenario to the beginning or ending edge of 3D terrain in feet. |
<maxNodeSpacing> |
Double |
 |
This value should never be changed unless you completely understand the complex subtleties of finite element calculations. Using an incorrect value will compromise all calculations OHDA uses to analyze a scenario. |
Defines the maximum spacing (in feet) between nodes used in discretization of the scenario for finite element calculations. The tradeoff is speed vs. accuracy. Larger spacing between nodes means faster calculations but lower accuracy in the results. Default: 3.
 |
OHDA does not validate this value. If the number is zero or negative, OHDA will not function properly. |
|
Sample OHDAConfig XML File
<?xml version="1.0" encoding="utf-8"?>
<OHDAConfig>
<!-- Which system of units OHDA and Assembly Creator will be in. This setting is controlled via Assembly Creator -->
<ActiveSystemOfUnits>Imperial</ActiveSystemOfUnits>
<!-- Background theme of OHDA. Set via OHDA. User must have write permissions to ArcFM Bin directory (run OHDA as admin) in order for this setting to be saved. -->
<UseLightTheme>False</UseLightTheme>
<!-- Imperial to metric conversion factor to be used when converting lengths. -->
<FootToMeterConversionFactor>0.30480060960121924</FootToMeterConversionFactor>
<!-- Node spacing for FEM analysis. Increasing this value has significant performance impacts. -->
<MaxNodeSpacing>3</MaxNodeSpacing>
<!-- Location of the Assembly Library. This value is set via Assembly Creator. -->
<RepositoryLocation>C:\Users\Public</RepositoryLocation>
<!-- Value of the checkbox on the Assembly Library Location of the settings tab. This value is set via Assembly Creator. -->
<CopyToNewLocation>True</CopyToNewLocation>
<!-- Exception to system of units in order to be able to use imperial pole heights when system of units is set to metric. This value is set manually. -->
<SystemOfUnitsException>Pole Height</SystemOfUnitsException>
</OHDAConfig>