Skip to content

Feature/sector shaped support#23

Merged
amaurigmartins merged 53 commits intoElecta-Git:mainfrom
MohamedNumair:feature/sector-shaped-support
Mar 19, 2026
Merged

Feature/sector shaped support#23
amaurigmartins merged 53 commits intoElecta-Git:mainfrom
MohamedNumair:feature/sector-shaped-support

Conversation

@MohamedNumair
Copy link
Contributor

This is an added feature I added for the LineCableModels.jl to model the sector shaped cables commonly used in low voltage networks.

Geometry primitives adapted from: Urquhart, Andrew J., and Murray Thomson. 2014. “Cable Impedance Data”. Loughborough University. https://hdl.handle.net/2134/15544.

…DOs for nominal length and offset adjustments
…ting Sector and SectorInsulator geometries
…length parameter TODO: it is using thickness to divide!
…ulation and increase arc points for improved accuracy
…ectorParams struct. just testing validation.
I followed the rules so the sectors play nice with other cable parts, In hope of being accepted into the main branch.
@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

❌ Patch coverage is 61.73184% with 137 lines in your changes missing coverage. Please review.
✅ Project coverage is 42.33%. Comparing base (5b58095) to head (5d35cf6).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/engine/fem/drawing.jl 0.00% 60 Missing ⚠️
src/engine/fem/cable.jl 7.69% 36 Missing ⚠️
src/datamodel/sector.jl 85.54% 25 Missing ⚠️
src/importexport/cableslibrary.jl 0.00% 14 Missing ⚠️
src/datamodel/sectorinsulator.jl 94.59% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
+ Coverage   41.45%   42.33%   +0.87%     
==========================================
  Files         135      137       +2     
  Lines        9865    10265     +400     
==========================================
+ Hits         4090     4346     +256     
- Misses       5775     5919     +144     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@amaurigmartins amaurigmartins merged commit 1cebbc8 into Electa-Git:main Mar 19, 2026
5 checks passed
@amaurigmartins amaurigmartins deleted the feature/sector-shaped-support branch March 19, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants