Releases: AndreaBlengino/gearpy
Releases · AndreaBlengino/gearpy
1.1.0
v1.0.0
This release contains:
- Documentation:
- add dependencies badge
- prevent
ReadTheDocs
to build the documentation without a valid release tag
- Maintenance:
- fix downcasting object
pandas
warning
- fix downcasting object
- Bug:
- fix bug in
tox.ini
markers
- fix bug in
- Release:
- update Python version dependency
- review dependencies versions
v0.7.2
This release contains:
- Tests:
- make workflow building more robust
- Enhancement:
- remove requirements files
- remore requirements reference from
.readthedocs.yaml
andtox.ini
- Bug:
- split package building in order to avoid invalid versions
v0.7.1
This release contains:
- Tests:
- update Github test workflows in order to test also package building
- update building tools in test workflows
- Maintenance:
- update author email
- remove unused type hinting
- Enhancement:
- update tupe hinting from
__future__
- update tupe hinting from
- Bug:
- include data
.csv
files in package building
- include data
- Release:
- create a
pyproject.toml
file - update building tools in release workflow
- create a
v0.7.0
This release contains:
- Development:
- create
StopCondition
- edit
Solver
to handleStopCondition
- create
Amperometer
sensor - create function and
Powertrain
method to export computed time variables
- create
- Tests:
- add
StopCondition
tests - add
Amperometer
tests - add time variables export function tests
- update existing tests
- split GitHub workflows for different OS
- add
- Maintenance:
- fix some typos in documentation
- remove unused variables
- Enhancement:
- move simulation parameters from
Solver
instantiation toSolver.run
method - make private some attributes of
Solver
,PWMControl
andrules
- move simulation parameters from
- Bug:
- fix bug in
WormGear.tangential_force
computation - fix bug in
Powertrain.plot
label visualization
- fix bug in
- Documentation:
- fix documentation broken links
- add
StopCondition
documentation - add
Amperometer
documentation - add export function and method documentation
- add
StopCondition
andAmperometer
usage example - add contribution to front page
- add time variables examport usage example
- update existing usage examples
- resize usage example images to improve readability
- replace directives with Sphinx admonitions
- add cross-reference links
- remove private attribute documentation
- add Lewis factor table
- refractor badges
- update test workflows' badges
- convert
README.md
inREADME.rst
v0.6.0
This release contains:
- Development:
- create
Timer
sensor - create
ConstantPWM
rule to control aDCMotor
at a constantpwm
- create
HelicalGear
,WormGear
andWormWheel
rotating objects - create
Current
andAngle
units - update utilities to handle
HelicalGear
,WormGear
andWormWheel
- add trigonometric methods to
Angle
andAngularPosition
- add self-locking property to
Powertrain
- edit
Solver
to handle self-locking property
- create
- Tests:
- add
Timer
tests - add
ConstantPWM
tests - add
HelicalGear
,WormGear
andWormWheel
tests - update utilities tests
- update
Powertrain
tests - update
Solver
tests - move common test to
slave
andgear
folders - remove redundant composite strategies
- remove test deadlines
- add
- Maintenance:
- fix some typos in tests and documentation
- Enhancement:
- make rules' attributes read-only properties
- rename
Transmission
toPowertrain
- move mechanical objects to separate files
- move rules to separate files
- move sensors to separate files
- update tests structure according to code re-organization
- convert
float
pressure_angle
toAngle
instance - remove redundant abstract methods
- improve legend in stress
Powertrain.plot
- Bug:
- fix bug on load torque computation not taking into account mating efficiency
- Documentation:
- add cross reference links to usage examples
- add rules' properties documentation
- add
Timer
documentation - add
ConstantPWM
documentation - add
HelicalGear
,WormGear
andWormWheel
documentation - add trigonometric methods documentation
- update usage examples
- add new utilities documentation
- add link to example code in documentation
- add worm and helical gear usage example in documentation
- add multiple simulation concatenation usage example in documentation
- add logo
- Release:
- extend support to Python 3.12
v0.5.0
This release contains:
- Development:
- create
Current
andAngle
units - add units format method and possibility to calculate the opposite of a unit
- add
electric_current
andpwm
properties and time variables toDCMotor
- update
Transmission
andSolver
to manageelectric_current
andpwm
properties - edit
Transmission.snapshot
to select variables to be printed - add multiple simulation concatenation feature
- add simulation result reset through
Transmission.reset
- create DC motor animation function
- create
PWMControl
to controlDCMotor
'spwm
- edit
Solver
to integrate motor control - create
AbsoluteRotaryEncoder
andTachometer
sensors - create basic rules to control
DCMotor
'spwm
- create
- Tests:
- update
external_torque
tests - update tests according to
eletric_current
andpwm
modifications - update tests according to
Transmission
andSolver
last modifications - add
DCMotor
animation tests - add
Angle
andCurrent
tests - add
AbsoluteRotaryEncoder
andTachometer
tests - add motor control basic rules tests
- improve composite strategies tests
- update
- Maintenance:
- fix some typo in documentation and tests
- Enhancement:
- improved
external_torque
input checks - add check in
Transmission.snapshot
ontarget_time
parameter value outside simulation limits - complete type hinting
- simplify
DCMotor.compute_torque
's formula DCMotor.compute_torque
assigns computed value todriving_torque
and returnsNone
- move simulation parameter from
Solver
instantiation toSolver.run
method - improve error messages
- improved
- Bug:
- fix bug on simulation final time step
- fix bug on
Solver
operation order - remove
Transmission.snapshot
NaN
s
- Documentation:
- add documentation for new units
- add documentation for new
DCMotor
properties - update
Transmission
andSolver
documentation - add
DCMotor
animation documentation - add sensors documentation
- add rules documentation
- add PWM control documentation
- add more usage examples for new features
v0.4.0
This release contains:
- Development:
- create
Length
,Force
,Surface
andStress
units - add
module
,reference_diameter
,lewis_factor
,face_width
,elastic_modulus
,tangential_force
,bending_stress
,contact_stress
,tangential_force_is_computable
,bending_stress_is_computable
,contact_stress_is_computable
andmating_role
properties toSpurGear
- add
compute_tangential_force
,compute_bending_stress
,compute_contact_stress
methods toSpurGear
- allow units absolute value computation
- allow mating between gears only if they have the same
module
- update
Solver
to compute forces and stresses - update
Transmission.snapshot
andTransmission.plot
to deal with new forces and stresses time variables
- create
- Tests:
- add tests for new units
Length
,Force
,Surface
andStress
- update
SpurGear
tests according to new properties and methods - update
Transmission
tests - update
Solver
tests - update
utils
tests
- add tests for new units
- Enhancement:
- move general units operators to abstract base class
- Documentation:
- fix installation documentation link
- update dependencies documentation
- fix docstrings vocabulary
- add documentation pages for new
SpurGear
properties and methods - update first usage example
- add second usage example
- Releasing:
- move dependencies in specific separate files
- update dependencies
v0.3.0
This release contains:
- Development:
- create mechanical object
Flywheel
Transmission
accept only mechanical objects with unique names- move
time
property fromSolver
toTransmission
- add method
Transmission.snapshot
to get a snapshot of the mechanical transmission status at a specific time - add method
Transmission.plot
to plot the time variables of the mechanical transmission elements - add more available units
- create mechanical object
- Tests:
- add tests for
Flywheel
- add tests for
Transmission.snapshot
- add test for
Transmission.plot
- reorganized tests folder
- limit test data range to avoid overflow errors
- add tests for
- Enhancement:
- simplify package structure
- Documentation:
- add docstrings
- add installation instructions
- add Usage Example documentation
- improve type hinting
- update main
README.md
- Releasing:
- add
matplotlib
,numpy
andscipy
dependencies - update
requirements.txt
file - update
setup.py
file
- add
v0.2.0
This release contains:
- Development:
- create base class
UnitBase
- create Unit classes
AngularPosition
,AngularSpeed
,AngularAcceleration
,InertiaMoment
,Torque
,Time
andTimeInterval
- add operators to combine and compare classes based on
UnitBase
- create base class
- Tests:
- create tests for classes based on
UnitBase
- update existing tests to deal with new
UnitBase
API
- create tests for classes based on
- Maintenance:
- Fix some typos
- Improve error messages
- Documentation:
- update main
README.md
- create
CONTRIBUTING
file, pull request, bug report and feature request templates - create documentation structure
- change documentation theme
- update main
- Releasing:
- update
setup.py
file
- update