Preisach Developer
It's all very simple stuff, and while it is useful for people to learn by developing their own code, I believe that libraries should be available, in all languages, for import and use by users.
-
-
Rosetta Code
javascript
preisachjs & preisachjs_utils
-
Algorithms
Update function
Clearly the update function can be done in a way that is more efficient than updating an entire list of thermostats. e.g.
e.g. with a 2D representation of hysterons we could:
-
update only the specific row/col of hysterons whose thresholds were crossed
with model output being updated by the difference between the two.
-
store row vals and col vals.
-
even asynchronously calculate and store only the next row vals and col vals.
Distribution manager
Having satisfied the identification principles it is typical to fit a density function to the data. A uniform distribution is nice for many reasons but limited for many reasons.
Benchmarks
- Write test bench and upload some benchmarks