Contact Twinn


  • By Lanner
  • In Blog
  • Posted 21/04/2021

WITNESS Horizon enables professional modellers to rapidly develop feature-rich models and simulation apps that provide insight through dynamic data visualisation and the freedom to test choices in a risk-free, virtual environment. One of the many valuable features of WITNESS is its powerful API for creating and modifying WITNESS simulation models, in addition to the Experimenter API for running simulations.

APIs (Application Programming I nterfaces) allow two applications to communicate with each other to access data. With the WITNESS API, this means that you can create and edit large models much more quickly. Editing thousands of similar elements, for example, might be time-consuming if not done programmatically, but the WITNESS API provides a solution for rapidly achieving this. Another example would be if you want to create a simulation solution around WITNESS, such as a customized application that controls your model. This allows someone without WITNESS experience to build or manage the model to gain insights, providing the power of simulation to other stakeholders. This can help your organisation accelerate the value in your solutions and extend your business services with predictive simulation to the widest possible audience.

We have a range of examples of using both APIs for power users of WITNESS in C#, VB and VBA, that allow power users to automate many tasks, and develop effective solutions more quickly than in the WITNESS user interface. To further support this, we’ve now also created guidance for connecting Python code to the WITNESS API. Python is one of the most popular programming languages used by data scientists due to its ease of use and extensive selection of libraries to support AI and machine learning. This creates an opportunity to combine the power of these libraries with the power of simulation to realize even greater insight and results in your modelling.

Instructions for connecting Python to the WITNESS API can be found on the myLanner Portal by clicking here. If you do not have access to the myLanner Portal but would like to learn more about simulation, WITNESS, or the WITNESS API please click here to contact us and we will reach out to you directly.

Loading blog comments..

Post a Comment

Thank you, your comment is awating approval