Amoss: Improving Simulation Speed and Numerical Stability of Large-Scale Mixed Continuous/Conditional Stochastic Differential Simulations

Show simple item record

dc.contributor.advisor Sandrock, Carl
dc.contributor.postgraduate Pretorius, Deon
dc.date.accessioned 2021-02-03T07:49:40Z
dc.date.available 2021-02-03T07:49:40Z
dc.date.created 2021-04
dc.date.issued 2021
dc.description Dissertation (MEng (Control Engineering))--University of Pretoria, 2021. en_ZA
dc.description.abstract Amoss is an equation-orientated stochastic simulation platform, developed on open-source software. It is designed to facilitate the development and simulation of Sasol value chain models using the Moss methodology. The main difficulties with the original Moss methodology was that plant recycles were difficult to incorporate and that plant or model changes meant rebuilding the entire Moss model. The first version of automatic-Moss was developed by Edgar Whyte in an effort to address these problems. It was successful as a proof of concept, but generated simulations were numerically unstable and very slow. A second version of the tool was to be developed to address numerical stability and simulation speed. The stochastic simulations stemming from Amoss models are large-scale and contain mixed continuous/conditional algebraic equation sets, with first order stochastic differential equations. Additionally, optimal flow allocation as a disjunctive optimisation is often encountered. The complexity of these factors makes finite difference approximation the main solution. The equation ordering, simulation approach and code generation features of the Amoss tool were investigated and re-implemented. A custom equation ordering method, which uses interval arithmetic and weighted maximal matching for numerically stable matching, followed by Dulmage-Mendelsohn decomposition and Cellier’s tearing, was implemented. For implicitly ordered systems, a fixed-point iterative Newton method, where conditional variables are separated from continuous variables for solving stability, was implemented. The optimal allocation problem with heuristic allocation was generalised to plants with recycles. Fast simulation code utilising parallel processing, efficient solving and function evaluation, efficient intermediate data storage and fast file writing, was implemented. Amoss simulations are now substantially faster than the industry equivalent and can reliably model Moss methodology problems. en_ZA
dc.description.availability Unrestricted en_ZA
dc.description.degree MEng (Control Engineering) en_ZA
dc.description.department Chemical Engineering en_ZA
dc.description.sponsorship Sasol en_ZA
dc.identifier.citation * en_ZA
dc.identifier.other A2021 en_ZA
dc.identifier.uri http://hdl.handle.net/2263/78215
dc.language.iso en en_ZA
dc.publisher University of Pretoria
dc.rights © 2019 University of Pretoria. All rights reserved. The copyright in this work vests in the University of Pretoria. No part of this work may be reproduced or transmitted in any form or by any means, without the prior written permission of the University of Pretoria.
dc.subject Equation ordering en_ZA
dc.subject Code generation en_ZA
dc.subject Simulation en_ZA
dc.subject Chemical engineering en_ZA
dc.subject Monte Carlo simulation en_ZA
dc.subject UCTD
dc.title Amoss: Improving Simulation Speed and Numerical Stability of Large-Scale Mixed Continuous/Conditional Stochastic Differential Simulations en_ZA
dc.type Dissertation en_ZA


Files in this item

This item appears in the following Collection(s)

Show simple item record