All Projects → christiankral → ElectricalEngineering.jl

christiankral / ElectricalEngineering.jl

Licence: BSD-3-Clause license
Julia electrical engineering package

Programming Languages

julia
2034 projects

Projects that are alternatives of or similar to ElectricalEngineering.jl

System Bus Radio
Transmits AM radio on computers without radio transmitting hardware.
Stars: ✭ 5,831 (+26404.55%)
Mutual labels:  engineering, electrical-engineering
UliEngineering
A python library for calculations perfomed in electronics engineering
Stars: ✭ 35 (+59.09%)
Mutual labels:  engineering
CutAndDisplace
Boundary Element MATLAB code. Modelling faults and deformation
Stars: ✭ 40 (+81.82%)
Mutual labels:  engineering
Performance-Engineers-DevOps
This repository helps performance testers and engineers who wants to dive into DevOps and SRE world.
Stars: ✭ 35 (+59.09%)
Mutual labels:  engineering
ElectricalAge2
Eln2 Codebase
Stars: ✭ 44 (+100%)
Mutual labels:  electrical-engineering
Tensor
A library and extension that provides objects for scientific computing in PHP.
Stars: ✭ 146 (+563.64%)
Mutual labels:  engineering
java.math.expression.parser
java math expression parser is faster than JEP
Stars: ✭ 25 (+13.64%)
Mutual labels:  complex-numbers
node-red-contrib-FIWARE official
FIWARE-Node-Red integration supporting NGSI-LD
Stars: ✭ 14 (-36.36%)
Mutual labels:  engineering
HELMpy
HELMpy, open source package of power flow solvers, including the Holomorphic Embedding Load Flow Method (HELM), developed on Python 3
Stars: ✭ 24 (+9.09%)
Mutual labels:  electrical-engineering
awesome-practical-posts
I sum up the articles of tech blogs and share that.
Stars: ✭ 64 (+190.91%)
Mutual labels:  engineering
soda-swift
SODA SDK for Apple's Swift programming language
Stars: ✭ 42 (+90.91%)
Mutual labels:  engineering
CodeWars
Daily Coding Exercises to sharpen problem solving skills
Stars: ✭ 67 (+204.55%)
Mutual labels:  engineering
math
Complex special functions and common mathematical operations in JavaScript
Stars: ✭ 42 (+90.91%)
Mutual labels:  complex-numbers
welleng
A collection of Wells/Drilling Engineering tools, focused on well trajectory planning for the time being.
Stars: ✭ 79 (+259.09%)
Mutual labels:  engineering
DragonArmor
Dragon Armor 3D-printable CAD files (Autodesk Fusion 360)
Stars: ✭ 46 (+109.09%)
Mutual labels:  engineering
soda-java
This is the Java API for the SODA 2.0 API
Stars: ✭ 65 (+195.45%)
Mutual labels:  engineering
career-ladders
A sample of career ladders I use for my organization, open sourced for anyone.
Stars: ✭ 676 (+2972.73%)
Mutual labels:  engineering
mllint
`mllint` is a command-line utility to evaluate the technical quality of Python Machine Learning (ML) projects by means of static analysis of the project's repository.
Stars: ✭ 67 (+204.55%)
Mutual labels:  engineering
outsystems-ui-kit
No description or website provided.
Stars: ✭ 25 (+13.64%)
Mutual labels:  engineering
ElectricPy
Electrical Engineering Python Module
Stars: ✭ 35 (+59.09%)
Mutual labels:  electrical-engineering

ElectricalEngineering.jl

This is a Julia package on electrical engineering based on Unitful and PyPlot. The package ElectricalEngineering.jl is tested with Julia 1.1.0. To install the package, start Julia and hit ] to switch to the package manager.

add PyPlot Unitful ElectricalEngineering

In order to update to the actual version of GitHub in the package manager, hit ] and apply:

update ElectricalEngineering

To switch back to the Julia REPL and to start working hit Backspace.

The module ElectricalEngineering.jl has to be loaded by using ElectricalEngineering. In order to use all the features of ElectricalEngineering.jl, modules Unitful and PyPlot have to be loaded as well. It is thus recommended to appy:

using Unitful, Unitful.DefaultSymbols, PyPlot, ElectricalEngineering

Features

Phasors

  • Function pol to generate a complex quantity based on the length and the angle (polar representation)
julia> U1 = pol(2V, pi)
-2 + 0im V
julia> U2 = pol(sqrt(2) * 1V, 45°)
1 + 1im V
  • Constant j representing the imaginary unit equivalent to 1im
  • Function phasor
    • Plot publication ready phasor diagrams
    • LaTeX labeling with absolute or relative rotation of text

Phasor diagram Circuit diagram

  • Function phasorsine
    • Plot phasor in the left subplot of a figure
    • Plot sine wave corresponding to the phasor in the right subplot Phasor and sine wave
  • Function angulardimension
    • Draw arc to indicate angle between phasors
    • Chose between different arrow shapes
    • Create dimension of phasor
  • Function phasordimension
    • Create auxiliary lines and parallel shifted dimensions Length dimension

Circuits and Physics

  • Function
    • Calculate parallel connections of impedances
    • Calculate parallel impedance with or without units
julia> 4Ω∥6Ω
2.4000000000000004 Ω
julia> 4Ω∥(j*4Ω)
2.0 + 2.0im Ω

Inputs and Outputs

  • Function printuln
    • Print complex variables (including) units in rectangular and polar form
    • Limit output to six significant digits
    • Convert printed quantity optionally into a target unit
    • Works with scalars and vectors of real or complex quantities
julia> U1 = 300V + j*400V
julia> printuln("U1", U1, kV)
              U1 = 0.3 kV + j 0.4 kV
                 = 0.5 kV ∠ 53.1301°
julia> printuln("real(U1)", real(U1),kV)
        real(U1) = 0.3 kV
julia> printuln("U1", U1, V, label="(a)")
(a)           U1 = 300 V + j 400 V
                 = 500 V ∠ 53.1301°
  • Function save3fig

    • Save one figure in the three file formats png, eps and pdf
    • Optionally crop figures

    Plotting

  • Assign two different color schemes (may be loaded alternatively)

  • Additional light background color colorBlack5

  • Different line and marker types

    • lineStyle1, lineStyle2, lineStyle3, lineStyle4
    • lineWidth1, lineWidth2, lineWidth3, lineWidth4,
    • marker1, marker2 ,marker3, marker4
    • markerSize1, markerSize2 ,markerSize3 ,markerSize4
    • legendFontSize
    • Type ?ElectricalEngineering.Gray or ?ElectricalEngineering.Tab20bc to see application examples
  • Assign color schemes to quantities, using either using ElectricalEngineering.Gray of gray scale graphics or using ElectricalEngineering.Tab20bc

  • Function removeaxes

    • Removes the axes of the active plot
  • Function arrowaxes

    • Plot graphs with arrowed axes
    • Add plot labels Curves
  • Function lengthdimension

    • Create length dimension with arrows
    • Create auxiliary lines and parallel shifted dimensions Length dimension

Other Packages related with Electrical Engineering

  • ESeriesRounding.jl provides functions to round given values to the nearest standardized value for circuit components, namely the E-series.
  • Modia.jl is a package for modeling and simulation of multidomain engineering systems described by differential equations, algebraic equations, and (space-discretized) partial differential equations.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].