All branch quantities are stored in dictionaries keyed by branch number (the integer assigned when the branch was added to the MEC).
Attributes
phi_mesh : dict[int, float] Mesh flux variables Φₘ [Wb]. One entry per mesh branch. phi_nodal : dict[int, float] Nodal flux variables Φₙ [Wb]. One entry per nodal branch. phi_branches : dict[int, float] Net flux through every branch [Wb]. mmf_branches : dict[int, float] MMF drop across every branch [A-turns]. flux_linkages : dict[Any, float] Winding flux linkages [Wb-turns]. Keys are winding IDs registered via :meth:MEC.add_winding. Empty if no windings were defined. converged : bool True if Newton-Raphson converged within the iteration limit. n_iterations : int Number of Newton-Raphson iterations performed. residual : float Final convergence residual ‖ΔΦ‖ (absolute, [Wb]). field_energy : float Stored magnetic field energy [J] Wf = ½ Σ R_eff · Φ² (sum over reluctance branches). phi_base : float or None Base flux used for per-unit scaling [Wb]. F_base : float or None Base MMF used for per-unit scaling [A-turns].
All branch quantities are stored in dictionaries keyed by branch number (the integer assigned when the branch was added to the MEC).
Attributes
phi_mesh : dict[int, float] Mesh flux variables Φₘ [Wb]. One entry per mesh branch. phi_nodal : dict[int, float] Nodal flux variables Φₙ [Wb]. One entry per nodal branch. phi_branches : dict[int, float] Net flux through every branch [Wb]. mmf_branches : dict[int, float] MMF drop across every branch [A-turns]. flux_linkages : dict[Any, float] Winding flux linkages [Wb-turns]. Keys are winding IDs registered via :meth:MEC.add_winding. Empty if no windings were defined. converged : bool True if Newton-Raphson converged within the iteration limit. n_iterations : int Number of Newton-Raphson iterations performed. residual : float Final convergence residual ‖ΔΦ‖ (absolute, [Wb]). field_energy : float Stored magnetic field energy [J] Wf = ½ Σ R_eff · Φ² (sum over reluctance branches). phi_base : float or None Base flux used for per-unit scaling [Wb]. F_base : float or None Base MMF used for per-unit scaling [A-turns].