Code Monkey home page Code Monkey logo

process-dynamics-engine's People

Contributors

csianglim avatar eyqs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

process-dynamics-engine's Issues

Converting TF to SS

Control System Plant Simulator: A Framework for Hardware-In-The-Loop Simulation

By David Chandler

Masters thesis on CSPS (Control System Plant Simulator), a similar project written as a Win32 console app.

http://www.se.rit.edu/~se463/ResearchProject/CSPS/Control%20System%20Plant%20Simulator%20Thesis.pdf

Some sections of interest for improving this PDE project.

3.2.3 Plant Definition Types Supported

The Control System Plant Simulator package provided offers six different ways to define a plant, each of which, with the exception of the state space method, must be converted to a set of state space equations. The plant may be defined as a set of State Space matrices, as a transfer function defined by a numerator and denominator, as a transfer function defined by a set of poles and zeros, as a matrix of transfer functions defined either way, or as a set of nonlinear equations. Transfer functions are converted to state space equations as per the controller algorithm defined in Section 2.1.4. Matrices of transfer functions are converted to state space equations by converting each transfer function and placing the resultant state space matrix as a submatrix within the overall system matrix. Conversion of a set of nonlinear equations is performed as described in Section 2.1.7. New plant definition types may be added by modifying the PlantConfigurationManager class, and adding to the options available to the user when setting the plant.

2.1.3 State Space Equations

As noted earlier, defining systems with multiple inputs and multiple outputs (MIMO) in terms of transfer functions is cumbersome, as the number of transfer functions required is equal to the number of inputs multiplied by the number of outputs. More common is the use of a set of state space matrices. Ogata defines the term state to be “the smallest set of variables (called state variables) such that the knowledge of these variables at t = t0, together with the knowledge of the input for t ≥ t0, completely determines the behavior of the system for any time t ≥ t0” [28]. That is, the current output can be determined as a function of the current states and the current set of inputs. Additionally, the next state can be determined as a function of the current state and current set of inputs as well.

  • See Figure 3

Wood Berry Model: correction to steady state values

Link to paper: https://www.sciencedirect.com/science/article/pii/0009250973800259

According to Table A1 in the appendix, the typical steady state operating conditions are:

Composition

  • Top: 96 wt% methanol
  • Bottoms: 0.5 wt % methanol
  • Feed: 46.5 wt % methanol

Flow Rates

  • Top product: 1.18 lb/min
  • Top reflux: 1.95 lb/min
  • Bottoms: 1.27 lb/min
  • Steam: 1.71 lb/min
  • Feed: 2.45 lb/min

Note: The paper mentions the transfer functions for feed as a disturbance on page 1714:

  • $G_{BF}$ - transfer function, relating bottoms composition to feed flow rate
  • $G_{DF}$ - transfer function, relating overhead composition to feed flow rate

But I don't see the actual transfer functions in the paper? Other papers citing this paper has the TFs but where did they get them?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.