Repository navigation
LineCableModels 0.1.0 - #69
Merged
Merged
Conversation
Let the Val guard take a literal tag after a formula type as the callee of a method. Count such a method as physics of the formula in the registry guard, which now refuses a formula identified by the router symbol. Keep the case of a one-letter piece in the chunker, so that two symbols that differ by case are two terms. The fields Z and Y of the line parameters are then their own symbols. Extend the planted and clean probes of the three guards, and state on the rules page that the router selects no formula.
Hold the complex path in SpectralIntegral. Its constructor chooses the path and writes the breakpoints. The integrate method maps the coordinate and applies the Jacobian, and the kernels of the unified formula take the spectral coordinate. This removes ray! and the points keyword. Add Λ, the direct and image mean of the earth-return family, public in Engine and at the root, with its methods on the family formula. The unified formula applies its source-column scaling to the value of Λ. That reorders floating-point products. Zg, Pg, Z and Y move by at most 9.6e-16 of the largest diagonal entry. Zin and Pin stay bitwise. Move the term points to the Gmsh extension, its one user now.
Write each expression of the cable formulas and the laws as a method of its own formula type, with the symbols of its docstring. The recipes and the Gmsh model call the formula. The functions impedance, resistivity and properties leave Engine and the root, and admittivity stays as the recipe by class on the formulation. Return an earth layer from the earth law, so that a model of the equivalent earth reads the layers that the law describes. The finite-element model stores those layers per frequency.
Rename the unified formula to martins2026 and split its physics from its bookkeeping. Each integrand is a tagged method of the formula in the spectral coordinate, and to_buffer! moves the terms of the paper into the block of the formula, keyed by the symbols of its docstring. This removes prepare!, and from_buffer returns the block. Add the recipe of the earth step on the formulation. It fills Zg and Pg pair by pair from the variants of the formula, and no formula writes a matrix. The shunt step takes the buffers. Add the ideal formula, the images of an earth without losses, as a formula of one quantity beside martins2026.
Hold the earth slots as records of a formula per domain of a pair. The recipes of the earth step take an arm per domain. One selection fills the three domains, and a selection per domain leaves the others to the default. Lift every slot through one select tagged by the slot. The default of a slot is one method, and the symbol default resolves to it at construction. Compute the distinct formulas once and store them in the formulation. Add the slot equivalent_earth with the bottommost model. The law describes each layer, and the model reduces the described layers to one.
Rewrite the rules, architecture, guide and theory pages for the layer. The physics of a formula is its callable, and the formulation assembles the matrices. One select routes every slot, and each earth slot records a formula per domain of a pair. Add the symbols and the identifier rule to the conventions, and the paper to the bibliography. Move the call forms of the callables to the Formulas block of each family. Julia keys the docstring of a callable by its argument types alone. Its signature does not render, and two formulas of one family share one text.
The mean was real on its logarithmic limits and complex elsewhere. Its type followed the value of an argument. Return a complex number on every branch, and the same from the variants of the ideal formula. Tie the interface kernels to the averaged correction of the paper in the docstring of the family.
An earth model takes any number of finite layers above its semi-infinite last layer. The law describes the earth layers, the air passes, and the model reduces the described layers to the one earth the formulas read. FEM gains the slot equivalent_earth, and the Gmsh model reads that earth. Refuse a nonzero longitudinal wavenumber for an earth formula that does not read it, because a result records its formulation.
The capped real stretch ends the air PML at 100 half-widths and truncates the field that a buried source transmits into air. The voltage of a conductor in air integrates that field. So the cap applies only when every conductor lies below the interface. Regenerate the FEM rows of the overhead and mixed references at e41bba13.
The insulation and semicon admittance families gain :lossy. Its real part holds the conduction of rho and the polarization loss of tan_delta, and its imaginary part the displacement current of :lossless. No slot selects it by default, and every reference keeps its values.
The internal impedance family gains :wedepohl1973: a thin tube by equations (4) to (6) of the paper, a solid conductor by its equation (3). A computation warns on a tube beyond the bound of the paper. No slot selects the new formula by default, and every reference keeps its values.
Soil layers gain the laws of the literature, with the parameters of each source as options. A computation warns when its scan leaves the stated range of its law. The default law is still :constant, and every reference keeps its values.
The public constants take the symbols of the equations, which pair with mu_r and eps_r in the code. Their values and every result are unchanged.
A layered earth reduces to one layer by the equivalent conductivity of Martins-Britto or the equivalent propagation constant of Xue. A layer takes any finite relative permittivity, since the second is negative where the stack is inductive. A finite-element computation now validates the problem against its formulas, as a coaxial one does.
The impedance of overhead conductors by the complex depth of Gary, and of buried conductors by Wedepohl and Wilcox and by Saad. A formula now declares the pairs it treats, and a computation refuses one placed where it treats none. Gary and Saad refuse a magnetic earth, and Wedepohl warns outside its bound. The default formulas and the references are unchanged.
The mutual impedance of an overhead and a buried conductor by Lucca and by Ametani. Each takes the mixed place of the slot, and both refuse a magnetic earth. The default formulas and the references are unchanged.
A block of keyword lines writes a formulation, and tags select per domain. The macros lower to the constructor and do not add a capability. The default formulas and the references are unchanged.
The correction integral of Carson for overhead conductors, on the path of the spectral integral. It refuses a magnetic earth, and a test holds it to the series of the paper. The default formulas and the references are unchanged.
The Green functions of Pollaczek for buried and mixed pairs, on the spectral path. The formula gives the impedance alone and refuses a magnetic earth. The default formulas and the references are unchanged.
The buried earth return of Papadopoulos, with impedance and potential coefficients on the spectral path. The direct and image term takes the closed form of the paper. The default formulas and the references are unchanged.
The overhead impedance of Wise 1934 and the overhead potential coefficients of Wise 1948. Both run on the spectral path, and each formula refuses a magnetic earth. The default formulas and the references are unchanged.
The buried impedance and potential coefficients of Xue, on the spectral path. The prescribed longitudinal constant replaces the modal one, and the voltage refers to infinite depth. The default formulas and the references are unchanged.
The input gives the layer of each cable, and the pairs that a formula treats are conditions on layer values. The base buffers give the complex conductivity and the permeability of each medium. The results are bitwise unchanged.
They take the words of the blueprint, and a layer in the input is one of the earth. The noun layers moves to the lexicon of Earth, its one user. The results are bitwise unchanged.
The formula-level initialize_buffers takes no problem, and the shunt recipe potential! takes no buffers, since no formula reads them. The results are bitwise unchanged.
The home page and the README list the classical earth-return formulas. They also list the earth models and the lossy dielectric law. The theory and guide pages give the domain of each earth-return formula and a layered earth. Project.toml and CITATION.cff take the version 0.2.0.
The documentation environment takes the package from the repository at version 0.2.0. Its compat entry for the package reads 0.2.
The extension runs GetDP from getdp_jll, taken from an interim repository until General has it. The register loses GetdpBinary, and the lexicon loses the nouns getdp and binary. The formulation tests of main take the layer of this branch, and CI runs on pushes of the branch.
The package admits DocStringExtensions 0.10 and JET 0.13, and the documentation admits CSV 1. The FEM transposition test holds the identity to the round-off of the solve on every platform.
The wires of two_bare_wires on a layered earth get a frozen file at 1 kHz. It gives analytical and FEM rows under the equivalent earth xue2021, and a test checks both. The tests check a result after compute as a LineParameters record, and the README and the home page say what both backends return.
The package and its citation file read 0.1.0, and the documentation environment admits it. CI runs on pushes of release/v0.1.0-engine.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #69 +/- ##
==========================================
+ Coverage 98.93% 99.32% +0.39%
==========================================
Files 45 72 +27
Lines 2714 3548 +834
==========================================
+ Hits 2685 3524 +839
+ Misses 29 24 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LineCableModels 0.1.0, the first registered version. It adds the formula layer of the engine and, on it,
the formulas of the earth return, the earth properties and the dielectrics.
CoaxialFormulationorFEMby itsidentifier, its options or the formula object.
:martins2026.Papadopoulos, Xue, Lucca and Ametani, selected per domain of a cable pair.
@formulation, with the tags@air,@earthand@mixed, writes a formulation as a block.an equivalent homogeneous earth.
getdp_jll, loaded withusing Gmsh, getdp_jll.Checks
Pkg.test(): 4 575 tests without the FEM cases and 6 056 with them, on x86_64 Linux.checkdocs = :public, and its environment resolves from no Manifest.Note
Project.tomltakesgetdp_jllfromgithub.com/amaurigmartins/getdp_jll.jlthrough[sources]untilGeneral registers the JLL. The registration of 0.1.0 follows it.