Cable Calculator is a standalone module with a simple and clean interface which allows users to size low voltage cables. The module calculates the CSA based on current capacity, voltage drop and fault rating while requiring the minimum amount of user input. The calculator is a downloadable website plugin. Developers can copy the files to their web-server and integrate the calculator into one of their pages with a few lines of code.
The calculator allows your visitors to size low voltage power cables:
Advanced features of the calculation can be enabled or disabled depending on your requirements:
If you are a user of our Cable Calculator, we are open to requests for additional features.
You can download the application here: Cable Calculator Download
Installation: to install the application, please extract (unzip) all files and copy to a directory on your web server.
Note: please ensure client-side access is allowed for the config.json file. For example in IIS you may need to modify the <system.webServer> section of your web.config to allow JSON files:
<mimeMap fileExtension=".json" mimeType="application/json" />
Upgrade - if upgrading, copy all files except config.json. If the config.json file has been modified as part of the upgrade, manually add in any changes to your config.json.
Patch - delivered as one or more files which just need to overwrite the currently installed files.
The entry point for the application is index.html.
Integration into your site on a particular page depends on your site structure and programming language. Common ways of achieving this including injecting the application (index.html) using your content management system, programming language (c# for example), injecting by using Java-script, modifying the HTML of your website, using an IFrame, etc.
The easiest way to enable the application is to inject index.html itself into the location you want to display the Cable Calculator.
Alternatively, you just include the following on your site (see index.html for a working example):
Once successfully installed, on running the application you should be presented with a welcome message and request to activate the calculator with your API credentials.
To authenticate the application you need to subscribe to one of our API products. To subscribe, please contact us and we will get the process going.
Once subscribed to a product, you need to add you OcpApimSubscriptionKey (available on the developer portal) to the config.json file.
The application should now be fully functioning.
The application can be fine-tuned by changing the parameters in the config.json file. Please note that changing values may affect the number of API calls and/or performance.
SETTINGS - config.json [the file is in JSON format]