Coil Current Report¶
The ExcitationCoilCurrentReport returns the electric current flowing
through the coil. For voltage excitation the current is the result of the
coupled circuit equation:
\[
I = \frac{1}{R} \left(
V - \int_\Omega \frac{\partial \mathbf{A}}{\partial t}
\cdot \boldsymbol{\tau} \, d\Omega
\right),
\]
where the second term is the back-EMF. For current excitation the report returns the prescribed value.
Usage¶
The coil is referenced by its zero-based index in the order it was added
to the ExcitationCoilModel:
from mufem.electromagnetics.coil import ExcitationCoilCurrentReport
coil_current_report = ExcitationCoilCurrentReport(
name="Coil Current",
coil_index=0,
)
coil_current = coil_current_report.evaluate()
print(f"Coil current: {coil_current}")
When to use this¶
- Inrush and start-up analysis of voltage-fed transformers and motors.
- Driver-current verification for voltage-driven inductors and solenoids.
- Closed-loop control studies where the coil current is the controlled variable.