How To Change MSE Performance function Input Arguments ?

2 views (last 30 days)
i would like to implement a recurrent neural network to control a dynamic system , i need to use 2 of my net input arguments as variables of error function instead of network targets and outputs ,so system will dynamically gets to an optimum point. but i cant change mse inputs. in mse code we have mse(net,varargin) so i cant change varargin in my mse code (i have made a copy of mse.m and it works fine without any modifications) because i dont know where varargins are taken and any change will lead to errors. so is there any solution ?
  6 Comments
Greg Heath
Greg Heath on 19 Jul 2015
Not yet.
Why does the e arrow go thru the box with the arrowhead sticking out?
Why does the w* line have no arrowhead?
What are vw, w, Po, Pm and w* ?
What is causing the system to be recurrent?
Amin K
Amin K on 19 Jul 2015
Edited: Amin K on 19 Jul 2015
e arrowhead is symbolically sticked out , its not really an output of neural network. i just cropped this part of system to show schematic of neural network, w* goes to pid controller and causes Po increase to get closer to Pm .
vw is mechanical speed makes shaft of a asynchronous generator rotate, w* and w are rotational speed of rotor reference value and realtime value respectively, po is power generated of machine and pm is maximum power.
w* causes w and po to increase and because of po and pm being variables of error function, network's weights get updated continuously till e gets near zero then weights stay constant and system works at optimum point untill vw changes and the whole procedure starts over.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!