Full Text Available

Note: Clicking the button above will open the full text document at the original institutional repository in a new window.

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

Dissertation (MEng (Control Engineering))--University of Pretoria, 2021.

Saved in:
Bibliographic Details
Other Authors: Sandrock, Carl
Format: Thesis
Language:English
Published: University of Pretoria 2021
Subjects:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1867613654508109824
access_status_str Open Access
author2 Sandrock, Carl
author_browse Sandrock, Carl
author_facet Sandrock, Carl
collection Thesis
dc_rights_str_mv © 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.
description Dissertation (MEng (Control Engineering))--University of Pretoria, 2021.
format Thesis
id oai:repository.up.ac.za:2263/78215
institution University of Pretoria (South Africa)
language English
last_indexed 2026-06-10T12:39:35.267Z
license_str Other — see source repository
provenance_str_mv Harvested via OAI-PMH from UPSpace — University of Pretoria Institutional Repository
publishDate 2021
publishDateRange 2021
publishDateSort 2021
publisher University of Pretoria
publisherStr University of Pretoria
record_format dspace
source_str UPSpace — University of Pretoria Institutional Repository
spelling oai:repository.up.ac.za:2263/78215 Amoss: Improving Simulation Speed and Numerical Stability of Large-Scale Mixed Continuous/Conditional Stochastic Differential Simulations Sandrock, Carl u13160312@tuks.co.za Pretorius, Deon Equation ordering Code generation Simulation Chemical engineering Monte Carlo simulation UCTD Engineering, built environment and information technology theses SDG-07 Engineering, built environment and information technology theses SDG-09 Engineering, built environment and information technology theses SDG-12 Dissertation (MEng (Control Engineering))--University of Pretoria, 2021. 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. Sasol mi2026 Chemical Engineering MEng (Control Engineering) Unrestricted SDG-07: Affordable and clean energy SDG-09: Industry, innovation and infrastructure SDG-12: Responsible consumption and production 2021-02-03T07:49:40Z 2021-02-03T07:49:40Z 2021-04 2021 Dissertation * A2021 http://hdl.handle.net/2263/78215 en © 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. application/pdf University of Pretoria
spellingShingle Equation ordering
Code generation
Simulation
Chemical engineering
Monte Carlo simulation
UCTD
Engineering, built environment and information technology theses SDG-07
Engineering, built environment and information technology theses SDG-09
Engineering, built environment and information technology theses SDG-12
Amoss: Improving Simulation Speed and Numerical Stability of Large-Scale Mixed Continuous/Conditional Stochastic Differential Simulations
title Amoss: Improving Simulation Speed and Numerical Stability of Large-Scale Mixed Continuous/Conditional Stochastic Differential Simulations
title_full Amoss: Improving Simulation Speed and Numerical Stability of Large-Scale Mixed Continuous/Conditional Stochastic Differential Simulations
title_fullStr Amoss: Improving Simulation Speed and Numerical Stability of Large-Scale Mixed Continuous/Conditional Stochastic Differential Simulations
title_full_unstemmed Amoss: Improving Simulation Speed and Numerical Stability of Large-Scale Mixed Continuous/Conditional Stochastic Differential Simulations
title_short Amoss: Improving Simulation Speed and Numerical Stability of Large-Scale Mixed Continuous/Conditional Stochastic Differential Simulations
title_sort amoss improving simulation speed and numerical stability of large scale mixed continuous conditional stochastic differential simulations
topic Equation ordering
Code generation
Simulation
Chemical engineering
Monte Carlo simulation
UCTD
Engineering, built environment and information technology theses SDG-07
Engineering, built environment and information technology theses SDG-09
Engineering, built environment and information technology theses SDG-12
url http://hdl.handle.net/2263/78215