Skip to content
FluxTubes.ConstantMagneticFlux.md

FluxTubes.ConstantMagneticFlux

Source of constant magnetic flux This component is translated by DyadAI

This component extends from TwoPortElementary

Usage

TranslatedComponents.FluxTubes.ConstantMagneticFlux(Phi=1)

Parameters:

NameDescriptionUnitsDefault value
PhiMagnetic fluxWb1

Connectors

Variables

NameDescriptionUnits
V_mMagnetic potential difference between both portsA

Behavior

V_m(t)=port_p.V_m(t)port_n.V_m(t)Phi=port_p.Phi(t)0=port_p.Phi(t)+port_n.Phi(t)

Source

dyad
# Source of constant magnetic flux
# This component is translated by DyadAI
component ConstantMagneticFlux
  extends TwoPortElementary
  # Magnetic flux
  parameter Phi::Dyad.MagneticFlux = 1
  # Magnetic potential difference between both ports
  variable V_m::Dyad.MagneticPotentialDifference
relations
  V_m = port_p.V_m - port_n.V_m
  Phi = port_p.Phi
  0 = port_p.Phi + port_n.Phi
end
Flattened Source
dyad
# Source of constant magnetic flux
# This component is translated by DyadAI
component ConstantMagneticFlux
  port_p = MagneticPort()
  port_n = MagneticPort()
  # Magnetic flux
  parameter Phi::Dyad.MagneticFlux = 1
  # Magnetic potential difference between both ports
  variable V_m::Dyad.MagneticPotentialDifference
relations
  V_m = port_p.V_m - port_n.V_m
  Phi = port_p.Phi
  0 = port_p.Phi + port_n.Phi
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses