0% found this document useful (0 votes)
38 views

2021 OLI Engine Developer Edition

The OLI Engine: Developer Edition allows embedding OLI calculations within proprietary software by providing access to OLI's thermodynamic frameworks via a FORTRAN Core Interface or a C++ OLI API. It enables customized interfaces by performing property and equilibrium calculations from within custom code. Support is available directly from OLI for the Core Interface, while third-party programming support can be recommended for the OLI API.

Uploaded by

Zahid Achwato
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

2021 OLI Engine Developer Edition

The OLI Engine: Developer Edition allows embedding OLI calculations within proprietary software by providing access to OLI's thermodynamic frameworks via a FORTRAN Core Interface or a C++ OLI API. It enables customized interfaces by performing property and equilibrium calculations from within custom code. Support is available directly from OLI for the Core Interface, while third-party programming support can be recommended for the OLI API.

Uploaded by

Zahid Achwato
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

OLI Engine: Developer Edition

Access to OLI within your Software


The OLI Engine: Developer Edition can be used to embed calls to
the OLI Engine within your software. This permits access to OLI
from within your own proprietary flowsheet software, from Excel
for individual ad-hoc calculations, or from any new programming
environment that is seeking to automate OLI calculations.

OLI Engine: Developer Edition enables direct access to the power


of the OLI Engine by directly performing calculations from your
code. This allows for the creation of a customized interface that
meets your specific needs. The Developer Edition allows clients
to embed calls to OLI’s electrolyte thermodynamic frameworks in
their own programs.

The OLI Engine performs calculations that accurately predict the behavior of complex and concentrated electrolyte
systems, using real solution theory to predict departures from ideal solution behavior, which can be significant and often
non-intuitive.

This software can be used by:

- Prospective Alliance Partners to embed OLI as a property method in a commercial flowsheet simulator
- Clients within their proprietary flowsheet simulator or other simulation programs
- IT developers in client companies to automate calls to OLI within their own software platforms
- MS Excel users familiar with VBA to customize Excel spreadsheets with OLI calculations

Core Interface
The Core Interface is written in FORTRAN and its collection of calls can be used to load a prebuilt chemistry model, setup
an equilibrium calculation and access the resulting phase separations and properties. There are also direct calls for
properties without the need to perform an equilibrium call, providing maximum flexibility and speed for the calling program.
Because this interface was written in FORTRAN all array access and strings need to be handled appropriately if being
used from C/C++.

This interface requires understanding of FORTRAN calls and arrays. Software development skills are required,
some knowledge of OLI internals is needed.

C wrappers The example program that comes with this interface shows how to wrap the Core Interface calls in C.
C++ helper classes have been developed to help with the FORTRAN string handling, arrays access
C++ helpers
and calling semantics.

OLI API
The API works with the concept of streams. The OLI API requires an OLI chemistry model created in either the OLI Studio
or the OLI Chemistry Wizard and saving this Chemistry Model for a fixed chemistry in your program in order to perform
calculations. Ionic input is also supported.

The OLI API is written in C++ and is layered on top of the Core Interface.

VBA development skills are needed to work with this product in MS Excel.

Both the Core Interface and the OLI API come together in the Developer Edition. Manuals and samples are available.

think simulation | getting the chemistry right www.olisytems.com


Capabilities
Both the Core Interface and the API can access either the OLI AQ, MSE or MSE-
Chemistry model flexibility, SRK thermodynamic framework. Multiple chemistry models can be created outside
private databanks, and the Developer Edition (in OLI Studio or OLI Chemistry Wizard) including chemistry
electrolyte framework models with private databanks, and the resulting chemistry models can be used by
selection either Interface. This is the recommended chemistry model generation for the
Developer Edition.
OLI’s standard equilibrium calculation types, including isothermal, set pH,
Equilibrium calculation types precipitation points, etc. are supported in both interfaces, with the exception of the
Custom calculation, which is only available in the Core Interface.
Both interfaces work in native units only (C, atm, moles), with units conversion left to
Native units only
the calling program
Both interfaces return properties and phase separations. The API requires an
Properties and phase
equilibrium calculation for properties; the Core Interface will do properties
separations
calculations without an equilibrium call.
The Corrosion Rates calculation is currently only supported in the Core
Corrosion rates calculation Interface. Neither interface supports Stability Diagrams, Polarization curves, or
Extreme Value Statistics (EVS) calculations.

OLI Support
There is only paid support available for the OLI Engine: Developer Edition, which comes directly from OLI Product
Development. While this support is optional, OLI recommends at least a 2-day support retainer when clients intend to
work with the lower level, Core Interface.

OLI can recommend a third-party vendor who can supply programming skills, when clients would like to use the OLI API
for their own applications.

2 Gatehall Drive, Suite 1D


Parsippany NJ 07054 USA
www.olisystems.com +1-973-998-0240 | [email protected]

You might also like