Artificial Neural Networks

In class activities

Author
Published

September 10, 2023

Modified

September 9, 2024

Activities

Single-layer perceptron neural network

In a chemical processing plant, a critical valve is controlled based on three parameters: temperature, pressure, and reactant concentration, all within normalized ranges. Each parameter is represented as a binary input: 1 if the parameter is within the desired range, indicating favorable conditions for opening the valve, and 0 if it is outside the range, indicating unfavorable conditions. The decision to open the valve depends on these inputs to ensure safe and efficient operation.

  • Scenario 1: Low temperature, low pressure, optimal concentration.
  • Scenario 2: Optimal temperature, optimal pressure, optimal concentration.
  • Scenario 3: Optimal temperature, low pressure, optimal concentration.
  • Scenario 4: Low temperature, optimal pressure, optimal concentration.
Expected valve position
Temperature Pressure Concentration Valve Opens
0 0 1 0
1 1 1 1
1 0 1 1
0 1 1 0

Design a simple single-layer perceptron using MATLAB to learn this decision-making process based on the input parameters.

The code for single layer perceptron is in ann_single_layer_perceptron.mlx.

ANN modeling of Crystallization

To control the average crystal size in a crystallization process, it is essential to account for its dependence on two measurable variables:

  1. Mother liquor temperature T
  2. Mother liquor density ρ

Since average crystal size cannot be directly measured and requires offline laboratory analysis, there are inherent delays in controlling the crystallizer.

To predict crystal size using temperature T and density ρ, consider the following:

  1. Input transfer functions

    1. Feed flow rate (U1)

    (1)U1(s)=1s+1

    1. Stirrer Speed (U2)

    (2)U2(s)=12s+1

  2. Process Transfer functions

    1. Temperature (X1) is influenced by U1

    (3)X1(s)=(23s+1+0.22s2+1.1s+1)es

    1. Density (X2) is influenced by U2

    (4)X2(s)=es4s2+3s+1

  3. Dependency of average crystal size davg (Y) on temperature and density is given by

(5)davg=10+(0.8T+1.3ρ+1.1T21.9ρ2+0.6Tρ)

Develop an Artificial Neural Network (ANN) model to predict the average crystal size in a crystallization process based on measured temperature and density, which are influenced by feed flow rate and stirrer speed.

Citation

BibTeX citation:
@online{utikar2023,
  author = {Utikar, Ranjeet},
  title = {Artificial {Neural} {Networks}},
  date = {2023-09-10},
  url = {https://amc.smilelab.dev//content/notes/07-ANN_modelling/in-class-activities.html},
  langid = {en}
}
For attribution, please cite this work as:
Utikar, Ranjeet. 2023. “Artificial Neural Networks.” September 10, 2023. https://amc.smilelab.dev//content/notes/07-ANN_modelling/in-class-activities.html.