ModelingToolkitStandardLibrary.jl icon indicating copy to clipboard operation
ModelingToolkitStandardLibrary.jl copied to clipboard

A standard library of components to model the world and beyond

Results 75 ModelingToolkitStandardLibrary.jl issues
Sort by recently updated
recently updated
newest added

This PR is so far completely non-functional, and serves to guide the development of the discrete-time functionality in MTK Several pieces of - https://github.com/SciML/ModelingToolkit.jl/issues/1939 are required to make this functional

Is it already possible to model ideal and non-ideal analog-digital-converters (ADC) or DACs given the parts in the standard library? Thanks :)

Inspired by https://github.com/dzimmer/PlanarMechanics I'll add all the basic components from the PlanarMechanics Modelica library. Are you OK with adding it to the standard library?

## Checklist - [x] Appropriate tests were added - [x] Any code changes were done in a way that does not break public API - [ ] All documentation related...

As of MTKv9, parameter values are required to match their `symtype`. `SampledData.buffer` is updated to reflect this (in #271) but since it does not have a fixed size, it is...

**Describe the bug 🐞** The Running Models with Discrete Data [documentation page](https://github.com/SciML/ModelingToolkitStandardLibrary.jl/blob/main/docs/src/tutorials/input_component.md) throws errors, and I'm not able to modify it to get to the correct output. **Expected behavior** The...

bug

Closes https://github.com/SciML/ModelingToolkitStandardLibrary.jl/issues/207

Working my way through the tutorial, there was a stumbling in the [`TimeVaryingFunction` component](). Is this right? https://github.com/SciML/ModelingToolkitStandardLibrary.jl/blob/2029edb9f99ccc0c94ade6de6d6c7378264816e2/docs/src/tutorials/input_component.md?plain=1#L25 It raises (in Julia 1.10.0) > ERROR: LoadError: UndefKeywordError: keyword argument `name`...

bug

Many components have nice descriptions for parameters and include the corresponding unit information in their comments, e.g. the [`Resistor`](https://github.com/SciML/ModelingToolkitStandardLibrary.jl/blob/59446722f3ab6114e1ce0562d1e469bb3787c361/src/Electrical/Analog/ideal_components.jl#L20-L46) or the [`ConstantPermeance`](https://github.com/SciML/ModelingToolkitStandardLibrary.jl/blob/59446722f3ab6114e1ce0562d1e469bb3787c361/src/Magnetic/FluxTubes/basic.jl#L68-L76). However, even though this appears to be supported...