Skip to content

Comments

Feature/sector shaped support#23

Open
MohamedNumair wants to merge 46 commits intoElecta-Git:mainfrom
MohamedNumair:feature/sector-shaped-support
Open

Feature/sector shaped support#23
MohamedNumair wants to merge 46 commits intoElecta-Git:mainfrom
MohamedNumair:feature/sector-shaped-support

Conversation

@MohamedNumair
Copy link

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.86441% with 135 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.69%. Comparing base (7915047) to head (5293c2a).
⚠️ Report is 93 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 0.00% 34 Missing ⚠️
src/datamodel/sector.jl 85.54% 25 Missing ⚠️
src/importexport/cableslibrary.jl 6.66% 14 Missing ⚠️
src/datamodel/sectorinsulator.jl 94.59% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
- Coverage   52.08%   47.69%   -4.39%     
==========================================
  Files          94      114      +20     
  Lines        6854     9013    +2159     
==========================================
+ Hits         3570     4299     +729     
- Misses       3284     4714    +1430     

☔ 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.

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.

1 participant