.NeuralNetwork.Examples.HelloWorld

Information

Example showcasing how to replace block SimpleEquation

y = u^2 + 0.5u - 2

with artificial neural network surrogate PolynomNetwork.

A two-dimensional polynomial equation is approximmated with a dense feed-forward neural network. The network was generated using Python script from Notebook HelloWorld.ipynb.

Expected Results

Compare simulation results for variables reference and prediction.

HelloWorld.png
Generated at 2024-10-21T18:25:38Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos