FluxTubes.ConstantMagneticPotentialDifference
Constant magnetomotive force This component is translated by DyadAI
This component extends from TwoPortElementary
Usage
TranslatedComponents.FluxTubes.ConstantMagneticPotentialDifference(V_m)
Parameters:
| Name | Description | Units | Default value |
|---|---|---|---|
V_m | Magnetic potential difference | A |
Connectors
port_p- (MagneticPort)port_n- (MagneticPort)
Variables
| Name | Description | Units |
|---|---|---|
Phi | Magnetic flux from port_p to port_n | Wb |
Behavior
Source
dyad
# Constant magnetomotive force
# This component is translated by DyadAI
component ConstantMagneticPotentialDifference
extends TwoPortElementary
# Magnetic potential difference
parameter V_m::Dyad.MagneticPotentialDifference
# Magnetic flux from port_p to port_n
variable Phi::Dyad.MagneticFlux
relations
V_m = port_p.V_m - port_n.V_m
Phi = port_p.Phi
0 = port_p.Phi + port_n.Phi
endFlattened Source
dyad
# Constant magnetomotive force
# This component is translated by DyadAI
component ConstantMagneticPotentialDifference
port_p = MagneticPort()
port_n = MagneticPort()
# Magnetic potential difference
parameter V_m::Dyad.MagneticPotentialDifference
# Magnetic flux from port_p to port_n
variable Phi::Dyad.MagneticFlux
relations
V_m = port_p.V_m - port_n.V_m
Phi = port_p.Phi
0 = port_p.Phi + port_n.Phi
metadata {}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses