Integration Simulator
Â
Introduction
The Integration Simulator is standalone software that allows you to test and develop connections to Integration Plugins. Please contact your sales manager if you wish to obtain a copy of the Integration Simulation software.
The simulator is able to simulate the majority of the Witness system output and enables testing of the system integration without having to spend days commissioning a full radar system beforehand.
For customers and integrators intending to use the Integration Simulator, the documents assume a reasonable working knowledge of network communication. They are targeted at technical teams, typically with software development skills, who are integrating the output from Witness into external systems.
If the AdvanceGuard® or Sea360® Integration Simulator software won't start then you will need to delete the Security Integration Simulator folder. It should be located here: %ProgramData%\Navtech\Security Integration Simulator.
If the ClearWayâ„¢ Integration Simulator software won't start then you will need to delete the Highways Integration Simulator folder. It should be located here: %ProgramData%\Navtech\Highways Integration Simulator.
The Integration Simulator should then start and create a new default config.
Contents
- 1 User Interface
- 2 Configuring Integration Plugins
- 3 Configuring Simulation Plugins
- 4 System Simulator
- 5 System Health Simulator
- 6 Security Simulator
- 6.1 Configure Simulation
- 6.2 Security Alarms
- 6.3 Adding Alarms
- 6.4 Camera Commands
- 6.5 Tracks
- 6.6 To Add Tracks
- 6.7 To Remove a Track
- 7 Highways Simulator
- 7.1 Configure Radars
- 7.2 Configure Carriageways
- 7.3 Save Configuration
- 7.4 Section and Rules
- 7.5 Add Alarms
- 7.6 Send Alarms
- 7.7 Clear Alarms
- 7.8 Acknowledge Alarms
- 7.9 Delete Alarms
- 7.10 Reset Configuration
- 7.11 Send Statistics
- 7.12 Clear Traffic
- 7.13 Send Section TA
- 7.14 Send Clear TA
- 8 Related Information
User Interface
Plugin Tree: Lists all the Integration and Simulation Plugins. The Start and Stop buttons will start and stop any enabled Integration Plugins.
Plugin Configuration Panel: This panel displays the configuration for the currently selected plugin, either integration or simulator, including the Active Alarms List and the Active Tracks List.
Log Panel: Shows all the log output from the application and plugins.
The Integration Simulator will load up two distinctly different types of plugins - Integration Plugins and Simulation Plugins.
Integration Plugins are the Navtech Witness system plugins that integrate with external systems. The purpose of the integration simulator application is to enable testing these integrations without having to fully deploy a Navtech system.
Simulation Plugins are specifically for the Integration Simulator. They simulate the rest of the Navtech system and provide output to the integration plugins, such as alarms or carriageway statistics. Selecting a plugin, whether Integration Plugin or Simulation Plugin, will display the plugin's configuration on the Plugin Configuration Panel.
Configuring Integration Plugins
To configure an integration plugin, you can select an integration plugin from the tree and click Edit. This will display the same configuration editor as you would see in the Witness client.
Saving the configuration will have the same effect as on an actual Witness system - plugins that are enabled will try to automatically start themselves.
Like Witness, on first launching the Integration Simulator, enabled plugins will automatically start. However they can be controlled using the Start and Stop buttons if required.
A plugin that is not enabled cannot be started.
Please see the details for the supported Integration Plugins here: Integration Configuration.
Configuring Simulation Plugins
The simulation plugins are specific to the product, so ClearWay™, AdvanceGuard® and Sea360® have their own. These plugins simulate the Witness functionality associated with these products, such as raising alarms or generating tracks.
System Simulator
The System Simulator handles common system level settings, including System Profiles and Areas.
Profiles
System Profiles: This simulates the Witness system profile. It shows the currently selected profile and allows you to change the profile. The profile can be changed by selecting the required profile and selecting the Set System Profile button. This can trigger outgoing profile status reports (e.g. Navtech ICD-001 Protocol) and also respond to incoming profile change requests.
Selected: Checkbox to select a system profile.
Profile Id: Numeric Id of the profile.
Profile Name: The name of the profile.
Areas
Areas: This simulates a fixed list of areas. Each area has a different type and the system will show its mode and if it is enabled. The state can be changed by highlighting an area and selecting the Set State button. In addition, if an area state is changed through an integration plugin then the modified state will be displayed here.
Id: The area user Id.
Name: Area name.
Type: The area type.
Enabled: The current state of the area.
Disarm Mode: The current mode of the area.
System Health Simulator
The health simulator enables you to generate health status reports and alarms with details of the radar and modules. You can adjust the status of the radar and the modules using the plugin configuration. For example, you can change a radar’s health or connection health to unhealthy, and then you can generate a status report or an alarm to report this change.
Radars: This is a list of pre-configured radar showing their health and connection status. Both can be changed for testing purposes.
Include: Option to include or exclude the radar within the health reporting.
Name: Name of the radar.
Id: User Id of the radar.
Health: Health status of the radar.
Connection Health: Health status of the radar connection.
Modules: This is a list of pre-configured modules and active integration plugins showing their connection health status. The Management Server also has an additional status that simulates the database health. All available health states can be changed for testing purposes.
Include: Option to include or exclude the radar within the health reporting.
Module Name: Name of the module.
Connection Health: Current module health status.
Database Health: Current database health.
To trigger a topology update, which is usually translated to a status report by the integration plugins, select the Send Topology button. To trigger one or more health alarms based on any radars or modules that have health status set to anything other than Healthy, select the Send Alarms button.
Security Simulator
Configure Simulation
These buttons provide options to manage the simulator configuration:
Configure Radars: Allows you to change the number of radars to simulate - both for alarms and health.
Save Configuration: Enables you to force the configuration to be saved.
Reset Configuration: Resets and reloads the configuration. This option honours the configured number of radar but it will also reset the data to the last saved state. This enables configs to be saved and moved to a different PC if required.
Security Alarms
Allows you to create, publish, clear and delete security alarms:
Add Alarms: Select this button to create a new alarm. Once clicked the alarm form will be enabled so you can populate the alarm details.
Send Alarms: Select this to publish all alarms to the plugins. The plugins will receive the alarms and send out messages based on the current alarm states.
Clear Alarms: Select this to clear all selected alarms in the Active Alarms List.
Acknowledge Alarms: Select this to acknowledge the selected alarms. This will clear the alarms from the Active Alarms List.
Delete Alarms: Select this to delete all selected alarms in the Active Alarms List.
Auto Acknowledge: Select this check box to automatically acknowledge the selected alarms when the alarms have been cleared. This will clear the alarms from the Active Alarms List.
The following fields are automatically populated when you add an alarm, however, they can be edited:
Description: The description of the alarm which you can edit.
Severity: Defines how a target should be marked when it breaks a rule:
Unknown
Friend
Warning
Threat
Priority: Allows you to optionally apply a ‘weighting’ to any rules that invoke an action using comparative values.
Lowest
Low
Medium
High
Highest
Alarm Type: Select from the list of alarm types:
None
Follow
Alarm
Alarm And Follow
Radar: Select from the list of radars.
Rule Id: Auto populated with 1 but this can be edited during configuration.
Relay Id: Auto populated with 0 but this can be edited during configuration.
Area: Select from the list of areas.
Adding Alarms
To add a new alarm:
Click the Add Alarms button:
Â
The alarm details field will be enabled so you can edit the alarm details in the Security Alarms section, which will then populate the Live Alarms List beneath it (both highlighted):
Â
You can then add more alarms by repeating steps 1 to 2.
Next, select Send Alarms to publish the configured Active Alarms List:
Â
Once you have sent the alarms, there is an alarms sent message displayed in the Log Panel, highlighted above.
Update Existing Alarm
To update an existing alarm:
Select the alarm you wish to update; you can select all alarms by selecting the checkbox in the column header or select individual alarms:
Change the severity (this is the only property available to change after you have sent an alarm):
Â
Click Send Alarms.
Clearing Active Alarms
To clear active alarms:
Select the required alarms from the Active Alarms List:
Â
Select the Clear Alarms button:
Â
Alarms will be marked as cleared in the list and alarm updates will be automatically published:
Â
Acknowledging Alarms
To acknowledge a cleared alarm:
Select the cleared alarms you wish to acknowledge.
Â
Select Acknowledge Alarms.
The alarm will be acknowledged. Alarm updates will be automatically published:
Delete Alarms
To delete a cleared alarm:
Select the alarms that wish to delete and click the Delete Alarms button:
Â
The system will delete the selected alarms, and remove them from the Active Alarms List.
Camera Commands
Allows you to create and publish camera movement commands. The simulator provides 3 default cameras for testing.
Send Camera Command: Sends a camera command for the selected camera.
To send a camera control:
Select a camera from the list.
Enter a movement type - Automatic or Manual, and Track Id, if required.
Select the Send Camera Command button.
Tracks
Allows you to create and publish tracks. Tracks can include the normal position and movement data as well as broken rule information.
Add Track: Allows you to enter new track details.
Send Tracks: Select this to publish the active list of tracks.
Clear Tracks: Select this to clear the selected tracks.
The following fields are automatically populated when you add a track, however, these fields can be edited:
X/Y/Z: These are the location coordinates of the track.
Severity: Defines how a target should be marked when it breaks a rule, e.g. Warning.
Speed (m/s): The speed of the track.
Direction (degs): The direction in which the track is travelling.
Size in Range: The size of the Track along the range.
Size in Azimuth: The size of the Track along the azimuth.
Classification: Allows you to select one of the entities from the drop-down list; e.g. Large Vehicle.
Probability (%): Allows you to define a confidence level which must be matched or exceeded for a given track before it can be considered within the rule.
Radar: Select the radar from the radar list.
To Add Tracks
To add a track:
Select Add Track.
The track will be added to the active track list with default data.
Edit the settings to suit your testing.
Repeat these steps to add more tracks if required.
To send the active tracks, select the Send Tracks button.
To include Rule Ids in the track broken rule data, select the required rules from the Rule List before sending the tracks.
To Remove a Track
Select one or more tracks from the active tracks list by using the Remove checkbox column. You can also select all of the tracks by selecting the Remove checkbox in the column header.
Select the Clear Tracks button.
The tracks will be removed from the Active Tracks List.
Highways Simulator
The included Highways Simulator simulation plugin can be used to set up carriageways and radars and can also be used to create carriageway statistics and highway alarm messages.
Configure Radars
To change the number of radars:
Select Configure Radars to open the Configure Radars dialogue. Here you can choose the number of radars you need:
Â
Click OK.
This will delete all existing radars and create new ones until the desired number is reached. Any Integration Plugin tied directly to radar or radar entity updates will be affected by this.
Configure Carriageways
To change the number of carriageways and, or the number of sections per carriageway:
Select Configure Carriageways to to open the Configure Carriageways dialogue. Here you can change the number of carriageways and sections per carriageway:
Â
Click OK.
This will recreate the carriageways as required. All carriageways will be created with 4 lanes and with the default rules; Debris, ERA, Person, Queue, Reversing Vehicle, Slow Vehicle and Stopped Vehicle.
Save Configuration
Select Save Configuration to save the current configuration to file:
Â
You will receive a log message indicating a successful save and where the configuration file has been saved to. For example; %ProgramData%\Navtech\Highways Integration Simulator\HighwaysSimulatorConfig.xml
Section and Rules
You can now administer the Sections and the Rules for your carriageways to send alarms against carriageway rules by selecting the sections and rules you want to raise the alarm against. Optionally, you can select a lane for the alarms as well. To do this:
Ensure the Sections and Rules tab is open:
Â
There will be a list of the sections you have configured with the rules.
You can select sections and the rules that you wish to apply by selecting their check boxes:
Â
In the example above, Section 1 of Lane 1 has been chosen with a variety of rules. The Auto Acknowledge check box has been selected by default.
Add Alarms
You can now add your selection to the Live Alarm List.
Click the Add Alarms button:
Â
This will add each of the rules for the section to the Live Alarms List as highted above.
Selecting the check box on the Live Alarms List toolbar will select or deselect all of the checkboxes below it:
Â
Alternatively, you can select individual rows in the list.
Send Alarms
To send an alarm:
Click the Send Alarms button:
Â
In this example, the ICD-100 XML Plugin has been enabled and the Log Panel shows that the 6 alarms have been sent (highlighted in pink).
Clear Alarms
To clear the alarms:
Click the Clear Alarms button; you can select all alarms by selecting the checkbox in the column header or select individual alarms:
Â
As the Auto Acknowledge check box has been selected then clearing the alarms will also acknowledge them as in the example above.
If the Auto Acknowledge check box has not been selected:
Â
Clicking on the Clear Alarms button will clear the alarms but not auto acknowledge them:
Acknowledge Alarms
To manually acknowledge the alarms:
Select the alarms you wish to acknowledge which will enable the Acknowledge Alarms button:
Â
This will then acknowledge the alarms on the list:
Delete Alarms
You can delete all alarms by selecting the checkbox in the column header or select individual alarms:
Select the alarm or alarms from the list and click the Delete Alarms button:
Â
The selected alarms will be removed:
Reset Configuration
To reset the Section and Rules configuration back to default:
Click the Reset Configuration button:
Â
This will clear the sections, rules, Alarm Lane and Live Alarm List, and will select the Auto Acknowledge check box.
Send Statistics
You can use the commands available in the Carriageway Statistics section to Send Statistics or Traffic Analysis reports.
Click Send Statistics: this will will send randomly generated statistics for each section of the selected carriageway. You can change the selected carriageway from the Carriageway dropdown:
Â
These statistics will be displayed within the Log Panel, as above.
Clear Traffic
To send zero traffic stats for every section of the selected carriageway:
Click the Clear Traffic button. This will also raise the flag that the entire carriageway is clear of traffic.
Send Section TA
If any section has been selected in the Section and Rules tab you can send out Traffic Analysis messages:
Click the Send Section TA button:
Â
This will send out a randomized traffic analysis message with reports for the selected sections. In the above example it has sent out messages for Section 1.
Send Clear TA
To see a message showing that there is no traffic within a section:
Click Send Clear TA to send a traffic analysis message for all of the selected sections in the Section and Rules tab: