Skip to content

Releases: HugoMVale/polykin

polykin 0.8.0

30 May 15:38

Choose a tag to compare

The main changes include:

  • Extend module polykin.math:

    • add machine constants module polykin.math.machine and expose it at the top-level math namespace.
    • add optimization subpackage polykin.math.optimization with:
      • one-dimensional methods: fmin_brent, fmin_secant.
      • multidimensional methods: fmin_qnewton, fmin_nelder_mead.
      • shared global strategies/utilities: line_search, dogleg.
      • dedicated optimization result types: OptimumResult, VectorOptimumResult.
  • Extend/refactor module polykin.math.fixpoint:

    • add new fixed-point solvers: fixpoint_damped, fixpoint_dem, fixpoint_steffensen.
    • update existing solvers (including Anderson and Wegstein implementations) for improved consistency with the new math infrastructure.
  • Refactor module polykin.math.roots:

    • move q-Newton vector root solver implementation to polykin.math.roots.qnewton.
    • keep scalar/root result APIs while aligning internals with shared machine constants and optimization helpers.
  • Improve numerical infrastructure in polykin.math.derivatives and polykin.math.special:

    • substantial updates to numerical differentiation routines.
    • internal cleanup of special-function implementations.
  • Internal consistency updates across the codebase:

    • migrate numerical precision constants usage from polykin.utils.math to polykin.math.machine.
    • update dependent modules in kinetics, transport, thermo, properties, and copolymerization to use the new math utilities.
  • Compatibility notes:

    • imports from polykin.math.roots.vector should be migrated to the current roots API.
    • code importing eps, huge, or tiny from polykin.utils.math should migrate to polykin.math.machine.

polykin 0.7.0

12 Apr 11:40

Choose a tag to compare

The main changes include:

  • Extend polykin.thermo.acm module:

    • rename base classes.
    • expose/doc base class MolecularACM.
    • add default gamma implementation.
    • add ScatchardHildebrandand ScatchardHildebrand_gamma.
  • Extend polykin.thermo.eos module:

    • expose/doc base classes GasEoS and CubicEoS.
    • GasEoS gained default implementation for P, phi.
    • GasEoS gained methods beta, gR, aR, hR, sR, vR.
    • GasLiquidEoS gained methods beta, kappa.
  • Extend/refactor polykin.thermo.flash module:

    • add method K_Wilson.
    • FlashResult was renamed to Flash2Result.
  • Extend module polykin.kinetics.emulsion:

    • add SE methods: nbar_Ugelstad, n2bar, compartmentalization_factor.
    • add radical entry methods: kentry_collision, kentry_diffusion, kentry_diffusion_reversible.
    • add radical desorption methods: kdesorption_Asua, K0_Nomura.
  • Refactor polykin.properties.pvt.Tait:

    • Tait.beta(...) was renamed to Tait.kappa(...) and now represents the isothermal compressibility factor.

polykin 0.6.0

20 Dec 18:46
042c653

Choose a tag to compare

The main changes include:

  • Refactor pvt and pvt_polymer.
    • remove Flory, SanchezLacombe and HartmannHaque.
    • move Tait to pvt.
  • Split transport module into flow and hmt.
  • Extend flow module:
    • add pressure relief valve calculation methods.
    • add rheological models.
  • Refactor and extend the math module:
    • add root_brent, rootvec_qnewton.
    • add fixpoint_anderson, fixpoint_wegstein.
    • add jacobian_forward, hessian_forward.
  • Extend thermo module:
    • add flash2_PT, flash2_PV, flash2_TV.

polykin 0.5.7

24 Aug 09:41

Choose a tag to compare

Full Changelog: v0.5.6...v0.5.7

v0.5.6

29 Oct 07:53
1c98f62

Choose a tag to compare

bump to 0.5.6

v0.5.5

06 May 18:45
381c817

Choose a tag to compare

bump to 0.5.5