Question on ANN training

1 回表示 (過去 30 日間)
Bryan
Bryan 2019 年 7 月 18 日
コメント済み: Bryan 2019 年 8 月 6 日
I plan to use the feed forward back propagation ANN to train the data I have obtained from the PV system from SIMULINK. I have set my input data as the PV power and the output as the duty cycle values. At the end of this, I plan to replace my MPPT algorithm with this ANN which will predict the duty cycle by attaching it into a MATLAB function block in SIMULINK. However, I am getting an error with my training which says 'not between 0 and 1'. The image below shows the parameters I have set. I have attached my input and output data too.
Thanks!

採用された回答

Sourav Bairagya
Sourav Bairagya 2019 年 8 月 2 日
From the error statement (“not between 0 and 1”) which you are getting during training, it seems that your input data (PV Power) needs to be normalized in the range (0,1) before feeding to the ANN. I have checked the "PVPower.mat" file and data in this file are not normalized. Normalizing input data before training also enhances the performance of the network.
To normalize in that range you can use normalize function.
N = normalize(PVPower,'range')
For more details on normalization you can follow this link:
  1 件のコメント
Bryan
Bryan 2019 年 8 月 6 日
Hi Sourav,
It works after normalizing the data. Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePower and Energy Systems についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by