Error in fitting Jiles Atherton model in compose
Description:
I’m using the Jiles_Atherton_Model
from Flux Identificaton Material in Altair Compose to perform a Jiles–Atherton BH curve fit on data exported from PSpice. I converted my PSpice output to a CSV with only two columns (H in A/m and B in T), removing the Time column since I only needed to plot B vs H. However, when I run the simulation I get the following error:
Error: user function failed in argument 1; goal_jiles could not be evaluated in function Jil_BHcurvefitting at line number 52 in file Jil_BHcurvefitting.omc
Product/Topic Name:
Altair Compose 2025
– Jiles_Atherton
model
Tags: #AltairCompose #Modelica #JilesAtherton #BHcurve
Find more posts tagged with
Hi @Vishnu20,
the issue you have encountered comes from the input file which contains too many (repeated) data. The data describe several hysteresis cycles, while the tool requires to have only one cycle.
Attached you can find a modified version of the .csv file, where several lines at the beginning as well as at the end have been deleted, without loosing relevant data.
Using this file, I succeeded with the Jiles-Atherton identification (see screenshot).
Hope this helps you; thanks.
Enrico
hi @Vishnu20,
I see you are running an encrypted .omc file. If you don't have the original .oml file, can you point me to where you found that one for me to take a further look? Thanks.
Rafael