Skip to content
FluxTubes.EighthOfSphere.md

FluxTubes.EighthOfSphere

Leakage flux through one edge and the opposite plane of an eighth of a sphere This component is translated by DyadAI

This component extends from Leakage

Usage

TranslatedComponents.FluxTubes.EighthOfSphere(r=0.01)

Parameters:

NameDescriptionUnitsDefault value
rRadius of eighth of spherem0.01

Connectors

Variables

NameDescriptionUnits
V_mMagnetic potential difference of portsA
PhiMagnetic flux from port_p to port_nWb
R_mMagnetic reluctanceH-1
G_mMagnetic permeanceH

Behavior

V_m(t)=port_p.V_m(t)port_n.V_m(t)Phi(t)=port_p.Phi(t)0=port_p.Phi(t)+port_n.Phi(t)V_m(t)=Phi(t)R_m(t)R_m(t)=1G_m(t)G_m(t)=3.8704107r

Source

dyad
# Leakage flux through one edge and the opposite plane of an eighth of a sphere
# This component is translated by DyadAI
component EighthOfSphere
  extends Leakage
  # Radius of eighth of sphere
  parameter r::Dyad.Radius = 0.01
relations
  G_m = 1.25663706212e-6 * 0.308 * r
end
Flattened Source
dyad
# Leakage flux through one edge and the opposite plane of an eighth of a sphere
# This component is translated by DyadAI
component EighthOfSphere
  port_p = MagneticPort()
  port_n = MagneticPort()
  # Magnetic potential difference of ports
  variable V_m::Dyad.MagneticPotentialDifference
  # Magnetic flux from port_p to port_n
  variable Phi::Dyad.MagneticFlux
  # Magnetic reluctance
  variable R_m::Dyad.Reluctance
  # Magnetic permeance
  variable G_m::Dyad.Permeance
  # Radius of eighth of sphere
  parameter r::Dyad.Radius = 0.01
relations
  V_m = port_p.V_m - port_n.V_m
  Phi = port_p.Phi
  0 = port_p.Phi + port_n.Phi
  V_m = Phi * R_m
  R_m = 1 / G_m
  G_m = 1.25663706212e-6 * 0.308 * r
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses