Skip to content

Hysteresis#256

Closed
friedolino78 wants to merge 5 commits intozynaddsubfx:masterfrom
friedolino78:Hysteresis
Closed

Hysteresis#256
friedolino78 wants to merge 5 commits intozynaddsubfx:masterfrom
friedolino78:Hysteresis

Conversation

@friedolino78
Copy link
Contributor

this PR adds a new effect Hysteresis that should implement the Jiles-Atherton model of magnetic hysteresis

@friedolino78
Copy link
Contributor Author

gui PR: mruby-zest/mruby-zest-build#106

@fundamental
Copy link
Member

It looks like you're experimenting around with different methods. Locally I can use the first approach (with modifications) to get to something that does work and is symmetric, though I can see how simple parameter changes can get you to the asymmetry issue you've noted this effect can have.

The below are what I get from implementing the Static Jiles-Atherton Model from Dynamic Jiles-Atherton Model for Determining the Magnetic Power Loss at High Frequency in Permanent Magnet Machines (Though I don't know what they're talking about with the δ variable as the method appears to fail to converge unless δ==+1.0)

magnetic-field
xyplot

And a bonus saw wave:

magnetic-field-saw

It looks like your second stab at the problem is still a WIP, so I'll let you continue to hack away at the system of equations.

@friedolino78
Copy link
Contributor Author

I got a little bit lost with these algorithms. I want exactly what you did.

@fundamental
Copy link
Member

Rename the linked .txt file to html and you should be able to see the notebook that was able to generate the figures. As mentioned in the document it's not something suitable for deployment to a full algorithm. For that use case you'd want something where you had more of a closed form solution as opposed to the crude iterative numeric method I cobbled together.

2023-07-29-hysteresis.jl.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants