Repository navigation
No model versions change.
Added
- MCP endpoint.
phasesweep-serverserves MCP tools at
/mcpover its job manager and result store; the dashboard's Agent tab
shows each request live. - Result headline and caveats.
ModelInfogains
headline,units, andlimits;phasesweep.trustderives
info/warncaveats from provenance outputs the models already emit
(e.g.torque_speedenvelope_source = "analytical"→ constant-L
envelope warning). MCPget_resultleads with headline and caveats and
takesfields=; terminal jobs fromget_job/submit_joblist
per-result headlines and caveat codes; the Agent tab logs how each
agent job ended. Read-time only: stored records gain them without a
recompute. - Sweep planning and reads for agents.
submit_job
takesdry_run=True(sub-task and cached counts, wall-time estimate
from stored run times); the server caps sweep grids
(--max-sweep-points, default 500); thesweep_tableMCP tool reads a
sweep, running or finished, as swept dimensions × headline metrics.
The Agent tab gains a design-space plot of the agent's designs on two
chosen quantities, joined in exploration order. - Model applicability per motor.
list_models(motor=)
(MCP) andGET /api/models?motor=report for each model whether it
applies to that motor, which required params you must pass, and why
not, from the model's own validation.needs_paramsnow lists required
params only; defaulted ones (femrotation,cogging_torque
cogging_points) move tooptional_params. femresults with linear iron (nonlinear=false) whoseb_iron_max
exceeds 1.8 T carry a warn caveat rather than info: the field
solution there is optimistic.- MCP
get_job(wait_s=)(0–60 s) holds the call until the job finishes,
replacing a polling loop.
Changed
- Server single and validate
femjobs default to nonlinear, as sweeps
do; barefemsubmits get new run IDs (cached linear results keep
theirs). A linear solve of an inset or bridged rotor is a 400 at
submit, andlist_models(motor=)listsnonlinearinmissing_params
for the other FEM models on those rotors. - The release no longer ships the CREATOR PMSM transcriptions
(reference_scalars.json,mtpa_angles.json,torque_rated.json) or
theB_corecalibration record, which fall under the dataset's
CC BY-NC-ND terms; the tests that read them skip when they are absent.