Mosaic automates code generation from LaTeX documents

Cape-Open hears from TU Berlin on auto-generation of process model code.

Speaking at the 2013 annual meet of the Computer-Aided Process Engineering (Cape Open) in Lyon, France earlier this year, Gregor Tolksdorf (TU Berlin) presented ‘Mosaic’ a web-based modeling and code generation tool. Mosaic uses either LaTeX or the Microsoft Word formula editor to define a process model in Mosaic’s symbolic notation. Once the full model has been specified, Mosaic auto-generates the computer code.

Code can be generated for various programming languages including C++, gProms, Fortran, Python and Matlab. Models are then tuned in an iterative process—by running the model and tweaking equations of state in the documentation. Users do not touch the code manually.

The result is a modular modeling concept leveraging an enhanced symbolic notation to define platform independent models based on Java and XML documentation. All model components are stored in a web database to support team model development. Mosaic also generates code that leverages Cape Open physical properties for Matlab and gPROMS. The Mosaic project is supported by the Cluster of excellence ‘Unifying concepts in catalysis’ (Unicat) coordinated by TU Berlin and funded by the German Research Foundation. More on Mosaic and Cape-Open.

Click here to comment on this article

Click here to view this article in context on a desktop

© Oil IT Journal - all rights reserved.