General Tools
xn--lda.se
Provides tools for bond graph modeling, simulation, validation, and causality analysis.
ENDPOINT 1
https://xn--lda.se/api/mcp
Known tools 24
simulateRun a BondGraph (BGIF v1) model and return time-series results as JSON.
validate_bgifParse a BGIF document and report whether it is valid.
analyze_causalityRun causality analysis on a BGIF model: per-bond causality, state variables, algebraic loops, derivative causality, DAE index estimate, and structural well-posedness.
list_examplesList the built-in example bond graph models.
get_exampleReturn the full BGIF document for a named built-in example.
render_svgRender a BGIF model as an SVG image.
list_librariesList the component libraries shipped with BondGraph Studio.
get_libraryReturn the full BGLIB v1 document for a shipped library.
validate_libraryParse a BGLIB v1 document or legacy BGIF library and report whether it is valid.
fetch_libraryFetch a BGLIB v1 or legacy BGIF document from an HTTP(S) URL.
build_libraryWrap one or more BGIF subsystem components into a BGLIB v1 document.
add_elementAdd a primitive element (R/C/I/Se/Sf/TF/GY/0/1) to a BGIF model and return the updated document.
remove_elementRemove an element by id from a BGIF model.
set_parameterSet a parameter on an element in a BGIF model (e.g.
rename_elementRename an element label in a BGIF model.
connectAdd a bond between two element ports in a BGIF model.
disconnectRemove a bond by id from a BGIF model.
apply_editsApply a batch of model edits (add_element, remove_element, set_parameter, rename, connect, disconnect) transactionally.
parameter_sweepRun a simulation across a Cartesian product of parameter values.
fit_parametersCalibrate model parameters to time-series data via Nelder-Mead.
linearizeLinearize the model around an operating point and return state-space matrices.
analyze_frequencyCompute poles, eigenvalues, stability, and (optionally) Bode magnitude/phase for the linearization.
export_equationsEmit symbolic equations from a BGIF model.
check_unitsDimensional / domain type-check for a BGIF model.