Skip to content

Releases

coilEM 0.5.10 Developer Preview

Choose a tag to compare

@github-actions github-actions released this 25 Nov 22:11
74a0b11

coilEM 0.5.10 Developer Preview

This release bundles Magneto2D 0.6.0 and is available on PyPI. The published
wheels passed installation checks on Linux x86-64, Windows x64, macOS Intel,
and macOS ARM64. PyPI release · Release verification

  • Experimental thermal estimate. Solve → Thermal estimates the
    steady-state temperature of the winding, end winding, teeth, yoke, housing or
    mount, magnets and rotor from a run's torque and losses, with the winding's
    margin to its insulation limit. Outer-rotor motors have their own heat paths.
    A refused estimate says why and names the input. Temperatures use one unit
    throughout, Celsius by default. Optional inputs show their defaults. The same
    estimate is coilem thermal on the command line and
    coilem.thermal() in the Python client. Calibrated
    estimates remain Experimental in the app and in reports.
  • Experimental thermally limited torque curve. For each speed, the curve
    finds the torque the motor can hold within its current, voltage and
    temperature limits, then checks that point with a direct solve. A speed whose
    direct solve rejects the point, or cannot run, has no result, and the curve,
    PDF and CSV give the reason. The PDF summarizes the speed table, limits and
    direct checks. The CSV keeps the detailed per-speed diagnostics. The run
    reports its progress, and cancelling it or closing the page stops the solver. See
    thermal coupling.
  • Thermal results. Results has a Thermal card and tab. The loss map has its
    own Losses tab next to the Field map. Saved thermal results say when the
    thermal inputs have changed since they were computed, in Solve, the Thermal
    tab and the summary card.
  • Rotor iron loss for outer rotors. The experimental rotor iron loss now
    covers outer-rotor SPM motors. The rotor ring is treated as laminated steel;
    eddy currents in a solid steel shell are not included, and the result says so.
  • Rotor iron loss reads lower where it read high. The rotor iron loss turn
    now meshes the air gap, slot mouths and magnet corners more finely, and solves
    every position to a tight Newton tolerance whatever the solve quality. Earlier
    builds could read rotor iron loss high, most for saturated IPM rotors at no
    load at the Standard and Quick qualities. Rotor iron loss runs take longer.
  • Motor constants and operating point. The Motor constants card shows an
    estimated Kv (#353). DC bus
    voltage
    is set in the Operating point, and the torque–speed map uses the same
    value; each example motor carries its own bus
    (#274). Switching between
    sinusoidal and six-step drive preserves peak current and each drive's angle.
  • Results and runs. The headline cards share the columns of the cards below.
    Previous runs is a list of saved runs with a loading state, and Compare
    lives in Results. The stator-only field view has its own fixed color scale.
    The 0.5.9 display and report follow-ups are done
    (#348).
  • Loss and thermal benchmarks. Phase G (stator, copper and rotor iron loss)
    and Phase H (thermal) are included as standalone benchmark definitions with
    their fixtures and runners. They are separate from the registered A–F suite.
    Their stored results are not part of this release.
  • Windows and stopping runs. After Gmsh starts, coilEM's tools still find
    Git and Node (#316). Solver
    worker processes no longer break when Ctrl+C or Ctrl+Break reaches the
    console. A client that leaves a solve, map, thermal or lesson stream at any
    point frees the solver for the next run.
  • Update check and upgrade from the app. Once a day coilem asks
    coilem.com whether a newer version is released, and an Update tag appears
    beside the version when there is one. On macOS and Linux the tag opens
    Upgrade and restart, which upgrades coilEM the way it was installed and
    reloads the page; on Windows it gives the command to run. The request
    carries the coilEM version, the operating system and whether it is the first
    check that week or month or the first run on that computer, with no
    identifier and nothing about designs or runs. COILEM_UPDATE_CHECK=0 turns it off. See the
    README.

Known limitations

The thermal estimate and torque curve remain Experimental with or without
calibration. The curve's interpolation between the cold and hot maps is
reported as not compared for this build. Rotor iron loss
remains experimental and is unavailable on a sector solve
(#319).

This build has no published benchmark qualification; the published A–F record
remains protocol 1.10.0, measured at 5e6fab283d165dc9e2ccec7e1a477c7080a993c4.
See Validation.

Mesh convergence remains open for V-shape cogging, flat-IPM corners and
outer-rotor hub cogging (#321).
The intermittent Windows solve cancellation failure
(#234) remains open: one cause
is fixed in this release. Hardware accuracy, 3D end effects and Experimental
outputs remain outside any software parity claim.

coilEM 0.5.9 Developer Preview

Published November 23, 2026 (UTC). This release bundles Magneto2D 0.6.0.

  • Experimental rotor iron loss. In Solve → Analysis → Losses & efficiency,
    opt in to estimate rotor hysteresis and classical lamination eddy loss. The
    option supports sinusoidal inner SPM and flat-IPM full-motor runs with the
    bundled M350-50A steel and Newton solver. It adds 384 rotor positions and a
    separate closure solve per requested rotor cycle. Results, saved runs,
    torque–speed maps and exports identify the loss components and their basis.
    See the rotor iron loss guide.
  • Experimental sector modeling. Solve → Advanced options → Solved region
    offers one repeating sector for compatible geometry and windings. Results
    display the reconstructed full motor. Full motor is the default and the
    fallback for designs that do not repeat. Use full motor for reference work.
  • Field inspection. Switch between the resultant, stator and permanent-magnet
    fields, overlay the stator and magnet arrows, inspect a region with the
    magnifier, or follow the winding phases during playback. The phase traces
    leave gaps outside the solved angles on a partial sweep.
  • Mesh and run planning. Changing mesh settings prepares a new mesh.
    The run plan uses the prepared mesh to estimate elapsed time. Maximum accuracy
    uses the Very fine mesh with the High accuracy angle grid. The V-shape IPM
    example starts with a Fine mesh and Newton iteration. The flat-IPM and SPM 24p
    examples start on the Standard plan with Newton iteration.
  • Saved setups and Windows runs. Design files carry named run setups for
    reuse in the UI, CLI and Python. Open results opens a saved report directly.
    Rerun settings restores its inputs in Solve and prepares the mesh. Windows runs include fixes for cancellation
    and for locating executables after Gmsh loads.
  • Six-step chart. Sector bands, the pointer readout and the waveform table
    follow the recorded conducting phases (#345).
  • Public qualification. The published A–F record remains protocol 1.10.0,
    measured at 5e6fab283d165dc9e2ccec7e1a477c7080a993c4. Its scope and
    source identity are recorded in Validation. This
    release changes solver sources that the record guards, so designs the record
    covers are labelled Not publicly qualified and their results
    Experimental. The label describes the build, not your design, and Design
    Health does not count it as a warning.

Known limitations

Rotor iron loss and sector solves are experimental. Rotor iron loss covers
full-motor inner SPM and flat-IPM runs with sinusoidal current, the bundled
M350-50A steel and the Newton solver; it is unavailable on a sector solve
(#319). The Solver
convergence card covers the loaded and no-load sweeps, not the rotor iron loss
positions.

This build has no published benchmark qualification; see
Validation.

Mesh convergence remains open for V-shape cogging, flat-IPM corners and
outer-rotor hub cogging (#321).
Windows solve cancellation (#234)
remains open. Hardware accuracy, 3D end effects and Experimental outputs
remain outside any software parity claim.

coilEM 0.5.8 Developer Preview

Prepared November 15, 2026. coilEM 0.5.8 bundles Magneto2D 0.6.0, up from 0.5.0
in coilEM 0.5.7, for the solver changes below. Fresh Windows/macOS qualification
passes all 468 registered A–F gates and all ten separate Prius checks on each
platform at measured candidate `...

Read more

coilEM 0.5.9 Developer Preview

Choose a tag to compare

@github-actions github-actions released this 23 Nov 05:02
06d3b17

coilEM 0.5.9 Developer Preview

This release bundles Magneto2D 0.6.0 and is available on PyPI. The published
wheels passed installation checks on Linux x86-64, Windows x64, macOS Intel,
and macOS ARM64. PyPI release · Release verification

  • Experimental rotor iron loss. In Solve → Analysis → Losses & efficiency,
    opt in to estimate rotor hysteresis and classical lamination eddy loss. The
    option supports sinusoidal inner SPM and flat-IPM full-motor runs with the
    bundled M350-50A steel and Newton solver. It adds 384 rotor positions and a
    separate closure solve per requested rotor cycle. Results, saved runs,
    torque–speed maps and exports identify the loss components and their basis.
    See the rotor iron loss guide.
  • Experimental sector modeling. Solve → Advanced options → Solved region
    offers one repeating sector for compatible geometry and windings. Results
    display the reconstructed full motor. Full motor is the default and the
    fallback for designs that do not repeat. Use full motor for reference work.
  • Field inspection. Switch between the resultant, stator and permanent-magnet
    fields, overlay the stator and magnet arrows, inspect a region with the
    magnifier, or follow the winding phases during playback. The phase traces
    leave gaps outside the solved angles on a partial sweep.
  • Mesh and run planning. Changing mesh settings prepares a new mesh.
    The run plan uses the prepared mesh to estimate elapsed time. Maximum accuracy
    uses the Very fine mesh with the High accuracy angle grid. The V-shape IPM
    example starts with a Fine mesh and Newton iteration. The flat-IPM and SPM 24p
    examples start on the Standard plan with Newton iteration.
  • Saved setups and Windows runs. Design files carry named run setups for
    reuse in the UI, CLI and Python. Open results opens a saved report directly.
    Rerun settings restores its inputs in Solve and prepares the mesh. Windows runs include fixes for cancellation
    and for locating executables after Gmsh loads.
  • Six-step chart. Sector bands, the pointer readout and the waveform table
    follow the recorded conducting phases (#345).
  • Public qualification. The published A–F record remains protocol 1.10.0,
    measured at 5e6fab283d165dc9e2ccec7e1a477c7080a993c4. Its scope and
    source identity are recorded in Validation. This
    release changes solver sources that the record guards, so designs the record
    covers are labelled Not publicly qualified and their results
    Experimental. The label describes the build, not design, and Design
    Health does not count it as a warning.

Known limitations

Rotor iron loss and sector solves are experimental. Rotor iron loss covers
full-motor inner SPM and flat-IPM runs with sinusoidal current, the bundled
M350-50A steel and the Newton solver; it is unavailable on a sector solve
(#319). The Solver
convergence card covers the loaded and no-load sweeps, not the rotor iron loss
positions.

This build has no published benchmark qualification; see
Validation.

Mesh convergence remains open for V-shape cogging, flat-IPM corners and
outer-rotor hub cogging (#321).
Windows solve cancellation (#234)
remains open. Hardware accuracy, 3D end effects and Experimental outputs
remain outside any software parity claim.

coilEM 0.5.8 Developer Preview

Prepared November 15, 2026. coilEM 0.5.8 bundles Magneto2D 0.6.0, up from 0.5.0
in coilEM 0.5.7, for the solver changes below. Fresh Windows/macOS qualification
passes all 468 registered A–F gates and all ten separate Prius checks on each
platform at measured candidate 78e6f4fc8aa8. The later application, interface
and documentation changes leave the guarded numerical sources unchanged.
Historical measurements retain their original identities. See the
release checklist and release status.

  • Guided motor design. New Design exposes parameters progressively, with
    guided setup, rotor construction previews, winding checks and clearer invalid
    input messages. Design Health stays reachable on narrow screens.
  • Outrunner design. New Design builds an outrunner from its rotor inward and
    fits the stator inside the magnets. When parts overlap or a slot and pole count
    cannot be wound, Design Health names a size or count that fits. Field guides
    stay visible while a preview is refused, and loaded designs use the same panel
    order.
  • Clearer design and field views. Rotor previews, 3D windings, phase controls,
    layout zoom and field legends make geometry and excitation easier to inspect.
    Halbach 3D views frame the whole array at any viewer size, with the full legend.
  • Saved run setups. Name and reuse operating conditions and requested
    outputs, optionally including accuracy and solver settings. Immutable Prius
    reference setups apply the shipped complete conditions; edits become Modified
    or user copies. Setups travel with design files and saved runs retain the
    actual setup identity/version. See Saved run setups.
  • Compare saved runs. Compare two to six analyses with a pinned baseline.
    Inputs, results, losses and elapsed timing share the run columns and baseline
    deltas; torque, back-EMF and cogging overlays retain each run's line style.
    Ld and Lq, the d/q currents and flux linkages and Ke are compared at each
    run's operating point. The Torque–speed and Fields tabs put the runs' maps
    and field plots side by side, and Export CSV writes the whole comparison,
    baseline first. See Compare runs.
  • Python scripting and command line. import coilem scripts motor solves
    with typed inputs, results and executable examples (Python client).
    coilem check, solve, setups, schema and version do the same from a
    terminal or a coding agent, with one versioned JSON document per command,
    documented exit codes and error codes (Command line).
    Both select a design file's saved run setups by name with the app's rules,
    refuse a missing or incompatible setup before solving, and report the setup
    and settings used. Results solved in the script report qualification and
    solver convergence as the app's do, scripts keep their solver cache apart
    from the app's, and Ctrl+C on a --server solve also stops it in the app.
  • Solve execution and timing. Direct Newton execution, worker/thread handling,
    mesh and frame sharing, and repeated-solve reuse reduce overhead. Results and
    reports distinguish elapsed time from combined worker time. The Solve page's
    run-time estimate is refitted to this release's timings, and a torque–speed
    map counts only the points it has not already stored. No release-specific
    speed claim is made until this release is measured.
  • More useful results and reports. Partial analyses explain unavailable
    losses and efficiency; incomplete totals are labelled Known loss subtotal.
    PDF currents use A peak, resistance rows avoid duplicates, and diagnostic
    plots handle empty bore contours. When a run's solved point lies outside its
    torque–speed map, the map says which drive limit to raise and, for sinusoidal
    runs, about how much DC bus the point needs.
  • Saved runs and tutorials. Pruned runs keep static results and explain why
    playback is unavailable. Tutorial scale bars follow the displayed geometry;
    capstone completion requires a current solved design meeting its targets and
    a completed run.

Known limitations

V-shape bridge thickness is a minimum clearance; other geometry inputs also
control the actual bridge. Magnet coverage does not control V-shape pockets.
The mesh sensitivity study found material
changes between Fine and Very Fine; spatial convergence remains unproven
(#285). A warning does not
establish numerical accuracy. The remaining convergence work is deferred to
the next release by the release owner; existing warnings remain in place.

Windows Ctrl+Break cancellation can intermittently hang during a solve
(#234); passing retries do not
establish a fix. Interrupting an in-process coilem solve on Windows can also
exit with code 4 (solve failed) instead of 130 (cancelled); the solve still
stops and no solver process is left running.
Investigation and repeated cancellation checks are deferred
to the next release by the release owner. Sector models and
opt-in pole-pitch mesh reuse are excluded from this release. Hardware accuracy,
3D end effects and Experimental outputs remain outside any software parity
claim; see Validation.

Reproduce this record

Install coilEM 0.5.8 after publication,...

Read more

coilEM 0.5.8 Developer Preview

Choose a tag to compare

@github-actions github-actions released this 16 Nov 03:29
a3e7003

coilEM 0.5.8 Developer Preview

Prepared November 15, 2026. coilEM 0.5.8 bundles Magneto2D 0.6.0, up from 0.5.0
in coilEM 0.5.7, for the solver changes below. Fresh Windows/macOS qualification
passes all 468 registered A–F gates and all ten separate Prius checks on each
platform at measured candidate 78e6f4fc8aa8. The later application, interface
and documentation changes leave the guarded numerical sources unchanged.
Historical measurements retain their original identities. See the
release checklist and release status.

  • Guided motor design. New Design exposes parameters progressively, with
    guided setup, rotor construction previews, winding checks and clearer invalid
    input messages. Design Health stays reachable on narrow screens.
  • Outrunner design. New Design builds an outrunner from its rotor inward and
    fits the stator inside the magnets. When parts overlap or a slot and pole count
    cannot be wound, Design Health names a size or count that fits. Field guides
    stay visible while a preview is refused, and loaded designs use the same panel
    order.
  • Clearer design and field views. Rotor previews, 3D windings, phase controls,
    layout zoom and field legends make geometry and excitation easier to inspect.
    Halbach 3D views frame the whole array at any viewer size, with the full legend.
  • Saved run setups. Name and reuse operating conditions and requested
    outputs, optionally including accuracy and solver settings. Immutable Prius
    reference setups apply the shipped complete conditions; edits become Modified
    or user copies. Setups travel with design files and saved runs retain the
    actual setup identity/version. See Saved run setups.
  • Compare saved runs. Compare two to six analyses with a pinned baseline.
    Inputs, results, losses and elapsed timing share the run columns and baseline
    deltas; torque, back-EMF and cogging overlays retain each run's line style.
    Ld and Lq, the d/q currents and flux linkages and Ke are compared at each
    run's operating point. The Torque–speed and Fields tabs put the runs' maps
    and field plots side by side, and Export CSV writes the whole comparison,
    baseline first. See Compare runs.
  • Python scripting and command line. import coilem scripts motor solves
    with typed inputs, results and executable examples (Python client).
    coilem check, solve, setups, schema and version do the same from a
    terminal or a coding agent, with one versioned JSON document per command,
    documented exit codes and error codes (Command line).
    Both select a design file's saved run setups by name with the app's rules,
    refuse a missing or incompatible setup before solving, and report the setup
    and settings used. Results solved in the script report qualification and
    solver convergence as the app's do, scripts keep their solver cache apart
    from the app's, and Ctrl+C on a --server solve also stops it in the app.
  • Solve execution and timing. Direct Newton execution, worker/thread handling,
    mesh and frame sharing, and repeated-solve reuse reduce overhead. Results and
    reports distinguish elapsed time from combined worker time. The Solve page's
    run-time estimate is refitted to this release's timings, and a torque–speed
    map counts only the points it has not already stored. No release-specific
    speed claim is made until this release is measured.
  • More useful results and reports. Partial analyses explain unavailable
    losses and efficiency; incomplete totals are labelled Known loss subtotal.
    PDF currents use A peak, resistance rows avoid duplicates, and diagnostic
    plots handle empty bore contours. When a run's solved point lies outside its
    torque–speed map, the map says which drive limit to raise and, for sinusoidal
    runs, about how much DC bus the point needs.
  • Saved runs and tutorials. Pruned runs keep static results and explain why
    playback is unavailable. Tutorial scale bars follow the displayed geometry;
    capstone completion requires a current solved design meeting its targets and
    a completed run.

Known limitations

V-shape bridge thickness is a minimum clearance; other geometry inputs also
control the actual bridge. Magnet coverage does not control V-shape pockets.
The mesh sensitivity study found material
changes between Fine and Very Fine; spatial convergence remains unproven
(#285). A warning does not
establish numerical accuracy. The remaining convergence work is deferred to
the next release by the release owner; existing warnings remain in place.

Windows Ctrl+Break cancellation can intermittently hang during a solve
(#234); passing retries do not
establish a fix. Interrupting an in-process coilem solve on Windows can also
exit with code 4 (solve failed) instead of 130 (cancelled); the solve still
stops and no solver process is left running.
Investigation and repeated cancellation checks are deferred
to the next release by the release owner. Sector models and
opt-in pole-pitch mesh reuse are excluded from this release. Hardware accuracy,
3D end effects and Experimental outputs remain outside any software parity
claim; see Validation.

Reproduce this record

Install coilEM 0.5.8 after publication, then run:

coilem benchmark --list
coilem benchmark --quick --out benchmark-output/058-quick
coilem benchmark --phase E --phase F --out benchmark-output/058-ef
coilem benchmark --out benchmark-output/058-af
coilem benchmark --resume --out benchmark-output/058-af

The complete-grid requests, frozen reference components and numerical gates
are unchanged. Windows and macOS installations compare their installed
physics with the records measured at 78e6f4fc8aa8695c6f3ba1f4ad4eb9f843cf54f9.
The Windows report
and macOS report
retain the full measurements; the separate Prius evidence is linked by each
platform record. A Linux replay is not a Linux numerical qualification.

coilEM 0.5.7 Developer Preview

Prepared November 11, 2026. coilEM 0.5.7 bundles Magneto2D 0.5.0 and the
combined protocol 1.10.0 A–F benchmark.
The current Windows and
macOS records retain measured candidate
4b41f837f3d89d4fbc836be54ecafff4729491c0: 68 supported cases and all 468
registered gates pass on each platform, with the planned unsupported Prius
suite row retained. The separate complete Prius collections pass all ten
software checks on both platforms. The application version changes without
changing measured physics; field commits and historical evidence are not relabeled.

  • A–F in the normal benchmark. coilem benchmark includes cogging and
    outer-rotor cases alongside SPM, IPM, distributed winding and six-step
    excitation. The 69-case selection runs 75 jobs against 68 frozen reference
    records; routine native comparisons need no FEMM installation. The
    repository-owned reference adapter adds batching, per-position resume and
    more reliable progress reporting for reference collection.
  • Qualification stays within the measured scope. Sinusoidal concentrated
    outer-rotor designs with one or two winding layers can be Qualified;
    distributed and ideal six-step outer-rotor designs remain Experimental.
    Cogging qualification covers qualified inner-rotor designs and requires the
    registered very-fine mesh for distributed windings. Outer-rotor d/q flux
    linkage and magnet-temperature outputs remain Experimental. Changed or
    unverifiable physics still invalidate historical qualification labels.
  • More reliable meshing and cancellation. Gmsh's runtime owner survives
    short-lived meshing threads, startup failures propagate and can be retried,
    and Windows solver workers use per-pool cancellation markers. Benchmark and
    release checks bind the measured Gmsh and meshio versions, including both
    separate Prius reports. Custom B–H steels honor the linear permeability override.
  • Halbach workflows and exports. Cylindrical and linear arrays use the
    motor workspace's Design, Solve and Results layout. Narrow screens retain
    the parameter list and zoom controls, invalid values leave the workspace
    usable, and linear-array results gain exports.
  • Cogging playback and result comparisons. A cogging-only run stores its
    existing no-current positions as field frames, so the Field view can play
    the sweep. Compare preserves the precision of small torque values and the
    correct cogging metrics.
  • Design views and tutorials. Refreshed landing, 3D and canvas controls,
    combinable field layers and a consistent layout across the ten lessons
    improve the workflow. QA...
Read more

coilEM 0.5.7 Developer Preview

Choose a tag to compare

@github-actions github-actions released this 12 Nov 20:36
19548e1

coilEM 0.5.7 Developer Preview

Prepared November 11, 2026. coilEM 0.5.7 bundles Magneto2D 0.5.0 and the
combined protocol 1.10.0 A–F benchmark.
The current Windows and
macOS records retain measured candidate
4b41f837f3d89d4fbc836be54ecafff4729491c0: 68 supported cases and all 468
registered gates pass on each platform, with the planned unsupported Prius
suite row retained. The separate complete Prius collections pass all ten
software checks on both platforms. The application version changes without
changing measured physics; field commits and historical evidence are not relabeled.

  • A–F in the normal benchmark. coilem benchmark includes cogging and
    outer-rotor cases alongside SPM, IPM, distributed winding and six-step
    excitation. The 69-case selection runs 75 jobs against 68 frozen reference
    records; routine native comparisons need no FEMM installation. The
    repository-owned reference adapter adds batching, per-position resume and
    more reliable progress reporting for reference collection.
  • Qualification stays within the measured scope. Sinusoidal concentrated
    outer-rotor designs with one or two winding layers can be Qualified;
    distributed and ideal six-step outer-rotor designs remain Experimental.
    Cogging qualification covers qualified inner-rotor designs and requires the
    registered very-fine mesh for distributed windings. Outer-rotor d/q flux
    linkage and magnet-temperature outputs remain Experimental. Changed or
    unverifiable physics still invalidate historical qualification labels.
  • More reliable meshing and cancellation. Gmsh's runtime owner survives
    short-lived meshing threads, startup failures propagate and can be retried,
    and Windows solver workers use per-pool cancellation markers. Benchmark and
    release checks bind the measured Gmsh and meshio versions, including both
    separate Prius reports. Custom B–H steels honor the linear permeability override.
  • Halbach workflows and exports. Cylindrical and linear arrays use the
    motor workspace's Design, Solve and Results layout. Narrow screens retain
    the parameter list and zoom controls, invalid values leave the workspace
    usable, and linear-array results gain exports.
  • Cogging playback and result comparisons. A cogging-only run stores its
    existing no-current positions as field frames, so the Field view can play
    the sweep. Compare preserves the precision of small torque values and the
    correct cogging metrics.
  • Design views and tutorials. Refreshed landing, 3D and canvas controls,
    combinable field layers and a consistent layout across the ten lessons
    improve the workflow. QA fixes preserve tutorial completion and sequence
    state across reloads and improve Design and Solve behavior.

These are software parity and workflow checks. Hardware accuracy, 3D end
effects and the other Experimental performance outputs remain outside the
qualified scope; see Validation.

Reproduce this record

Install coilEM 0.5.7 after publication, then run:

coilem benchmark --list
coilem benchmark --quick --out benchmark-output/057-quick
coilem benchmark --phase E --phase F --out benchmark-output/057-ef
coilem benchmark --out benchmark-output/057-af
coilem benchmark --resume --out benchmark-output/057-af

The complete-grid requests, frozen reference components and numerical gates
are unchanged. Windows and macOS installations compare their installed
physics with the records measured at 4b41f837f3d89d4fbc836be54ecafff4729491c0.
The Windows report
and macOS report
retain the full measurements; the separate Prius evidence is linked by each
platform record. A Linux replay is not a Linux numerical qualification.

coilEM 0.5.6 Developer Preview

Choose a tag to compare

@coilemdev coilemdev released this 09 Nov 23:07
eb98182

coilEM 0.5.6 Developer Preview

coilEM 0.5.6 ships Magneto2D 0.5.0 with Newton solving by default, less solve overhead, and reliable saved-run field playback.

  • Keep mesh work and field processing close to the native solve, overlap field processing with angle solves, and reduce native I/O overhead.
  • Keep solution-reuse fallback solves parallel.
  • Reuse eligible conformal two-layer slot-pitch solutions; incompatible cases continue through native solves.
  • Start automatic saved-run playback when its images are ready.

Benchmark timing: v0.5.5 to v0.5.6

CI platform, A-D workload v0.5.5 v0.5.6 Time reduction
Windows x86-64 220.74 min 93.24 min 57.76%
macOS arm64 264.04 min 142.29 min 46.11%

Times sum the process wall time of the same 52 supported A-D job stages, excluding queue/build/install overhead and the separate Prius benchmark. The Windows figure uses the complete independent repeat. These are single collection observations, including runner variability, rather than controlled repeated trials or elapsed parallel-workflow duration. Full timing context and source records.

Qualification

Windows and macOS each pass all 46 supported registered A-D cases and 336/336 gates under protocol 1.9.0. Each platform also completes all 17 Pyleecan Prius jobs / 568 field positions with all ten software checks passing. The declared unsupported generic ORNL fixture remains separate from the dedicated Prius benchmark.

Measurements retain their actual frozen source commit, e9eb89e; the merged release tree has identical guarded physics. The reviewed FEMM references, gates, tolerances and approved baseline anchors are unchanged. The scoped review decisions record reference reuse and retain the previously accepted near-zero Mac Prius observation. Qualification assessment.

Outer rotors, cogging and the other experimental outputs retain their existing scope. The E/F diagnostic suites do not expand the registered release qualification or waive inherited LRK/cogging findings. Earlier Windows FEMM/Native evidence keeps its original source identities.

Install and reproduce

Python 3.11-3.15 is supported. The four platform wheels include the built UI and native solver.

uv tool install coilem==0.5.6
coilem
coilem benchmark --quick
coilem benchmark

Existing installations can update with uv tool upgrade coilem. See the installation requirements and benchmark record instructions.

coilEM 0.5.5 Developer Preview

Choose a tag to compare

@github-actions github-actions released this 09 Nov 03:56
63c7f2b

coilEM 0.5.5 Developer Preview — outer-rotor motors

Prepared November 8, 2026. The release qualification gate
passes for registered A-D parity and the Prius software checks, measured at
34de0f4 on Windows and macOS. Outer-rotor motors are new and experimental.
The application version is 0.5.5. The bundled Magneto2D solver keeps version
0.4.0 although it gains outer-rotor support; inner-rotor results are unchanged,
and its version advances with the next requalification.

  • Outrunners in the normal workflow. Design has an Inrunner / Outrunner
    switch. Outer-rotor surface-magnet motors are edited, meshed, solved and
    reported like inner rotors: outward-opening slots, magnets on the rotor's inner
    face, a hub bore, and drone-size limits. A starter 14-pole / 12-slot outrunner
    ships as an example. Conventions, field meanings and limits are in
    docs/OUTRUNNER.md.
  • Same conventions for both layouts. Torque is the rotor's, positive
    clockwise; pole 0's north faces the air gap, so current angle and six-step
    commutation mean the same for an outrunner.
  • LRK 12-slot / 14-pole reference. The published sliding-band benchmark
    outrunner runs through the normal pipeline as a pinned reference, next to the
    Prius. Its examples stay hidden until the source data's redistribution rights
    are confirmed.
  • Tooth shoes on outer stators. An outrunner's teeth can carry shoes at the
    stator OD, set the same way as an inner rotor's: shoe height, and overhang per
    side of the tooth body. Most real outrunners have them. The Benchmarks menu
    adds one: a published 36-slot / 40-pole robot-joint outrunner, with its
    measured back-EMF and torque in its description.
  • A second published outrunner. The Benchmarks menu adds Model B of the
    36-slot / 40-pole drone outrunners in Koo & Shin, Energies 19(16):3845 (2026).
    Its measured back-EMF and torque are in the design's description: coilEM's
    back-EMF lands as close as the authors' own 2D FEM, and its torque about 4% low.
  • Back EMF as rms and peak. The Results card adds a small table of the phase
    and line-to-line back-EMF as rms and peak, since papers and datasheets often
    quote a peak; the peak comes from the solved waveform, harmonics included, and
    peak-to-peak is twice it. The Back EMF chart gains an RMS / Peak switch that
    shows each trace's value in its legend.
  • Examples by rotor layout. The Examples menu lists inrunners and outrunners
    side by side in each group.
  • Outrunners in 3D. An outer-rotor design's 3D view is built like an inner
    rotor's instead of extruding its cross-section: the stator's teeth point out
    from its hub with a wound coil on each, and the rotor is a can round them with
    its magnets on the inner face. A spoked end bell closes the can and is clamped
    to the shaft, so the shaft turns with the rotor; the shaft runs in two bearings
    held by a fixed tube in the stator hub, and the stator mount behind (under End
    caps) bolts the stator to the frame. The explode, part toggles and phase links
    work as before. Published reference motors still extrude their cross-section.
  • Phase wiring as it is wound. In both layouts the 3D view now draws each
    phase as one continuous wire: every coil has its own start and finish lead, and
    each finish crosses behind the stack to the next coil's start, a short hop
    between neighbouring teeth, from the drive lead to the star point.
  • Sector view for thin-ring motors. An outrunner whose active ring is a thin
    band (radial thickness up to half its outer radius) opens zoomed on the top of
    the ring in Design and in the solved field, not on the empty hub. ‹ ›, or
    the arrow keys over the view, turn the motor under the view with a short
    animation, so every sector reads the same way up with its labels level. A dial
    shows where on the ring you are and turns there when clicked; Sector and
    Fit switch between the ring and the whole motor.
  • Slower preview and field playback. The Design preview's speed and the
    solved-field playback in Solve and Results go down to 0.1 RPM, in tenths below
    1 RPM, so the phases, the tooth poles and the field can be followed slowly. The
    phase scope's frequency and rev/s keep two figures at these speeds.
  • Up to 64 poles. The pole limit rises from 32 to 64 for both layouts, so
    36-slot / 40-pole robot-joint and drone outrunners and 46–48-pole hub motors
    can be modelled. Slots were already allowed up to 96.
  • Smaller saved runs. A saved run keeps each field frame as float32 arrays
    in an xz stream (.f32.xz), a quarter to a third of the gzipped JSON, linked
    from the solve cache instead of copied. Its playback images stay out of the
    run: they wait in the solve cache and are drawn again from the run's frames
    when the cache has dropped them. A run of the 8-pole / 12-slot example drops
    from about 242 MB to about 61 MB, its frames and result
    (public issue 212).
    The solve still reads its physics from the cache's full-precision JSON, so
    results are unchanged, and runs saved earlier still open.
  • Open an earlier run's results. Previous runs has Open results for
    each completed run: its stored result opens in Solve and Results, field
    playback included, as stored evidence for those inputs.
  • Older runs give up field playback. Each design keeps field playback for its
    newest 5 runs (COILEM_FIELD_PLAYBACK_KEEP_RUNS); older runs keep their
    results, report and design, and Manage previous runs marks them. A full
    workspace removes the oldest runs' playback before it refuses a solve.
  • Experimental, with first FEMM agreement. Every outer-rotor design still
    reports experimental. Phase F, proposed as
    protocol 1.8.0, adds 10 outer-rotor
    cases, from an 18 mm micro drone motor to a 100 mm hub-motor class, graded
    with Phase A's gates. Against a FEMM 4.2 collection run on Windows
    (request), all 10 cases pass (60/60
    gates): the worst mean-torque error is 0.86% and the worst Back-EMF
    fundamental and peak errors are 0.31% and 0.36%. Qualifying outer rotors
    needs the same comparison on macOS as well.
  • Small readings plot to scale. Result charts no longer squeeze a
    waveform smaller than one unit into the top of the plot. Small readings show
    in mN·m or mV, axis labels use round steps, and nothing reads −0.00.
  • Diagnostics. Solver convergence moves to a Diagnostics section at the end
    of Results. It leads with a plain verdict and four facts, charts the share
    of the iteration limit each rotor position used, and lists only the angles
    that need a look, with both sweeps side by side. Solver settings stay under
    Technical details; every position's record stays in the CSV.
  • Limits. Outer rotors are SPM only, and two-layer windings must be tooth
    coils. Elmer, the fixed-mesh
    lane, the dimension overlay and the solved view's air-gap ring are not
    available for outer rotors. A design saved with an outer rotor opens as an
    inner rotor in coilEM 0.5.1 and earlier.
  • Inner-rotor results are unchanged. The full two-platform remeasurement
    (A–D and the Prius collection) matches 0.5.1: macOS values are identical
    and Windows values agree within 3×10⁻⁸ relative, with every supported case
    passing 336/336 gates on each platform. The reviewed protocol 1.6 FEMM
    references are reused after owner review, supported by a fresh FEMM
    collection of all 46 cases
    (decisions).

coilEM 0.5.1 Developer Preview

Choose a tag to compare

@github-actions github-actions released this 06 Nov 21:22
5a3e80a

coilEM 0.5.1 Developer Preview

Released November 6, 2026. coilEM 0.5.1 bundles Magneto2D 0.4.0.

Changes in 0.5.1

  • Guided Analysis choices and standalone no-current analyses in Solve. Torque-speed maps are opt-in, and partial map results survive cancellation.
  • The app header shows the running version. Results and exports show recorded solver convergence. Performance PDFs use three decimal places.
  • Cogging diagnostics verify source identity and waveform summaries.
  • Qualification automation binds evidence to immutable candidate references and preserves failed attempts during verified collection recovery.
  • The performance CSV header is corrected to section,field,unit,value,sample_index. Version 0.5.0 labelled the third and fourth columns value,unit, while the data contained unit then value. Data order, precision and the coilem.performance_report.v1 identifier are unchanged. Remove any header-swap workaround for new exports; retain it when reading original 0.5.0 files.

Install or upgrade

Install with uv, then launch the app:

uv tool install coilem
coilem

To upgrade an existing installation:

uv tool upgrade coilem

The wheels include the UI and Magneto2D solver. Supported platforms are Windows x64, macOS Apple silicon and Intel, and Linux x86_64, with Python 3.11-3.15. See the installation guide for OS requirements and required Linux libraries.

Validation

  • The release workflow passed wheel builds, installed-package acceptance and public PyPI install checks for all four platforms. The Windows PyPI wheel also matches the workflow artifact by SHA-256.
  • An additional fresh Windows/Python 3.12 install passed all 24 acceptance checks. The packaged A/B/C/D quick benchmark passed all four cases and matched the published Windows record in 5 minutes 42 seconds.
  • Registered Windows and macOS A-D evidence each records 46 PASS and 336/336 gates, plus one planned unsupported legacy ORNL Prius. Each complete Prius collection has 17 jobs, 568 fields and all ten software checks passing.
  • An independent overnight run completed all 46 fresh FEMM A-D references; every waveform exactly matches the reviewed reference. The Windows evidence packet preserves outcomes, waveforms, retry history and hashes.

The existing field measurements retain their original source identity, a4f9f4dccf2ba3aad530e7bd1604ece8eeaca86f. All 64 guarded physics files match the release. The release qualification gate passes for registered A-D parity and Prius software checks. The release plan records the freeze and accepted review decisions.

Experimental scope and review decisions

Cogging remains experimental. Proposed Phase E is unregistered, its fresh references remain under review, and its selected refined-reference comparison retains two disclosed YELLOW cases. No fixture, gate, numerical floor or reference default was changed to pass this release.

The owner approved continued use of the unchanged reviewed FEMM references and accepted the single near-zero macOS Prius 180-degree observation change from 0.026539 to 0.030181 Nm. Original values and limits are preserved in the review decisions.

Torque-speed and efficiency maps, V-shape IPM and other outputs outside their recorded qualification scopes remain experimental. Results are 2D software estimates; no additional hardware or performance qualification is claimed. See Validation for the qualified scopes and remaining limits.

Release tag: v0.5.1, commit 5a3e80a0a91c715ad6268cfb7caedde3e8ffa427.

coilEM 0.5.0 Developer Preview

Choose a tag to compare

@github-actions github-actions released this 03 Nov 16:22
a25aa4b

coilEM 0.5.0 Developer Preview

Released November 3, 2026 from validated main a25aa4bcc00828f19997747790f5df248d938d80.
coilEM 0.5.0 is the performance release
(issue 143): it answers
"does this motor meet my spec across its operating range?" with torque–speed,
losses and efficiency. It bundles Magneto2D 0.4.0.

The release is measured at clean candidate
88aae101fd487795e7fe5300737679f4133790fd on Windows and macOS under
benchmark protocol 1.6.0, and the
release qualification gate
passes; all 63 guarded physics sources are unchanged from that candidate.
Every new number either passes a reference gate or is labelled experimental
with its reason. The release plan has the
full detail and the evidence index every report.

Torque–speed, efficiency and d/q

  • Results has a Torque–speed tab. It solves a flux-linkage map over current
    magnitude and angle (0° to 90°): 5 × 7 points on Preview, 7 × 10 on Standard.
    The map shows its progress, can be cancelled, resumes from its finished
    points and is reused for a lower peak current.
  • From the map it draws peak and continuous torque–speed and power–speed
    curves
    for the entered DC bus, currents and top speed, each sample labelled
    MTPA, field weakening or MTPV, with the solved point marked.
  • An efficiency map over the torque–speed plane, under MTPA or least-loss
    control, and apparent Ld and Lq against current with the MTPA trajectory.
  • A d/q card in Results gives Ld, Lq, the saliency and the characteristic
    current, then Torque–λdq agreement: the solved torque against
    1.5·P·(λd·iq − λq·id), which includes reluctance torque.

Winding, losses and magnet temperature

  • Design takes a wire, strands in hand, an end-turn extension and a winding
    temperature, and shows the phase resistance, mean turn length and slot fill.
    Without a wire, one is derived to fill 45% of the slot, and the app says so.
  • A Losses card gives copper loss, stator iron loss (hysteresis and eddy
    current, teeth and yoke) and efficiency at the solved point, with a map of
    where the loss is. Iron loss is available for M350-50A, and for M400-50A in
    the pinned Pyleecan Prius. Solve takes a constant mechanical loss.
  • Solve takes a magnet temperature: Br and HcJ are derated linearly from
    20 °C with the grade's cited coefficients for N35, N42, N48, N52 and N48SH.
    Above a grade's rating the run carries a warning.
  • The Pyleecan Prius gains an iron loss and a copper loss from its published
    conductor: 612 W iron, 6.72 kW copper and 90.9% efficiency at its loaded
    point, with torque unchanged at 353.95 N·m.

Exports and smaller changes

  • The Torque–speed tab downloads a performance PDF and CSV, an id/iq table and
    the map points. The run PDF and CSV add the d/q record, losses, efficiency,
    winding and magnet temperature.
  • Every new output carries its status and reason in the UI, the PDFs and the
    CSVs.
  • Kt is labelled per peak or per rms ampere everywhere
    (#153), and the Pyleecan
    Prius's tooth and yoke widths display rounded
    (#154).
  • The nonlinear stopping test now measures the actual permeability mismatch
    (#11), and each result
    records its convergence per position
    (Nonlinear convergence). Showing it in
    Results (#12) is planned for 0.5.1.

What is qualified

Output Status
Torque and back EMF of the tested combinations Qualified, as in 0.4.0, against the reviewed protocol 1.6.0 references
Phase resistance and copper loss, with a wire Qualified by the hand-calculation gate
Loaded λd and λq Qualified for a qualified single-layer concentrated SPM or flat-buried IPM design under sinusoidal current at γ 0°–60°
Magnet temperature derating Qualified for a qualified design from 20 °C to 100 °C
Ld, Lq, saliency, characteristic current Experimental: the d/q gates do not bound them tightly
Flux-linkage map, torque–speed, efficiency map, iron loss, efficiency Experimental

The d/q and temperature gates measured up to twice their fixtures' current, at
the derated Br; the grade coefficients are catalogue values. The owner set
these scopes on November 3, 2026 (decisions).
Validation gives each output's
claim boundary.

Benchmark evidence

  • A/B/C/D, protocol 1.6.0: 52 supported jobs on each platform. Windows and
    macOS each record 46 PASS, the planned unsupported legacy ORNL Prius and
    336/336 gates (Windows,
    macOS).
    The two platform records match each other within 0.36 of their tolerances.
  • References: 46 FEMM 4.2 records; the 29 legacy cases reproduce the
    0.4.0 references exactly. The owner accepted the reviewed bundle on
    November 3, 2026.
  • Pyleecan Prius: the exact-candidate Windows collection passes all 10
    software checks across 17 jobs and 568 field reports
    (report).

Two fixes change numbers that 0.4.0 qualified: the slot current now comes from
each coil side's meshed area, and the nonlinear stopping test is corrected.
On the 24 loaded cases both releases measured:

Group Cases Mean torque error vs FEMM Worst torque error Mean back-EMF error
A, SPM 8 0.27% → 0.33% 0.48% → 0.63% 0.07% → 0.08%
B, flat IPM 6 0.34% → 0.31% 0.64% → 0.66% 0.33% → 0.30%
B, V-shape IPM 6 4.55% → 5.13% 5.90% → 7.05% 2.39% → 6.50%
C, distributed 4 2.67% → 2.87% 4.90% → 5.20% 0.18% → 0.23%

These are the macOS figures; Windows differs by at most 0.04 points.

Installation and compatibility

The published package installs with:

uv tool install coilem
coilem

Use uv tool upgrade coilem to upgrade an existing installation. To select
this release explicitly, use uv tool install --force coilem==0.5.0. See Install for
platform requirements and source setup.

Wheels bundle the UI and Magneto2D, with Python 3.11–3.15 support on Windows
x64, macOS Apple silicon/Intel and Linux x86_64. The launcher normally serves
at http://127.0.0.1:2645; saved motor runs stay in the OS user-data folder.
New .coilem and existing .openem design files are supported, and new saves
record application version 0.5.0.

coilem benchmark now runs protocol 1.6.0: about 6 minutes with --quick,
about 2 hours in full.

Release verification

  • Production wheels: the tag run
    built the four wheels and passed installed-package acceptance on Windows x64,
    macOS Apple silicon and Intel, and Linux x86_64 with Python 3.11–3.15, and in a
    bare Ubuntu 22.04 container. After the PyPI upload, the same run installed
    coilem==0.5.0 from PyPI and passed acceptance on all four targets.
  • TestPyPI rehearsal: 0.5.0.dev416519445751 from the same commit
    (run) installed
    from TestPyPI and passed acceptance on all four targets. A local macOS Apple
    silicon install of it passed all 24 acceptance checks on Python 3.12 and 3.13.

Planned for 0.5.1

  • Show nonlinear convergence in Results, PDF and CSV (#12).
  • Cogging torque, with a Results view and FEMM benchmark gates (#185).
  • The separate loss and efficiency benchmark; until it records a reference,
    iron loss and efficiency stay experimental.
  • A recorded Standard-map run time on macOS and Windows (#139),
    and a recorded Windows check of the Torque–speed view (#142).

Qualification and remaining limits

  • Qualification is agreement with FEMM on the measured fixtures, with M350-50A
    steel and Precise meshes; it is a software comparison, not a hardware
    certification. Motor results are 2D estimates.
  • V-shape IPM stays experimental although all six fixtures pass: its mean
    fundamental back-EMF error grew from 2.4% in 0.4.0 to 6.5%, and the
    refined-reference control does not establish spatial convergence.
  • Losses not modelled: magnet and rotor eddy-current loss, AC copper loss
    and inverter loss. Iron loss comes from guaranteed grade limits and covers
    the stator only. Mechanical loss is one constant at every speed.
  • Torque–speed assumes sinusoidal steady-state current without inverter
    drops, dead time, PWM ripple or overmodulation. The continuous curve is a
    current limit, not a thermal rating; winding and magnet temperatures are
    inputs, and irreversible demagnetisation is not modelled.
  • Hardware correlation with the ORNL Prius and Honda Accord is pla...
Read more

coilEM 0.4.0 Developer Preview

Choose a tag to compare

@coilemdev coilemdev released this 19 Oct 18:40
2ede4e8

coilEM 0.4.0 Developer Preview

Released October 19, 2026 from validated main 2ede4e802f30af45b57e3cc2bb0d9063e544a3bf.
coilEM 0.4.0 bundles Magneto2D 0.3.3. The four production wheels passed the
platform/Python installation matrix, fresh PyPI installs and Windows app QA.
The numerical reports retain their original measured source identities;
all 53 registered physics sources are unchanged in this release.
See the release plan
and the production QA receipt attached below.

Motor model and solve changes

  • Flux linkage credits the full slot-side turns. Fractional-slot concentrated
    windings use a coil on each tooth, with the correct two-layer slot map and
    parallel-path current. Sinusoidal current angle is measured from phase A's
    own winding axis; ideal six-step uses the corresponding public sector table.
    These corrections change affected results from 0.3.x. Recheck old comparisons
    against the current winding model rather than expecting identical values.
  • Design exposes the supported winding layers and parallel paths and explains
    invalid combinations. Distributed two-layer slots follow the physical
    geometry in both meshing and visualization.
  • Precise is the qualified mesh-build default. Fast is a separate experimental
    mesh-build control, independent of the Preview/Standard/High accuracy solve
    plans; its lower construction cost does not establish numerical accuracy.
  • The motor-constants panel explains current and voltage conventions. Results
    present Kt and Ke in datasheet units with SI values available, alongside the
    stored operating point and model assumptions.

Exact Pyleecan Prius examples

Examples → Benchmarks contains Pyleecan Prius 8p48s · BEMF and
Pyleecan Prius 8p48s · Loaded torque. They load the pinned analytic geometry,
explicit winding, magnet directions and embedded M400-50A curve:

Case Reference operating point
Tutorial BEMF 1000 rpm, 20°C magnets, zero phase current
Loaded torque 2000 rpm, 60°C magnets, 250 A peak, Pyleecan d-axis Phi0 = 140°

The model identity, case ID, temperature and current conventions survive
save/reopen and saved-run replay. The model geometry, winding and material
are fixed; operating-point and accuracy experiments retain their actual
requests. The 2D and 3D previews use the same analytic contours, including holes.
The 3D preview is an extrusion of the 2D model, not a 3D field solve.

The conversion notice
records source attribution and modifications. Attribution travels with saved
reference designs. There is no affiliation with or endorsement by EOMYS,
the Pyleecan project, or Toyota. Software-model reproduction does not establish
identity with the original paper or measured hardware accuracy.

Layout, preview and results

  • Layout shows the winding as a ring with coil-side direction markers and end
    turns. Slot positions come from the actual preview polygons, including the
    reflected Prius clockwise numbering. Long parallel branches wrap within the
    panel, and the solver explanation opens without covering the wiring.
  • Phases shows a one-second A/B/C current scope connected to the motor. Generic
    sinusoidal, six-step and Pyleecan d-axis conventions follow the selected
    solve. Zero-current examples show flat traces and no energized tooth tint.
  • Tooth poles is an independent 2D toggle, and rotor magnets carry readable N/S
    labels. Wheel zoom uses the same motor origin as the shifted Phases drawing.
  • Design health and Solve setup collapse to leave more room for the motor.
    Completed results lead with key values and a three-phase back-EMF sparkline;
    the detailed run settings remain available.
  • The field view uses a fixed 0–2.0 T flux-density scale, supports combined
    stator/PM field lines and axes, and links field position to result curves.
    These displays do not extend the numerical qualification scope.
  • Stored field images use lossless WebP layers, shared PM mesh data is stored
    once, and replay archives are generated on download. Deleting a run also
    removes its raw solver cache. Existing saved designs and runs remain readable.
  • Release hardening improves process interruption and native Gmsh handling.
    Minimal Linux installations get an actionable missing-library diagnostic.

Retained benchmark evidence

The v0.4.0 evidence report links the full PDFs,
HTML, JSON/CSV, fixtures, reference identities and reproduction commands.

Collection Measured source Retained outcome
Windows native A/B/C/D, Precise 5b6cb61 35 supported jobs; 28 PASS, 1 YELLOW, one planned unsupported legacy Prius row; every gate and value matches the preceding Windows report
Fresh FEMM 4.2 repeat 0417736 29/29 physical payloads and extraction audits exactly match the retained reference; 1h49m05s
Pyleecan Prius software benchmark d993d76 17 jobs, 568 field reports, 10 original software checks pass; complete thirteen-angle curve and separate angular/Fine controls

Tutorial line RMS is 107.513838 V versus 107.558193 V in the retained software
reference (−0.0412%). Loaded mean torque is 353.950530 Nm versus 354.953115 Nm
in the matched FEMM control (−0.2825%). The largest mean difference across the
thirteen tested angles is 0.6282% of FEMM peak. The full report preserves the
upstream discrepancies and limits of the refinement controls.

The historical Honda Accord correlation
uses the blind N35 assumption and simplified rotor, with no pass/fail verdict.
Its existing results are not a new 0.4.0 hardware qualification. Separate Prius
hardware correlation (#69/#82) is deferred to v0.5.0.

Known reporting limitations

  • Torque–EMF consistency for IPM operating points: The loaded Pyleecan Prius example can show 118.8% · CHECK. The current row compares measured torque with a no-load, magnet-only prediction. Current angle, reluctance torque and loaded-flux changes can move the ratio away from 100%; the percentage is not motor efficiency or a direct measure of solver error. Kt is the effective torque/current ratio at the displayed operating point. The loaded-flux torque cross-check and convention-aware presentation are tracked in #113 for v0.5.0.
  • Pyleecan Prius tooth/yoke flux summaries: Peak tooth B = 0.00 T is unavailable data, not a measured zero field. The imported model retains the complete stator steel as one region tagged as yoke, with no separate tooth tags. The displayed Peak yoke B therefore covers the whole imported stator steel rather than an isolated return-yoke subset. The teeth are present in the solved geometry, but these two summary rows do not provide a separate tooth/yoke saturation assessment. Separate reporting will be addressed in a follow-up.
  • Kt current convention in exports: Results shows Kt per rms ampere (for the example SPM 8p/12s Standard run, 0.356 N·m/A rms). The PDF report, the CSV and Compare runs show the same stored constant per peak ampere (0.251), labelled only N·m/A. Multiply the exported value by √2 to compare it with Results. Tracked in #153 for v0.5.0.
  • Unrounded Pyleecan Prius yoke tooth width: The Advanced Geometry summary and the read-only Yoke Tooth Width field show the pinned value at full precision (7.086189721925985 mm). This is display only; the pinned geometry and its solves are unaffected. Tracked in #154 for v0.5.0.

Installation and compatibility

The published package installs with:

uv tool install coilem
coilem

Use uv tool upgrade coilem to upgrade an existing installation.
To select this release explicitly, use uv tool install --force coilem==0.4.0.
See Install for platform requirements and source setup.

Wheels bundle the UI and Magneto2D, with Python 3.11–3.15 support on Windows
x64, macOS Apple silicon/Intel and Linux x86_64. The production release passed installed-package
acceptance on all four wheel targets and Python 3.11 through 3.15.
The launcher normally serves at http://127.0.0.1:2645; browser-local state
stays with its original origin/port, and saved motor runs stay in the OS
user-data folder. New .coilem and existing .openem design files are supported.
New saves record application version 0.4.0; immutable historical results and
bundled example creation versions retain their original identities.

Qualification and remaining limits

  • Qualification covers the tested SPM and flat-buried IPM combinations in
    Validation, against matched FEMM
    gates with M350-50A steel and Precise meshes. It is a fixture-based software
    comparison, not a hardware certification.
  • V-shape IPM remains experimental. Its baseline peak back-EMF discrepancy is
    14.778701% (YELLOW). Fast mesh, the fixed Prius references and unmeasured
    combinations remain experimental. The legacy ORNL Prius matrix row remains
    unsupported, distinct from the two exact Pyleecan examples.
  • The bundled historical macOS record does not match the current physics-source
    guard. A separate full macOS collection
    at the original measured candidate 4b88c4e matches Windows for all 30 rows
    under the published platform tolerances. It retains its own measured identity.
    Linux and Python 3.15 full numerical parity are no...
Read more

coilEM 0.3.1 Developer Preview

Choose a tag to compare

@github-actions github-actions released this 13 Oct 23:43
5f0cca5

coilEM 0.3.1 Developer Preview

coilEM 0.3.1 is a patch release of the 0.3 developer preview that supports
Python 3.15, so the one-command install works on computers without an older
Python. It is a developer preview of the local motor-design application and
bundles Magneto2D 0.3.3 as its field solver; the application and solver use
separate version numbers.

Install

uv tool install coilem
coilem

uvx coilem runs it once without installing. The README
lists the supported platforms and how to install uv.

  • Each platform's wheel carries the Magneto2D executable and the built UI, so
    installing needs neither Rust nor Node.js. Wheels cover macOS 12 or newer on
    Apple silicon, macOS 10.15 or newer on Intel, Linux x86_64 with glibc 2.27
    or newer, and Windows x64, for Python 3.11 to 3.15.
  • The coilem launcher serves the UI and API together at
    http://127.0.0.1:2645 by default. Halbach autosaves and tutorial progress
    saved in the browser under the development origin on port 5173 do not
    appear at the packaged origin. Browser-saved state also stays with its
    original port when the launcher falls back to another port. Saved motor
    runs remain in the user-data folder.
  • Each wheel records its build identity: the application and Magneto2D
    versions, the commit, and the binary and UI hashes. /health, saved-run
    provenance and the PDF report show it.

Changes in 0.3.1

  • Python 3.15 is supported. Without Python 3.11 to 3.14 on the computer, uv
    chooses Python 3.15, and coilEM 0.3.0's pinned numpy, pydantic-core and
    rpds-py have no wheels for it, so that install failed while building them
    (#72). On Python 3.15,
    coilEM 0.3.1 installs numpy 2.5.4, pydantic 2.14.1 with pydantic-core
    2.50.1, rpds-py 2026.9.1 and typing-inspection 0.4.4. NumPy 2.5 has no
    Python 3.11 wheels, so Python 3.11 to 3.14 keep the 0.3.0 versions.
  • The install commands no longer need --python 3.14.
  • The application and solver are unchanged from 0.3.0. On Python 3.11 to 3.14,
    0.3.1 installs the same dependencies as 0.3.0, so benchmark reports v1.7 and
    v1.8 of 0.3.0 apply to it.
  • CI runs the installed-wheel acceptance test with Python 3.15 on every
    platform and the full test suite with Python 3.15 on Linux, and audits each
    supported Python's dependency pins.

Changes since the 0.2.0 source preview

  • coilEM installs from PyPI, as above. Building from source is unchanged for
    contributors.
  • The app shows each design's benchmark qualification status, with its
    reason; see Qualification below.
  • An invalid design reports the specific reason and the field it concerns,
    instead of "Motor configuration failed schema validation."
  • Bundled examples and design files that leave out the tooth-shoe settings now
    load without tooth shoes, as the backend reads them. They used to inherit
    the starter motor's shoes: the SPM 24p example then failed geometry
    validation, and the two IPM examples solved with narrower slot mouths than
    their files define. Saved runs keep the geometry they were solved with.
  • The Solve page estimates the whole run as a range, such as "about 2–4 min",
    from the prepared mesh and the meshes and positions the solver will run. It
    includes meshing and saving, and replaces a flat cost per rotor position
    that missed IPM and larger runs by up to 2.4 times.
  • Clicking Examples in the design menu keeps its submenu open.
  • Cached meshes are now keyed by the stator tooth-shoe settings. Before, a
    design that differed from the previous one only in its tooth shoe could
    reuse that design's cached meshes within one session and solve on the wrong
    geometry. Mesh provenance now records the tooth-shoe settings (mesh
    signature v4), so mesh-evidence hashes differ from runs saved before this
    change; numerical results do not.
  • Solves are faster on every platform, and Windows now meshes, extracts
    field frames and renders playback in parallel worker processes. The
    sections below cover these, the wall-clock solver time, the field position
    slider, cancelling a stator-only field and faster mesh views.
  • Fixes from testing this release: Preview is faster than Standard on every
    example again, the field Position slider follows a drag and stays inside a
    Preview run's window, plots show their values on click, the saved-run PDF
    lists only the design's own settings, and Ctrl+C stops a running solve
    promptly. The sections below describe them.

Faster solves

Magneto2D spent about 2 s per rotor position finding the airgap radii it
samples torque and fields on. It now indexes the airgap triangles, so a
position's solver process takes about a quarter of the time with identical
results. A Standard run of the IPM 14p example took 146 s instead of 236 s,
and the SPM 8p/12s example 106 s instead of 140 s.

The work after the field sweep is also faster. Field-line frames skip
triangles a contour level cannot cross and are written with the fast JSON
encoder and light gzip. Playback images render in worker processes. The
run package stores already-compressed files instead of deflating them again,
and the steel flux-density summary is gathered while frames are built
instead of re-reading every frame. With both changes the IPM 14p run took
98 s and the SPM 8p/12s run 61 s. Frame and image files are about 10%
larger. Results are unchanged; the steel RMS flux densities can differ in
the 14th significant digit because their sums are added in a different order.

The bookkeeping around each rotor position's solve no longer queues behind
Python's global lock. Meshes are written for the solver as compact JSON,
reports are saved without being re-serialized, the no-load copy of each mesh
shares its arrays, copies use a faster method, and mesh-evidence hashes skip
a per-value walk and reuse the mesh's serialized text. Hashes and results are
unchanged. The IPM 14p run then took 76 s and the SPM 8p/12s run 48 s.

Windows now generates independent Gmsh meshes in worker processes, with up
to eight workers limited by the host CPU count. Playback sweeps with at least
eight frames also use up to eight worker processes to render and encode the
same image layers. Field-frame extraction also uses up to eight processes,
limited by CPU, solve-worker and frame counts. All pools use Windows spawning.
Frames and steel RMS contributions retain their angle order. Cancelling a solve
skips queued meshes and frames, lets running work finish, and joins workers
before releasing the solve lane.

Preview used to sample its full-cycle Back-EMF at its 3.75° loaded step: 96
no-load positions and up to 96 meshes, twice Standard's 48, so the IPM 14p
example took longer in Preview than in Standard. Preview now samples Back-EMF
on Standard's 48-position grid and keeps its 3.75° loaded window. On an
Apple-silicon Mac the IPM 14p Preview took 43.5 s instead of 71.5 s (Standard
79.5 s), and every example is faster in Preview than in Standard. Loaded
torque, ripple and field playback are unchanged; Back-EMF values move by about
0.2% with the coarser sampling.

Installed applications can disable mesh, field-frame and playback pools with their
individual COILEM_MAGNETO2D_ALLOW_*_PROCESS_POOL switches, or disable all Python
pools with COILEM_MAGNETO2D_ALLOW_PY_PROCESS_POOL=0 before restarting. These
disable-only compatibility controls keep numerical settings isolated and are
not forwarded to Magneto2D.

Solver time

The Solver time on the Results page and in the PDF and CSV reports is now the
wall-clock time of meshing, solving and building the result. It used to add up
every rotor position's solver time, although positions run in parallel, so a
4-minute IPM 14p run reported over 20 minutes. Saved results keep that sum as
solver CPU time. Runs saved before this change still show the summed value.

Field solution position slider

Moving the Position slider on a solved field no longer freezes the page for
seconds at each position. The slider shows each position's playback image
straight away and loads the exact solver frame once it stops. Preparing that
frame now takes about 0.15 s, down from about 2 s for each of the Resultant
and PM-only fields. Fast scrubbing also no longer crashes the viewer with a
"detached" image error.

Playback no longer stalls at higher speeds. Above about 30 new frames per
second, playback shows every second or third solved position, and a loop of
up to 16 frames stays in memory after its first pass.

On a Preview run the slider now covers just the solved 45° or 60° window, and
playback loops within it. Before, the slider ran over a full 0–360° cycle, so
moving it jumped the motor back to the start after a few positions. Dragging
at normal speed no longer stutters: while you drag, the viewer loads the
newest position first, shows each frame as it arrives, preloads neighbours in
the drag direction, and skips the mesh layer unless it is shown.

Read values from plots

Click or tap a point on the torque, Back-EMF and six-step plots on the
Results and Compare pages to read its angle and values. The arrow keys step
between solved positions, Home and End jump to the ends, and Escape or a click
outside the plot clears the reading. Compare also shows Run B − Run A at that
angle. Angle axes are labelled every 45° over a full cycle, or every 7.5° over
a Preview window, in the app and in the PDF.

Cancel a stator-only field

A running Stator only field can now be canceled from the run button,
which reads Cancel stator field while it runs, or from the field view's
progress overlay. The resultant field stays available. Before, the run held
the solver until it finished, blocking any other solve.

Mes...

Read more