Skip to content

Releases: pyroll-project/pyroll-core

v2.1.0

29 Aug 14:29
67f86ef
Compare
Choose a tag to compare

The first feature update of PyRolL 2 provides a couple of convenience features, technical features and several new hooks.

Major features

  • Possibility to give callables of one parameter (self) as explicit values to any hook to quickly specify a local dynamic value. The function will be evaluated at every hook call. #79
  • Possibility to define wrapper hook functions, that will automatically delegate the hook call to other functions lower in the pipeline. This offers the possibility of modifying values of underlying models. Wrappers will be executed before all normal hook functions. #74
  • Add Profile.fits_material() as a standard way of checking material keys in parameter databases. #71
  • Add hooks related to elongation efficiency, a measure of the relation between spread and elongation. #66
  • Add hooks related to cross-section filling and target filling. #83
  • Add hooks regarding energy consumption and power. #85
  • Add convenience plot methods to profiles, roll passes and grooves. #82

Minor features

  • Add support for rich repr strings. 9ee26b4
  • Add Unit.prev_of and Unit.next_of methods. #75
  • Add properties to profiles and grooves for getting the constructor arguments. #84
  • Add a type property to Hook. #88

Bugfixes

  • Add default strain=0 for profiles. #78
  • Add transport velocity fallback to previous pass velocity. #77
  • Let get the pass sequence out profile the values from last subunit as fallback. #73
  • Default duration of rotator is now 0. #70
  • Default profile length = 0 now in Unit.InProfile. #72
  • Remove updating the out profile from the last disk element. #89

Acknowledgements

We want to thank G. Rothenbucher and K. van Putten for their valuable suggestions and feedback.

v2.0.3

21 Jul 14:26
5da8200
Compare
Choose a tag to compare

Bugfixes:

  • Fix Issue #62 (PR #63)
  • Fix Issue #64 (PR #65)
  • Fix Height Calculation of Three Roll Passes (PR #68)

Features:

  • Add a couple of new hooks to rolls (PR #69)

v2.0.2

11 Apr 13:50
Compare
Choose a tag to compare

Bugfixes:

  • incorrect references in some ThreeRollPass hook impls
  • use usable_cross_section as starting value for out profiles in roll passes to avoid zero draught
  • add root hook fallbacks to transfer in_profile state to out profiles in iterations of sequences
  • fix returning the ConfigValue instance when getting from type(Config)

Features:

  • add hook deformation_resistance on DeformationUnit

v2.0.1

11 Apr 13:40
8259f2b
Compare
Choose a tag to compare

Bugfixes:

  • fix transfer of profiles through the pass sequence
  • fix failed convergence of profile width

Features:

  • add usable and tip cross-sections
  • make HookFunction a context manager

v2.0.0

16 Mar 08:57
Compare
Choose a tag to compare
  • Split of old pyroll package into pyroll-core, pyroll-report, pyroll-export and pyroll-cli.
  • Complete reworking of the hook system.
    • Implementation of own hooking framework and removal of pluggy.
    • Simpler user interface for hook definition and implementation.
    • More orthodox default hook implementations, removal of "basic models".
  • Rework of the object model.
    • Stricter hierarchy of unit classes.
    • Extended possibilities of groove definition.
    • Roll passes with three working rolls.
    • New unit classes: Rotator, PassSequence, ThreeRollPass.
    • Introduction of disk elements for incremental modelling in rolling direction.
    • Nestable units (esp. pass sequences and disk elements).