Skip to content

v0.5.0

Compare
Choose a tag to compare
@AndreaBlengino AndreaBlengino released this 21 Jan 21:07
· 209 commits to master since this release
91d2b6f

This release contains:

  • Development:
    • create Current and Angle units
    • add units format method and possibility to calculate the opposite of a unit
    • add electric_current and pwm properties and time variables to DCMotor
    • update Transmission and Solver to manage electric_current and pwm 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 control DCMotor's pwm
    • edit Solver to integrate motor control
    • create AbsoluteRotaryEncoder and Tachometer sensors
    • create basic rules to control DCMotor's pwm
  • Tests:
    • update external_torque tests
    • update tests according to eletric_current and pwm modifications
    • update tests according to Transmission and Solver last modifications
    • add DCMotor animation tests
    • add Angle and Current tests
    • add AbsoluteRotaryEncoder and Tachometer tests
    • add motor control basic rules tests
    • improve composite strategies tests
  • Maintenance:
    • fix some typo in documentation and tests
  • Enhancement:
    • improved external_torque input checks
    • add check in Transmission.snapshot on target_time parameter value outside simulation limits
    • complete type hinting
    • simplify DCMotor.compute_torque's formula
    • DCMotor.compute_torque assigns computed value to driving_torque and returns None
    • move simulation parameter from Solver instantiation to Solver.run method
    • improve error messages
  • Bug:
    • fix bug on simulation final time step
    • fix bug on Solver operation order
    • remove Transmission.snapshot NaNs
  • Documentation:
    • add documentation for new units
    • add documentation for new DCMotor properties
    • update Transmission and Solver documentation
    • add DCMotor animation documentation
    • add sensors documentation
    • add rules documentation
    • add PWM control documentation
    • add more usage examples for new features