Releases: opusonesolutions/carsons
Build specification using pyproject.toml
we switch to pyproject.toml for specifying the build for carsons
; in addition, we update the CI testing and add some extra linting steps such as black; we also switch from pytest-mypy to directly calling mypy using pre-commit
Support for tape shield cables
carsons
now supports modelling of tape shield cables with any phasings.
What's Changed
- Use GitHub actions for CI by @AnjoMan in #43
- Support Tape-shielded cables by @EmilyYLMa in #37
Full Changelog: 0.5.0...1.0.0
try publishing using GITHUB actions
0.5.1alpha1 Update publish step
Support calculating sequence impedances
Sequence Impedances can be calculated from phase-impedance matrix using the formula z₀₁₂ = Aₛ⁻¹ ⋅ z_abc ⋅ Aₛ
. This release adds calculate_sequence_impedance_matrix
which implements this formula, as well as calculate_sequence_impedances
which reduces the impedance to a balanced z1
, z0
pair. H/T to @bluejuniper for the implementation
Fix multiconductor radius specification
Refactors the MultiConductor model inputs to specify outsideRadius
and not radius
/insulation_thickness
. This disambiguates radius
, which could be interpreted by some as the radius of the inner conductor, or some other radius.
Support Multi-Conductor Cables
carsons
now support modelling of multi-conductor cables, such as duplex, triplex, quadruplex and triplex secondary.
Support type-hinting
Adds type-hinting to improve the readibility of carsons
; also adds a py.typed
file to support using mypy
on code that depends on carsons
.
Add a configurable frequency
Carsons now supports adding a frequency
attribute to line models, allowing support for modelling line impedance in circuits operating at frequencies other than 60hz.
Force README.md to load as UTF-8
This bug-fix addresses #27, where it was found that on systems that did not have a default encoding of UTF-8
python was opening the readme file during installation and then failing when it encountered unicode characters. By opening the readme with a specified encoding of UTF-8
, we can ensure that carsons
will install on any system that supports this encoding.