Releases: pyroll-project/pyroll-core
Releases · pyroll-project/pyroll-core
v2.1.0
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
andUnit.next_of
methods. #75 - Add properties to profiles and grooves for getting the constructor arguments. #84
- Add a
type
property toHook
. #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
v2.0.2
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 fromtype(Config)
Features:
- add hook
deformation_resistance
onDeformationUnit
v2.0.1
v2.0.0
- Split of old
pyroll
package intopyroll-core
,pyroll-report
,pyroll-export
andpyroll-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).